The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]() Quote:
Okay, so I got this from vBulletin.com <if condition="is_member_of($bbuserinfo, X, Y, Z)"> <!-- content here is for users in groups that can see the main content --> <else /> <!-- content here is shown to users in groups who can not see the main content --> </if> Now, that works for limiting it to certain groups. But what I'd like to do for one of the custom pages is disallow the guest and banned groups from viewing the content, but allowing all the other groups if a member's post count is 30 or more. What I could do, I suppose, is turn it around a bit and put the content after the else bit, put the id numbers for the guest and banned groups in the first bit so they then see a not allowed message, but how do I tell if anyone has a post count of 30 or more? |
#2
|
||||
|
||||
![]() Code:
<if condition="$bbuserinfo['posts']>=30"> Code:
<if condition="$vbulletin->userinfo['posts']>=30"> |
#3
|
|||
|
|||
![]()
Thank you very much, WetWired. I presume one of those would be the vB 3.6.5 one?
|
#4
|
||||
|
||||
![]()
They both should be for 3.x.x . I'm just not sure if the parser substitutes vbulletin->userinfo for bbuserinfo inside conditionals or not.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|