The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
exceptions for user-group in postbit_legacy
Hi,
I want to make this code in postbit legacy but I don't have the knowledge to make it into a real working code. If confition = usergroup id is 1 , 2 ,7 <div></div> else: <div>something</div> I am trying to make a code, so if your the usergroup id number I have written it "something" wont show up, but if your not mentioned it will Thanks |
#2
|
||||
|
||||
This should work iirc.
HTML Code:
<if condition="$bbuserinfo[usergroupid]==1,2,7> Stuff goes here <else /> something else goes here </if> |
#3
|
|||
|
|||
It doesn't seem to work
When I add the code in postbit legacy and press submit it works for ever, never gets done with the progress (keeps loading) Any other kind of change in postbit legacy works right away, press submit and it will change page and change would be done |
#4
|
|||
|
|||
help?? please...
|
#5
|
||||
|
||||
Try this (and thank Jake Bunce if it works lol)
HTML Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)"> CODE THAT DISPLAYS THE POST <else /> MESSAGE THAT THEY MUST WAIT </if> |
#6
|
|||
|
|||
So is that username numbers I have to replace x,y,z with or is it usergroup number?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|