Princeton
04-22-2006, 10:00 PM
Sometimes, it's the little things in life that makes us happy: :)
Move Posting Rules Near Editor is just a simple mod to display Posting Rules near editor. This mod will add the Posting Rules to all editors including quickreply. Please take a look at the following attachments if you do not understand what I mean.
All you have to do is upload the "product_gtpostrules" XML file via the Plugin System and do the following template edits.
PayPal Donations Accepted (https://www.paypal.com/cgi-bin/webscr?cmd=_ext-enter&redirect_cmd=_xclick&business=paypal%40gtwebhost%2Ecom)
FIND IN SHOWTHREAD:
$messagearea
REPLACE WITH:
$messagearea
<div class="smallfont" align="center"><strong>$vbphrase[posting_rules]</strong>:
<phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[vb_code_is_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase>,
<phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase>
</div>
FIND IN editor_toolbar_on:
<if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if>
</tr>
REPLACE WITH:
<if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if>
</tr>
<tr>
<td class="controlbar" align="center"><div class="smallfont"><strong>$vbphrase[posting_rules]</strong>:
<phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[vb_code_is_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase>,
<phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase>
</div></td>
</tr>
FIND IN editor_toolbar_off:
$newpost[message]</textarea>
REPLACE WITH:
$newpost[message]</textarea>
<div class="smallfont"><strong>$vbphrase[posting_rules]</strong>:
<phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[vb_code_is_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase>,
<phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase>
</div>
FIND IN postbit_quickedit:
$newpost[message]</textarea>
</div>
REPLACE WITH:
$newpost[message]</textarea>
</div>
<div class="smallfont" align="center"><strong>$vbphrase[posting_rules]</strong>:
<phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[vb_code_is_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase>,
<phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase>
</div>
Let me know if I'm missing anything ... thanks.00
Move Posting Rules Near Editor is just a simple mod to display Posting Rules near editor. This mod will add the Posting Rules to all editors including quickreply. Please take a look at the following attachments if you do not understand what I mean.
All you have to do is upload the "product_gtpostrules" XML file via the Plugin System and do the following template edits.
PayPal Donations Accepted (https://www.paypal.com/cgi-bin/webscr?cmd=_ext-enter&redirect_cmd=_xclick&business=paypal%40gtwebhost%2Ecom)
FIND IN SHOWTHREAD:
$messagearea
REPLACE WITH:
$messagearea
<div class="smallfont" align="center"><strong>$vbphrase[posting_rules]</strong>:
<phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[vb_code_is_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase>,
<phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase>
</div>
FIND IN editor_toolbar_on:
<if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if>
</tr>
REPLACE WITH:
<if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if>
</tr>
<tr>
<td class="controlbar" align="center"><div class="smallfont"><strong>$vbphrase[posting_rules]</strong>:
<phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[vb_code_is_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase>,
<phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase>
</div></td>
</tr>
FIND IN editor_toolbar_off:
$newpost[message]</textarea>
REPLACE WITH:
$newpost[message]</textarea>
<div class="smallfont"><strong>$vbphrase[posting_rules]</strong>:
<phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[vb_code_is_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase>,
<phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase>
</div>
FIND IN postbit_quickedit:
$newpost[message]</textarea>
</div>
REPLACE WITH:
$newpost[message]</textarea>
</div>
<div class="smallfont" align="center"><strong>$vbphrase[posting_rules]</strong>:
<phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[vb_code_is_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase>,
<phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase>
</div>
Let me know if I'm missing anything ... thanks.00