No nested quotes in private messages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Marco
    Senior Member
    • Nov 2000
    • 827
    • 3.8.x

    No nested quotes in private messages

    On our forums, the nested quoting in private messages turned out to be something no one really liked. I have searched this forum for a solution and there have been a few people asking for it, but they were all told it couldn't be done. But actually it can be done, with just a simple template edit!

    In postbit or postibit_legacy (whichever you use), search for the following code:

    HTML Code:
    <if condition="$post['replylink']">
    	<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
    </if>
    Replace with:

    HTML Code:
    <if condition="$post['replylink']">
    		<a href="$post[replylink]<if condition="THIS_SCRIPT == 'private'">&amp;stripquote=1</if>" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
    </if>
    And there you go, no more nested quotes Tested on 3.6.8 and working great.
    Last edited by Marco; Mon 8 Sep '08, 4:37am. Reason: accidentally left (custom) width and height in IMG tag
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...