The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Then your doing something wrong on your end, both those codes work correctly.
Lynne's version is actually the new functionality in vb, versus mine, its from the 3.6.x tree of vb. |
#12
|
||||
|
||||
Why don't you print out the template code you are using.... give us about five lines above to five lines below your added code. And tell us the template name. I really can't think of why that code would show it to everyone (unless everyone is also a member of usergroupid 149). a link to the page (with test account info, if needed) would also help.
|
#13
|
|||
|
|||
Code:
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if> <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if> <if condition="in_array($bbuserinfo[usergroupid], array(6,5))"> $timespentonline </if> $template_hook[postbit_userinfo_right] <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> </div> </td> |
#14
|
||||
|
||||
Try using this line instead:
<if condition="is_member_of($bbuserinfo,5,6)"> Also, verify what you usergroupid 5 and 6 are used for (only admins and supermods?). And what template did you add the code to? If you added it to the postbit, then that is incorrect since you are using postbit_legacy. |
#15
|
|||
|
|||
Yeh its for postbit.
|
#16
|
|||
|
|||
I'm adding to postbit_legacy and I'll try that code now. I'll edit this when ive done it.
Added the code and it still doesn't work. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|