Announcement

Collapse
No announcement yet.

How do I remove the Quote Button from postbit_legacy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I remove the Quote Button from postbit_legacy

    I see the following code in the postbit_legacy template

    PHP 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> 
    If i remove it, then I remove the Quote button, but I also remove the Reply button in Private messaging.

    So how can I remove the Quote button in a thread and keep the reply button in a PM?


    Thanks in advance!

  • #2
    Well you could just use it like this:

    PHP Code:
    <if condition="$post['replylink']">
        <
    a href="$post[replylink]rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small.gif" alt="$vbphrase[reply_with_quote]border="0" /></a>
    </if> 
    If you are italian send me a pm!

    (Se sei italiano contattami in privato!)

    Comment


    • #3
      Not sure what you code is supposed to do but I tried it in my test template it did nothing.

      What I want to do is remove the Quote button from threads without removing the Reply Small button when in Private messaging.

      Perhaps there is an administrative option that can do this? Although I have searched and been unable to find anything.

      Comment


      • #4
        Sorry posted the wrong code... Just change the code you posted in the very first post with the following one:

        PHP Code:
        <if condition="$post['replylink'] AND $post['forwardlink']">
                        <
        a href="$post[replylink]rel="nofollow"><img src="$stylevar[imgdir_button]/reply_small.gif" alt="$vbphrase[reply_with_quote]border="0" /></a>
                    </if> 
        and you'll get what you've been asking for
        If you are italian send me a pm!

        (Se sei italiano contattami in privato!)

        Comment


        • #5
          Works like a charm, Thank-you very much!

          Comment


          • #6
            Can this be adapted to remove the QUOTE button from only the last post in a thread?

            We would like for them to use the REPLY button only when responding to the last post, yet give them the QUOTE option on previous posts.

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X