Customizing SMF > Mod Requests
[PAID/FREE] don't show the registration when it's disabled
tfs:
Oops... doesn't seem to work great. It put a "Register" link on the forum menu after I logged in.
live627:
'show' => $user_info['is_guest'] && (!empty($modSettings['registration_method']) && $modSettings['registration_method'] == 3) || $user_info['is_guest']
tfs:
Still no joy. The [Register] option is no longer on the main menu after I login, but the [Register] option is still there on the menu when I'm logged out.
live627:
I'll get it right someday (god I got so confused!)
'show' => $user_info['is_guest'] && !empty($modSettings['registration_method']) && $modSettings['registration_method'] != 3 || $user_info['is_guest']
tfs:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /x/Sources/Subs.php on line 4122
This was probably the case for the code posted above as well
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version