![]() |
"Add x user to friends" link in postbit dropdown
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']"> ...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. :D Thanks, Keith |
Hey, your post actually helped me do something by putting an add to friend list link in my postbit. I'm wondering now how to make this visible only if the current user is not friends with the other user's whose postbit info it is.
|
All times are GMT. The time now is 01:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|