![]() |
conditional user on buddy list?
Is there a conditional to find if another member is on your buddy list within the postbit_legacy template?
--------------- Added [DATE]1229554911[/DATE] at [TIME]1229554911[/TIME] --------------- Someone has to know. |
.........
|
I don't know of any condition like the "is_member_of" type condition that does this. I think you have to do it in the php/plugin and then use the results from there to indicate a buddy. You might want to go look up some buddy sort of modification and see how they do it.
|
Here is where I got the idea from, in whosonlinebit template there is this line...
<if condition="$show['loggedinuser']"> <a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>$userinfo[hidden]<if condition="$show['buddy']">+</if> <else /> <if condition="$show['spider']">$spidertype<else />$userinfo[musername]</if> Which shows a + next to a person on your buddy list when viewing who's online, if I put this on postbit_legacy it does not function. |
Except $show[buddy] is defined in the php code right before that templatebit is spit out. I don't know that that code is present in the showthread template or in postbit function, so you'd have to add it which is why I suggested lloking it up in a modification.
|
I dont c a mod that has a feature like this, is there a way to call that function in postbit_legacy?
|
There is a mod right here that deals with buddy's in the postbit - Buddy & Ignore List Add/Remove in Postbit He uses the global array which I hadn't thought of.
|
All times are GMT. The time now is 11:11 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:
|