Which file do I edit to change the default login text?
/themes/default/languages/login.english.php
Search for:
$txt['only_members_can_access']
You can edit the text there.
Does anything here look messed up? I tried to change something and now my forum has a parse error. :-\
// Show the message or default message.
echo '
<p class="information centertext">
', empty($context['kick_message']) ? $txt['only_members_can_access'] : $context['kick_message'], '<br />
', $txt['login_below'], ' <a href="', $scripturl, '?action=register">', $txt['register_an_account'], '</a> ', sprintf($txt['login_with_forum'], $context['forum_name_html_safe']), '
</p>';
// And now the login information.
I don't think so, but I might of missed something. You can replace that with this:
// Show the message or default message.
echo '
<p class="information centertext">
', empty($context['kick_message']) ? $txt['only_members_can_access'] : $context['kick_message'], '<br />
', $txt['login_below'], ' <a href="', $scripturl, '?action=register">', $txt['register_an_account'], '</a> ', sprintf($txt['login_with_forum'], $context['forum_name_html_safe']), '
</p>';
Thanks. I must have accidentally messed something up without knowing it. I ended up replacing the whole file with a band new one from the SMF software package.
Is this solved or do you need more assistance?
Glad you got it fixed.
Marked as solved. Thank you. :)