The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
.........
|
#3
|
||||
|
||||
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.
|
#4
|
|||
|
|||
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. |
#5
|
||||
|
||||
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.
|
#6
|
|||
|
|||
I dont c a mod that has a feature like this, is there a way to call that function in postbit_legacy?
|
#7
|
||||
|
||||
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.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|