The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Are you sure Xenon?
I thought it was "!=" for usergroups and "==" for userids... Satan |
#12
|
||||
|
||||
yes i am sure
it alwasy depends on what you want to do. if you want to deny access it to one user you must use this if ($bbuserinfo[userid]==X) { show_nopermission(); } if you want it to deny it to a whole group use this: if ($bbuserinfo[usergroupid]==X) { show_nopermission(); } if you want to allow it just one user you have to use this: if ($bbuserinfo[userid]!=X) { show_nopermission(); } and if you want to allow it to only one usergroup: if ($bbuserinfo[usergroupid]!=X) { show_nopermission(); } |
#13
|
||||
|
||||
Ah right...
Cos ive always used "!=" when doing usergroups, and it works just fine Satan |
#14
|
||||
|
||||
lool, then i think you have had very much luck
|
#15
|
||||
|
||||
Probably yes
Use Xenon's code...He seems to think it is safer Satan |
#16
|
||||
|
||||
"Use Xenon's code...He seems to think it is safer"
this is always a good suggestion Don't care, nobody's perfect |
#17
|
||||
|
||||
Well...
Anybody who knows me knows I like to live life on the edge Satan |
#18
|
||||
|
||||
Quote:
== means if equal to :glasses: |
#19
|
||||
|
||||
Aha...
My board musta been screwed up then... Satan |
#20
|
|||
|
|||
Thank you so much guys, I really do appriciate your kind help !!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|