@FD:
Ideally, we should edit the register() function and redirect it to the first board, but I'm too lazy to do that so I just hardcode the link.
In the Source/Subs.php file, change the 'register' => array(
'title' => $txt['register'],
'href' => $scripturl . '?action=register',
'show' => $user_info['is_guest'],
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
),
to false like this:
'register' => array(
'title' => $txt['register'],
'href' => $scripturl . '?action=register',
'show' => false,
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
),
If you want to completely disable the registration button on the child boards. Or you can also redirect them to the main board using this code:
'register' => array(
'title' => $txt['register'],
'href' => 'your main site registration link here',
'show' => $user_info['is_guest'],
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
),
You will also need to edit your theme. This is the edit in the default theme:
Themes/default/language/index.english.php
Look for:
$txt['login_or_register'] = 'Please <a href="' . $scripturl . '?action=login">login</a> or <a href="' . $scripturl . '?action=register">register</a>.';
And remove the registration link:
$txt['login_or_register'] = 'Please <a href="' . $scripturl . '?action=login">login</a>';
@ TaGBaN
Haven't tried the instruction for the register count Yet. Sorry!