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.
Ok I added this hack, But have a few questions, I also added the info code by BorgGanon.
I am having trouble on 3 things (it might be because of a major sinus headache)
confiquiring the script to have only my mods and or supermods I choose have access?
I wish to deny all off them the ability to mass prune or move, only myself I wish to have that control?
I would like them to be able to make the users miserbale if needed, but dont know what to add and where for that to happen? (the miserable users hack is installed)
a) my hack has nothing to do with massmoving permissions. you'll have to ask on vb.com or read the manual on how to do that, as it's not part of my hack
b) i don't know the miserable users hack, so i cannot help you here, maybe start a new support thread for that?
I thought there might be way to comment out the ability to do that, maybe I will just delete that option from the index.php in the mod / and I think I do a
but cater it too match what the miserable users creates in that hack, it might be ok, since it seems your hack will aknowledge the field if it is an option.
Does this work for 2.3.2? I can't seem to find the first bit of coding it asks to find.
I could really really really do with this hack for 2.3.2 !!!!
Im a total newbie when it comes to coding though, and the instructions appear to be mega different for this version.
If i beg nicely, whats the chances of someone making this work/ providing instructions for 2.3.2 ?
If there was a slight change then i'd probably be ok with it
However as a noob to coding, I read your instructions which start off
Code:
Open mod/user.php:
------------------
find:
echo "<tr><td nowrap><p>$user[username]</p></td>".iif($perms[ismoderator] or $ismod['canbanusers']==1, "<td nowrap><a href=\"user.php?action=ban&userid=$user[userid]\"><p>[ban]</p></a></td>", "").iif($perms[ismoderator] or $ismod['canviewprofile']==1, "<td nowrap><a href=\"user.php?action=viewuser&userid=$user[userid]\"><p>[view user]</p></a></td>", "")."</tr>\n";
I searched for several bits of that in user.php and Im afraid I couldn't see anything too similiar. Despite searching for several bits of the above line I couldnt find so presumed the code had changed a lot for the version I using.
It may in fact be a slight difference, but just didnt want to break a spangly new working forum
Thanks in advance for any advice, and apologies if I appear to be too noobish
Only added 1 other hack to date, and that was more straight forward with what needed changing.
nope it's not, as if it would be installed correctly it would work
also you should read the rule about parse errors:
post 5 lines ahead and below, because we're not omniscient and don'T know what the heck is on line xy of your files