Announcement

Collapse
No announcement yet.

How can I change these buttons?

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

  • How can I change these buttons?

    How can I swap these out and have them just say "Edit" and "Quote" rather than having the whole box with it?



    Thanks

  • #2
    You mean just have text only links?

    You can do text links like this:
    Admin CP > Styles & Templates > Style Manager
    click on the <<>> thing beside your style

    Open Postbit Templates \ Postbit
    Find:
    Code:
    			<if condition="$post['editlink']">
    				<a href="$post[editlink]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
    			</if>
    			<if condition="$post['forwardlink']">
    				<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
    			</if>
    			<if condition="$post['replylink']">
    				<a href="$post[replylink]"><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 condition="$SHOWQUICKREPLY AND !$show['threadedmode']">
    				<a href="$post[replylink]" onclick="return qr($post[postid]);"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
    			</if>
    Replace with:
    Code:
    			<if condition="$post['editlink']">
    				<a href="$post[editlink]">$vbphrase[edit_delete_message]</a>
    			</if>
    			<if condition="$post['forwardlink']">
    				<a href="$post[forwardlink]">$vbphrase[forward_message]</a>
    			</if>
    			<if condition="$post['replylink']">
    				<a href="$post[replylink]">$vbphrase[reply_with_quote]</a>
    			</if>
    			<if condition="$SHOWQUICKREPLY AND !$show['threadedmode']">
    				<a href="$post[replylink]" onclick="return qr($post[postid]);">$vbphrase[quick_reply_to_this_message]</a>
    			</if>
    Last edited by Andy Huang; Tue 7th Jun '05, 7:54pm.
    Best Regards,
    Andy Huang

    Comment


    • #3
      What's the difference with the code you just posted?

      Comment


      • #4
        Nothing....

        Edit those phrases listed to change the link contents itself.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API - Full / Mobile
        Vote for your favorite feature requests and the bugs you want to see fixed.

        Comment


        • #5
          oops, edited too much.... The first set is suppose to have <img>'s and the second doesnt; but I must've missed the [code] tag when I was editing. Lemme grab the correct code again.

          There we go, edited teh above now. Sorry about that.
          Best Regards,
          Andy Huang

          Comment

          Loading...
          Working...
          X