Announcement

Collapse
No announcement yet.

how to get the "Profile", "Search", "Edit" buttons and etc back on bot

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

  • how to get the "Profile", "Search", "Edit" buttons and etc back on bot

    Remember how the Profile, Edit, Search, and other similar buttons where on the bottom of each post per user, as buttons in vbulletin 2?

    Well, my question is how can I make vb 3 to display the bottons in that mannor?

    :cool: That which is obvious, needs no introduction. :cool:

  • #2
    I believe such a template modification was released on vbulletintemplates.com
    Let me go search for you.

    [update]
    Can't find it right now :/

    Comment


    • #3
      Look in postbit_legacy for:

      Code:
        	<td class="alt1" align="$stylevar[right]">
        		<!-- controls -->
      and add under it:

      Code:
        			<if condition="$show['profile']">
        <a href="member.php?$session[sessionurl]userid=$post[userid]" target="_blank">$vbphrase[view_public_profile]</a>
        	</if>
        	<if condition="$show['pmlink']">
       <a href="private.php?$session[sessionurl]do=newpm&amp;userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a>
        	</if>
        	<if condition="$show['emaillink']">
       <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a>
        	</if>
        	<if condition="$show['homepage']">
        <a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a>
        	</if>
        	<if condition="$show['search']">
       <a href="search.php?$session[sessionurl]do=finduser&amp;userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a>
        	</if>
        	<if condition="$post['userid']">
       <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a>
      problem here is: There are no more graphics for this in the new package, so you need to do them on your own. Use the $vbphrase[add_x_to_buddy_list] portions in the alt=""-portion of the image-tag when inserting an image. Remember to use them in this way:

      Code:
        <img src="$stylevar[imgdir_button]/XXXX.gif" alt="$vbphrase[add_x_to_buddy_list]" border="0" />
      or else it isn't xml-compatible

      On postbit-template, you need to look for something else:

      Code:
        		<div align="$stylevar[right]">
        			<!-- controls -->
      the rest is the same.

      Comment


      • #4
        Ah, there you go Thank you for your quick help MB

        Comment


        • #5
          I am always glad if I can help out

          Comment


          • #6
            Thanks MB, YOU ARE DA MAN!

            Thank you for the quick reply.

            :cool: That which is obvious, needs no introduction. :cool:

            Comment

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