The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to get the usergroup of thread starter in forumdisplay?
How to get the usergroup of thread starter in forumdisplay??
This seems not working.. PHP Code:
|
#2
|
|||
|
|||
I think you might want:
Code:
<vb:if condition="is_member_of($threadinfo, 5,6,7)"></vb:if> |
#3
|
||||
|
||||
That's not working..
What I want to achieve is a different threadbit class for selected usergroups. I can make it work with "postuserid" and put userids in an array. Code:
<li class="<vb:if condition="in_array($thread[postuserid],array('1'))">altthreadbit<vb:else />threadbit</vb:if> |
#5
|
||||
|
||||
Awesome!! That 100% working.
Thanks Kevin. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|