![]() |
Are you sure Xenon?
I thought it was "!=" for usergroups and "==" for userids... :confused: Satan |
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(); } |
Ah right...
Cos ive always used "!=" when doing usergroups, and it works just fine:) Satan |
lool, then i think you have had very much luck :)
|
Probably yes:)
Use Xenon's code...He seems to think it is safer;) Satan |
"Use Xenon's code...He seems to think it is safer"
this is always a good suggestion ;) Don't care, nobody's perfect ;) |
Well...
Anybody who knows me knows I like to live life on the edge;):D Satan |
Quote:
== means if equal to :glasses: |
Aha...
My board musta been screwed up then... Satan |
Thank you so much guys, I really do appriciate your kind help !!
|
All times are GMT. The time now is 08:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|