The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have a banner, but i only want some usergroup can see it, ex, usergroup id 1,2,3,4 and other group won't see , like gues, usergoup 5.
How to do it ? I want to put banner in navbar. I'm run vbb 3.7.x |
#2
|
||||
|
||||
![]() HTML Code:
<if condition="is_member_of($bbuserinfo,1,2,3,4)"> banner here </if> |
#3
|
|||
|
|||
![]() Quote:
Can i include "member more than x post" of this usergroups can see banner ? |
#4
|
||||
|
||||
![]()
You'd have to make sure that the postcount for the user is available for use as a variable. You might try adding "AND $bbuserinfo['posts'] > x" into the statement. But, you need to make sure that $bbuserinfo['posts'] is not a formatted number like it sometimes is. Set your postcount to over 1000 and then print that variable out and see if it prints "1,000" or "1000". If it prints out the second, then you are in luck and can do that. If it prints out the first, you will have to do some coding (a plugin). If it prints out neither, then you will have to do a plugin also.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|