![]() |
Is he/she is my buddy? (Template conditional)
How to make a conditional if the user viewing my profile is my buddy or not?
Any help is greatly appreciated. |
*bump
OK, I really get stuck with this. So far this is what I have tried. On member.php, I add the following code: PHP Code:
HTML Code:
<if condition="$isbuddy"> |
See if this link helps.
|
Ok, I've figure it out. On member.php, add
PHP Code:
HTML Code:
<if condition="in_array($bbuserinfo['userid'], $mybuddies)"> |
All times are GMT. The time now is 01:32 AM. |
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:
|