Quite possibly, but I've changed my memberinfo template to beyond recognition.
I also have other uses for this sort of code.
Quote:
Originally Posted by WhaLberg
Don't you have "Add x to Your Buddy List" in member profiles? That's a vBulletin default.
|
--------------- Added at 15:28 ---------------
Quote:
Originally Posted by efc9
If you want to do it in the memberinfo template, then you can just use:
Code:
<if condition="$show['addbuddylist']">
that'll show to anyone who can add the person as a buddy.
now for it to show to anyone, you can use:
Code:
<if condition="$bbuserinfo[userid] != $userinfo[userid]">
or
Code:
<if condition="$bbuserinfo[userid] <> $userinfo[userid]">
but that'll also show the add buddy link to users that person has ignored, who will get an error when they try to add to the person to their buddylist.
|
This works perfectly, thanks!