Version: , by unplugged
Developer Last Online: Feb 2006
Version: Unknown
Rating:
Released: 07-12-2001
Last Update: Never
Installs: 16
No support by the author.
here is a hack that will give your mods more power without having them roam round the Admin Control Panel
Mods can now UNBAN as well as BAN users.
Mods can now Ban people from specific Forums
Mods can now add/remove Smileys to the database
Mods can view Forums Stats
Mods can edit peoples Usernames *
Mods can edit Peoples Signatures *
Mods can edit peoples Avitars *
Mods can edit BASIC profile information *
Mods can give Custom User Titles to a user *
Mods can still veiw a persons complete profile
Mods can send Password Reminders
Mods can now Authorise COPPA users *
Mods can now authorise (Awaiting Email Notification) **
Mods can now authorise Unregistered/Not Loggid in users **
* Can only edit registered users
** Using the UNBAN feature
To use simply extract all the files into your MOD folder to activate the features
Please report any Bugs you find this hack works fine on my forums and another that I moderate
[attachment removed]
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I think that could be a useful feature if I am understanding it correctly.
I am basicly setting up communities for various organizations and allowing them to run them on their own with only minimal help from me. I would want the mods to have complete control over many aspects of the forum. Obviously, I wouldn't want them to be able to edit the templetes and things of that nature.
I think that this is a very good hack and with a few more additions it should become part of the actual software. Please keep us up to date with any additions.
ok i couldnt find this post till just now anyways i get a parese error on a line when i try this hack i dont know if it is the way i ama dding the part that says add this to end of file there is the end like ?> do i put it before this yes? or after it? i figured it had to be before that could soemone who has this working tell eme xactly where to insert the start unban part of code thanx alot
someone said they got it working i just need a little help here to get mine working i really need one of my co admins to access user profiles to edit them please help me here if ya got it working
$countadmin=$DB_site->query_first("SELECT COUNT(*) AS users FROM user,usergroup WHERE user.usergroupid=usergroup.usergroupid AND usergroup.cancontrolpanel=1 AND user.userid<>$userid");
$getperms=$DB_site->query_first("SELECT cancontrolpanel FROM usergroup WHERE usergroupid=$usergroupid");
if ($countadmin[users]==0 and $getperms[cancontrolpanel]!=1) {
echo "<p>You are about to edit the last user with control panel access so that they do not have control panel access. This would lock you out of the control panel, so you cannot proceed.</p></body></html>";
exit;
}
To: (change ($usergroupid != "19" && $usergroupid != "2") to what you want if to be allowed to change, 19 just happens to be our clan members group, 2 is the registered group)
PHP Code:
if ($usergroupid != "19" && $usergroupid != "2") {
echo "<p>You may not change this user to this level.</p></body></html>";
exit;
}
else {
$countadmin=$DB_site->query_first("SELECT COUNT(*) AS users FROM user,usergroup WHERE user.usergroupid=usergroup.usergroupid AND usergroup.cancontrolpanel=1 AND user.userid<>$userid");
$getperms=$DB_site->query_first("SELECT cancontrolpanel FROM usergroup WHERE usergroupid=$usergroupid");
if ($countadmin[users]==0 and $getperms[cancontrolpanel]!=1) {
echo "<p>You are about to edit the last user with control panel access so that they do not have control panel access. This would lock you out of the control panel, so you cannot proceed.</p></body></html>";
exit;
}
}