![]() |
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:
|
I think you might want:
Code:
<vb:if condition="is_member_of($threadinfo, 5,6,7)"></vb:if> |
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> |
I put in $threadinfo because you had that in the code you posted, but maybe $thread instead?
Code:
<vb:if condition="is_member_of($thread, 5,6,7)"></vb:if> |
Awesome!! That 100% working.
Thanks Kevin. |
All times are GMT. The time now is 04:06 PM. |
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:
|