Version: 1.00, by Xenon
Developer Last Online: Oct 2023
Version: 2.2.x
Rating:
Released: 08-08-2002
Last Update: Never
Installs: 78
No support by the author.
With this Hack your Mods can edit really everything of a user account, nearly as much as an Admin can! (Changing usergroups....)
But it is very customizable, too. If you don't want em to change usergroups, then they can't. Or you can define which usergroups they can move the users into..
Also if you add if-clauses in the front section to the hack, you can customize it to which of your mod can modify which fields..
this block in front of the hack code defines nearly everything you need to customize the hack:
$canedit[profilefields]=1;
$canedit[timefields]=0;
$canedit[options]=1;
$canedit[addresses]=1; // HP, Email, ICQ, AIM ...
$canedit[signature]=1;
$canedit[title]=0;
$canedit[name]=1;
$canedit[avatars]=1; // 0 Cant edit, 1 Can edit, 2 Can upload custom avatars
$canedit[changegroups]=0; // Mods can move users from one group to another (just groups included in $canedit[usergroupids])
$canedit[usergroupids]="1 2 3 4 10 11"; // Which usergroups can be edited
Screenshots in following Posts
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by Xenon it works correctly on vb228, i use it there
check your moderator permissions, they must be allowed to view userprofiles, to be able to edit them.
Hmm, All options are checked for the Super Moderator except access to the control panel. I don't want the moderators to edit users only super moderators. Do I have to have the Moderators option checked to view user profile in order for the Super Moderators to be able to edit them? That wouldn't seem right.
Quote:
Originally posted by Xenon also be sure you click on the editlink of a user, not the viewlink, or your supermods cannot change anything
This would be the link that says "Administrative Options: User Options" located under a users profile while viewing them correct?
The moderators cannot click on that (which is what I want). The Super Moderators CAN click on it and can edit everything in there but there is no option that says Save Changes or Reset so there is no way for them to save the changes. Is there a template that needs to be edited?
@Chevy: "Administrative Options: User Options" that link automatically leads to the Standart viewpage.
if you want to link to the editpage, you have to edit the getinfo-template and change the "action=view" in the link into "action=edit"
Originally posted by Xenon @iblis: fine to hear that
@Chevy: "Administrative Options: User Options" that link automatically leads to the Standart viewpage.
if you want to link to the editpage, you have to edit the getinfo-template and change the "action=view" in the link into "action=edit"
Is there a way to make it so that mods can edit forum access as well? Is it as easy as copying the "# Start Edit Access #" bit from admin/user insto mod/user?
I have a group called Co-admin, I also have Supermoderators and Moderators. How do I get this hack to work for just the Co-admins and the supermoderators and moderators have the regular modcp.
I have super mods, and mods, but also a group called senior staff, (id = 11) with super mod permissions. I want to make it so that only the senior staff group can access the mod controls, not the supermods - is there any way to do that?
I did try using the coding a couple of posts above - but I wasnt sure exactly where to insert it, and though I played around a bit, it just kept giving me parse errors.
The hack is working fine, i just wanted to limit who I give access to
$canedit[profilefields]=0;
$canedit[timefields]=0;
$canedit[options]=0;
$canedit[addresses]=0; // HP, Email, ICQ, AIM ...
$canedit[signature]=0;
$canedit[title]=0;
$canedit[name]=1;
$canedit[changegroups]=1; // Mods can move users from one group to another (just groups included in $canedit[usergroupids])
$canedit[usergroupids]="1 2 3 4"; // Which usergroups can be edited
change it to:
PHP Code:
if($bbuserinfo[usergroupid]==11) {
$canedit[profilefields]=1;
$canedit[timefields]=1;
$canedit[options]=1;
$canedit[addresses]=1; // HP, Email, ICQ, AIM ...
$canedit[signature]=1;
$canedit[title]=1;
$canedit[name]=1;
$canedit[changegroups]=1; // Mods can move users from one group to another (just groups included in $canedit[usergroupids])
$canedit[usergroupids]="1 2 3 4"; // Which usergroups can be edited
} else {
$canedit[profilefields]=0;
$canedit[timefields]=0;
$canedit[options]=0;
$canedit[addresses]=0; // HP, Email, ICQ, AIM ...
$canedit[signature]=0;
$canedit[title]=0;
$canedit[name]=0;
$canedit[changegroups]=0; // Mods can move users from one group to another (just groups included in $canedit[usergroupids])
$canedit[usergroupids]=""; // Which usergroups can be edited
}