View Full Version : Postbit information question?
oz_girl
01-25-2009, 05:10 AM
You no the options that show as a drop down menu when you click on a persons name, ie; send private message to, view public profile, view all posts by, add to favorites ...
How can you have some of those links added to the post-bit area?
glennybee
01-25-2009, 08:06 AM
Simply put the links in the postbit template or postbit_legacy template where you want them to appear.
View profile
<if condition="$show['profile']"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></if>
Send PM
<if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a>
Send Email
<if condition="$show['emaillink']"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a>
One change I have made to my forum is...where it normally shows the members post count, I have made that clickable to take you to the persons posts.
Search for:
$vbphrase[posts]: $post[posts]
Replace with:
$vbphrase[posts]: <a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow">$post[posts]</a>
Hope this helps! :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.