Topic: allowing the administrator only to register new users

I've set the allow new registration option to no... but now not even admin can make new user registrations.

Does a solution exits that would allow admin to do this?

many thanks

Re: allowing the administrator only to register new users

worked it out myself - does this look ok to others or have I opened myself up to problems...

line 31 change to
if (!$pun_user['is_guest'] && $pun_user['username'] != 'admin')

line 44 change to
if ($pun_config['o_regs_allow'] == '0' && $pun_user['username'] != 'admin')

comment out lines 83 to 87 if not only 1 reg per hour will be allowed

Re: allowing the administrator only to register new users

Here is a link the user management plugin.  May be useful for you.

http://punbb.informer.com/forums/viewto … ?pid=79347

Re: allowing the administrator only to register new users

Or just disable registration and use the user management plugin

Re: allowing the administrator only to register new users

Thanks for the help.

Installed user management plugin now