Private Message reply button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Smoothie
    Senior Member
    • Oct 2001
    • 250

    Private Message reply button

    I would like to rename the reply_small.gif button that's located in private messages. Can someone tell me where in postbit/postbit_legacy that part of code is located?
  • Andy Huang
    Senior Member
    • Feb 2004
    • 4602

    #2
    Search for:
    Code:
    			<if condition="$post['replylink']">
    				<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">[COLOR="Blue"]reply_small[/COLOR]<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
    			</if>
    Should be the blue part
    Best Regards,
    Andy Huang

    Comment

    • Smoothie
      Senior Member
      • Oct 2001
      • 250

      #3
      Originally posted by Andy Huang
      Search for:
      Code:
                  <if condition="$post['replylink']">
                      <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">[COLOR=Blue]reply_small[/COLOR]<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
                  </if>
      Should be the blue part
      hey, thanks. If I wanted to change it to just quote.gif would I just eliminate the blue part? What's all that </else> stuff in there?

      Comment

      • Andy Huang
        Senior Member
        • Feb 2004
        • 4602

        #4
        Sorry about the late reply; I was at work all day.

        If you just want the quote, you can replace it with quote. Or you can go crazy and remove the if conditional:
        Code:
        [color=red]<if condition="$post['forwardlink']">reply_small<else />quote</if>[/color]
        Replace the whole thing in red with this:
        Code:
        [color=blue]quote[/color]
        Best Regards,
        Andy Huang

        Comment

        • Smoothie
          Senior Member
          • Oct 2001
          • 250

          #5
          Originally posted by Andy Huang
          Sorry about the late reply; I was at work all day.

          If you just want the quote, you can replace it with quote. Or you can go crazy and remove the if conditional:
          Code:
          [COLOR=red]<if condition="$post['forwardlink']">reply_small<else />quote</if>[/COLOR]
          Replace the whole thing in red with this:
          Code:
          [COLOR=blue]quote[/COLOR]
          I ended up removing small_reply and replacing it with quote as you stated and it works fine. Thanks again.

          BTW, what does that if conditonal do?

          Comment

          • Andy Huang
            Senior Member
            • Feb 2004
            • 4602

            #6
            That conditional checks if forwarding is an option [because that's only used in pm] and it makes use of the reply_small icon as needed (IE: when you're in the PM area).
            Best Regards,
            Andy Huang

            Comment

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