![]() |
Logician, good hack! Help me please. I need "cant logout" to 2 groups. How change code for this?
Sorry for my bad english :( |
Quote:
-- cut -- If you need to trap more than 1 usergroups use this line: if ($bbuserinfo[usergroupid]==XX OR $bbuserinfo[usergroupid]==YY) {show_nopermission(); exit;} -- cut -- So just replace XX and YY with your 2 usergroup ids.. Regards, Logician |
Just installed then and test banned one of my mods, worked just the way it should :)
Installed on 2.2.5 |
Quote:
Regards, Logician |
Logician, big thanks for this hack! You one of the best hackers!
|
Quote:
dj- please post that hack u made, that would be great, or PM it to me, my board has been down alot latly for maintenece so they would suspect nothing :P |
Quote:
I would suggest you double check if you applied the hack carefully and correctly. For example are you sure you changed "XX" in the hack with the usergroupid and are you sure your banned users' usergroup id is exactly what you wrote for XX? Please double check.. Regards, Logician |
check that out, thats how i got it, its not exactly like yours, but in my member.php thats how that first part is, and i couldnt find any others that were just how yours is, so what should i do?
PHP Code:
|
Quote:
Between "hack" and "if" press ENTER, and make the line begining with "if" a new line. It should look like this: PHP Code:
|
Quote:
|
All times are GMT. The time now is 11:59 PM. |
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:
|