The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]()
Thank you. That works very well for posts.
How would you restrict a function on MEMBERINFO ? PHP Code:
|
#12
|
||||
|
||||
![]()
You should not use in_array() for checking usergroups - it does not take into account secondary usergroups. Instead, use the is_member_of() function.
In posts: Code:
<if condition="is_member_of($post, 5, 6, 7)"> Code:
<if condition="is_member_of($prepared, 5, 6, 7)"> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|