admin
01-03-2010, 11:27 PM
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:
<vb:if condition="$show['poll']"> put:
<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:
{vb:raw attachmentoption}
<vb:if condition="$show['member']"> put:
<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:
<input type="hidden" name="wysiwyg" id="{vb:raw editorid}_mode" value="and put:
<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.
================================================== =========================
http://i47.tinypic.com/30l2cuc.jpg
http://i49.tinypic.com/2pq7uyv.jpg
I am assuming this would work as a widget too.
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:
<vb:if condition="$show['poll']"> put:
<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:
{vb:raw attachmentoption}
<vb:if condition="$show['member']"> put:
<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:
<input type="hidden" name="wysiwyg" id="{vb:raw editorid}_mode" value="and put:
<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.
================================================== =========================
http://i47.tinypic.com/30l2cuc.jpg
http://i49.tinypic.com/2pq7uyv.jpg
I am assuming this would work as a widget too.