Back to vBulletin 4.x Template Modifications

Tinypic Uploader For New thread, New reply, and Quick reply.
Mod Version: 11:01, by mandingo

vB Version: 4.0.1 Rating: (10 votes - 4.90 average) Installs: 62
Released: 21 Jan 2010 Last Update: Never Downloads: 71
Not Supported Template Edits Code Changes Re-usable Code Translations External Content  

Go here if you want to tweak it/switch to your language:

http://tinypic.com/developer.php
(keep in mind doing so will change the code below,just change it to suit your needs)

For newthread template:

find:
PHP Code:
<vb:if condition="$show['poll']"
put:
HTML Code:
   <div class="blockrow">
         <script type="text/javascript">
tinypic_layout = 'narrow';
tinypic_type = 'both';
tinypic_links = 'forum';
tinypic_language = 'en';
tinypic_search = 'false';
tinypic_autoload = false;
</script>
<script src="http://plugin.tinypic.com/j/plugin.js" type="text/javascript"></script>
<input type="button" value="TinyPic Plugin" onclick="javascript:showTinypicPlugin();"/></div>
above it.

=========================================================================
For newreply template:

find:
PHP Code:
{vb:raw attachmentoption}

    <
vb:if condition="$show['member']"
put:
HTML Code:
   <div class="blockrow">
         <script type="text/javascript">
tinypic_layout = 'narrow';
tinypic_type = 'both';
tinypic_links = 'forum';
tinypic_language = 'en';
tinypic_search = 'false';
tinypic_autoload = false;
</script>
<script src="http://plugin.tinypic.com/j/plugin.js" type="text/javascript"></script>
<input type="button" value="TinyPic Plugin" onclick="javascript:showTinypicPlugin();"/></div>
below it.

===================================================
for showthread_quickreply:

find:
PHP Code:
<input type="hidden" name="wysiwyg" id="{vb:raw editorid}_mode" value="{vb:raw editortype}" /> 
and put:

HTML Code:
<li class="editor_control_group_item"><script type="text/javascript">
tinypic_layout = 'narrow';
tinypic_type = 'both';
tinypic_links = 'forum';
tinypic_language = 'en';
tinypic_search = 'false';
tinypic_autoload = false;
</script>
<script src="http://plugin.tinypic.com/j/plugin.js" type="text/javascript"></script>
<input type="button" value="TinyPic Plugin" onclick="javascript:showTinypicPlugin();"/></li>
Above it.
===========================================================================




I am assuming this would work as a widget too.

Download

No files for download.

Similar Mods

Quick Reply Thread Management: Open/Close & Stick/Unstick in Quick Reply Box vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024