The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey guys,
By default vBulletin includes an "Add (username) to Your Contacts" link in the drop-down menu when you click on the username in their post. I would like to add an "Add (username) to Your Friends" link but I can't seem to get the code right. I know it would go in the postbit template below this code: Code:
<if condition="$post['userid'] AND $show['member']"> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr> </if> ...but I can't figure out the variable(s) to use. Hell, I can't figure out the code to use! Any help would be appreciated. I know the Contacts link that is there (add_x_to_contacts_confirm) includes a checkbox to "also add this user to your friends" but I'm trying to create a link that does that directly, eliminating the need to check that box, if that makes sense. ![]() Thanks, Keith |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|