FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Account Moderator
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Account Moderator [message #35142] Tue, 12 December 2006 13:44 Go to next message
kolerij is currently offline  kolerij   United States
Messages: 58
Registered: July 2002
Karma: 0
Member
Hi,

Regarding the elevated Moderator powers via the "Account Moderator" optiom, a mod has access to maintain user accounts, including admin accounts. I appreciate that this access would be granted to mods on a trust basis, but I still am not comfortable that a mod with this access also has the power to remove an admin's powers.

Forum Administrator: Y [Toggle]
Email Confirmation: Yes [Toggle]
Confirmed Account: Yes [Toggle]
Can use signature: Yes [Toggle]
Can use private messaging: Yes [Toggle]
Account Moderator: No [Toggle]
COPPA: No [Toggle]
Moderating Forums: None


Is it possible to at least filter out/disable access to admin accounts with this function? Or at least filter out the "Forum Administrator" toggle and the ban option when mods are viewing admin accounts?

Just wondering. Neutral If it requires a code change, at least point me in the right direction as to where this can be modified.

Thanks.
Kolerij

Re: Account Moderator [message #35143 is a reply to message #35142] Tue, 12 December 2006 14:36 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Actually making of admins is already limited to just forum admins, while you can see the link it won't work due to an existing limiter. The patch below hides the links as well.
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=11671


FUDforum Core Developer
Re: Account Moderator [message #35145 is a reply to message #35142] Tue, 12 December 2006 14:58 Go to previous messageGo to next message
kolerij is currently offline  kolerij   United States
Messages: 58
Registered: July 2002
Karma: 0
Member
Is this an upcoming feature or is this already available as of 2.7.6?

I was doing some testing in 2.7.6 and was able to remove the core admin's powers while logged in as a mod with admin rights.

Am I missing something? Smile
Re: Account Moderator [message #35146 is a reply to message #35142] Tue, 12 December 2006 15:53 Go to previous messageGo to next message
kolerij is currently offline  kolerij   United States
Messages: 58
Registered: July 2002
Karma: 0
Member
My apologies.

Didn't notice the recent timestamp on the cvs checkin for admuser.php. Rolling Eyes

Will apply this patch and let you know how it goes.

Thanks.
Kolerij
Re: Account Moderator [message #35161 is a reply to message #35142] Wed, 13 December 2006 23:22 Go to previous messageGo to next message
kolerij is currently offline  kolerij   United States
Messages: 58
Registered: July 2002
Karma: 0
Member
Hi Ilia,

Made the change and noticed a small bug. Looks like a lil' reverse logic mixup. Smile

Quote:

Line 345:
if ($acc_mod_only) {
echo '<tr class="field"><td nowrap><font size="+1"><b>Forum Administrator:</b></td><td>'.($u->users_opt & 1048576 ? '<b><font size="+2" color="red">Y</font>' : 'N').' [<a href="admuser.php?act=admin&usr_id='.$usr_id . '&' . __adm_rsidl.'">Toggle</a>]</td></tr>';
} else {
echo '<tr class="field"><td nowrap><font size="+1"><b>Forum Administrator:</b></td><td>'.($u->users_opt & 1048576 ? '<b><font size="+2" color="red">Y</font>' : 'N').'</td></tr>';
}


Believe it should be...

Quote:

Line 345:
if ($acc_mod_only) {
echo '<tr class="field"><td nowrap><font size="+1"><b>Forum Administrator:</b></td><td>'.($u->users_opt & 1048576 ? '<b><font size="+2" color="red">Y</font>' : 'N').'</td></tr>';
} else {
echo '<tr class="field"><td nowrap><font size="+1"><b>Forum Administrator:</b></td><td>'.($u->users_opt & 1048576 ? '<b><font size="+2" color="red">Y</font>' : 'N').' [<a href="admuser.php?act=admin&usr_id='.$usr_id . '&' . __adm_rsidl.'">Toggle</a>]</td></tr>';
}




I updated with this on my side and its working fine.

Thanks.
Kolerij
Re: Account Moderator [message #35178 is a reply to message #35161] Thu, 14 December 2006 19:26 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS, thanks.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Very cool twist - paid to read message board posts -- can it be done with fudForum?
Next Topic: Moderator Notification
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 18 01:56:43 GMT 2024

Total time taken to generate the page: 0.04864 seconds