The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Very very basic question. I need to add specific items to the postbit based on the usergroups of a member.
What is the variable I need to be looking at? ie: <if condition="(usergroup)"> do something </if> thanks |
#2
|
||||
|
||||
![]() Code:
<if condition="is_member_of($bbuserinfo,5,6,7)"> Code to show </if> |
#3
|
||||
|
||||
![]()
Compliments of Loco.M, Sir Adrian, and Michael Biddle
![]() http://forum.vbulletinsetup.com/f18/...list-2185.html |
#4
|
|||
|
|||
![]()
ahhh sorry... bad logic on my part.
I'm placing something in the postbit template. I need to check the poster's usergroups and then add something based on that. Any idea how to achieve this? //Edit: I think I got it with Superman's post. thanks a ton --------------- Added [DATE]1253635994[/DATE] at [TIME]1253635994[/TIME] --------------- one more question... Code:
<if condition="$post['usergroupid'] == 6"></if> --------------- Added [DATE]1253636580[/DATE] at [TIME]1253636580[/TIME] --------------- aaaaaand one more question... I guess $post['usergroupid'] doesn't count secondary usergroups. How can I include all groups (primary AND secondary) in my conditional? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|