News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

How to allow a global mod to change registration settings?

Started by jmille44, March 19, 2017, 12:16:55 PM

Previous topic - Next topic

jmille44

Hopefully a simple question.  How do I allow a global moderator to be able to change registration settings to disable registration of new users in case of a forum attack and the forum admin is not around to do this?

The admin has this setting but I can't figure out how to allow the Global Mod to receive this menu?

Thanks for any help.

Illori

i dont believe there is a way to do that. are you doing it to prevent spam?

if so there are better way to prevent the spammers. http://wiki.simplemachines.org/smf/Spam_-_my_forum_is_flooded_with_spam,_what_can_I_do

Shambles

It can be achieved with a small change to Sources/ManageRegistration.php

Code (Find) Select

'settings' => array('ModifyRegistrationSettings', 'admin_forum'),


Code (Replace) Select

'settings' => array('ModifyRegistrationSettings', 'moderate_forum'),



Then your global moderators can access the section via:

/index.php?action=admin;area=regcenter;sa=settings

Advertisement: