Only Admin Can Register 1.1 When installing this mod, only the administator can add new members. version 1.1 (by Striker): - now this can be turned on/off in the admin center [CV]XXL http://boardmod.xnull.com Sources\Register.pl sub Register { $yytitle = "$txt{'97'}"; &header; if ($registerbyadminonly eq '1') { if ($settings[7] ne 'Administrator') { print "Sorry only the administator can register new members. Please contact him for an account"; &footer; exit; } } sub Register2 { if ($registerbyadminonly eq '1') { if ($settings[7] ne 'Administrator') { $yytitle = "$txt{'97'}"; &header; print "Sorry only the administator can register new members. Please contact him for an account"; &footer; exit; } } Sources\Subs.pl if($username eq 'Guest') { $yymenu .= qq~$menusep$img{'login'}$menusep$img{'register'}~; } else { if($username eq 'Guest') { $yymenu .= qq~$menusep$img{'login'}$menusep$img{'register'}~; } else { if($settings[7] eq 'Administrator') { $yymenu .= qq~$menusep$img{'register'}~; } Settings.pl # Set to 0 to disallow guests from doing anything but login or register $registerbyadminonly = 0; # Set to 1 to let the admin be the only person to register new users Sources\Admin.pl if ($guestaccess == 0) { $guestaccchecked = ' checked'; } if ($registerbyadminonly == 1) { $registerbyadminonly = ' checked'; } $txt{'632'} $txt{'632a'} allowpics showyabbcbutt showbdescrip maintenance guestaccess allowpics showyabbcbutt showbdescrip maintenance guestaccess registerbyadminonly $guestaccess = $guestaccess ? 0 : 1; $registerbyadminonly = $registerbyadminonly ? 1 : 0; \$guestaccess = $guestaccess; # Set to 0 to disallow guests from doing anything but login or register \$registerbyadminonly = $registerbyadminonly; # Set to 1 to make the admins the only people able to register new people if ($guestaccess == 0) { $guestaccchecked = ' checked'; } if ($registerbyadminonly == 1) { $registerbyadminonly = ' checked'; } english.lng $txt{'632'} = "Disallow guests from doing anything but login or register?"; $txt{'632a'} = "Only admin is allowed to register new users";