The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I was going to use this...
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">Show this to user group 1, 2, and 3</vb:if> but I assume that this for the the usergroup of the person viewing the thread/post. Is there a conditional for the person who posted the post? I am trying to get the usergroup of the person who made the thread/post, not the person who is viewing the thread/post. |
#2
|
|||
|
|||
![]()
You can replace $bbuserinfo with $post (assuming you're using it in postbit or postbit_legacy).
|
#3
|
||||
|
||||
![]()
Does $post return the usergroup of the poster or does it return the post number?
|
#4
|
|||
|
|||
![]() Quote:
It's an array with many entries, but in addition to all the information about the post itself, it contains the userdata from the author of the post, so it can work in place of $bbuserinfo to pass to is_member_of(). |
#5
|
||||
|
||||
![]()
Great... thanks.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|