Global Moderators Profile Access
1.0
This MOD gives to Global Moderators the same rights as Administrators on users profiles!
- They can edit all users profiles except admin's profile and most important they cannot set themself admin ^^
- They cannot view passwords but only change if is necessary.
Installation instructions:
1 - Install my Custom Titles mod version 1.4
2 - apply the mod with boardmod or manually
3 - have fun :))
Version 1.0
This was originally made on request but was buggie (security holes) then I continued to develop it on my board, so large that i need efficent global mods ^^. Tested it for months on my board so i think is almost bugless and decided to release. Enjoy ^_^
Godai
http://www.MangaItalia.it
Sources/Profile.pl
if($username ne $INFO{'username'} && $settings[7] ne 'Administrator') {
if($username ne $INFO{'username'} && $settings[7] ne 'Administrator' && $settings[7] ne 'Global Moderator') {
foreach (@memsettings) {
$_ =~ s~[\n\r]~~g;
}
if ($settings[7] eq 'Global Moderator') {
if ($memsettings[7] eq "Administrator") { &fatal_error($txt{'80'}); }
}
if($settings[7] eq "Administrator") {
if($memsettings[7] eq 'Administrator') { $tt = $MemStatAdmin; }
elsif ($memsettings[7] eq 'Global Moderator') { $tt = $MemStatGMod; }
elsif ($memsettings[7] eq 'Moderator') { $tt = $MemStatMod; }
else { $tt = $memsettings[7]; }
print <<"EOT";