![]() |
did you run the query on your database and add the template?
|
yes :)
|
from the bottom of the install text:
Quote:
|
ok...that was it...
i tried using the format above to change it to look up for the usergroup for Admins and SuperModerators, but the only way it works is if i set it to allow the userid or else delete the permissions completely :( any idea why the usergroup solution is bombing? |
Post #14 in this thread has the code to allow usergroups. :) That's what I am using.
Quote:
|
Yea, I can't allow mods/supermods to use this until someone can post an update to the code to disallow banning of admins. The way it works now is any mod/supermod that has permissions to temp ban, can also temp ban an admin.
|
That is what i was using. I just get back:
Parse error: parse error in /banuser.php on line 13 Code used is: PHP Code:
Line 13 is the one referring to usergroupid 6 |
That doesn't seem to work here now. I went back to the original file and it works that way. I ran it from the admin directory though. I don't want any mods playing with it until I can get it working so no one can ban the admin. :)
Quote:
|
If you just insert your own userid, you can still run it from your mod/index.php This way it can be run from your forums options drop down box in the forum, bottom right. No one will be able to ban you, because it looks for that userid, and if its not the same one as the person trying to access the file, the script will not run.
|
Ok, you lost me here. What do I need to do where to do what? :)
Quote:
|
All times are GMT. The time now is 02:33 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:
|