Is there any way of the words login always being on the page, and not the usual login/logout scenario please?
It's currently :
<a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}">
<a href="{U_LOGIN_LOGOUT}" title="Login">Login</a>'LOGOUT' => 'Logout', 'LOGOUT_USER' => 'Logout [ %s ]',
'LOGOUT' => 'Login', 'LOGOUT_USER' => 'Login [ %s ]',
Patrick wrote:Hey -Stevie-,
Just to make sure, you are wanting your phpBB to always display "Login," even when the person is already logged in?
There are two ways. If your community is only 1 language, you could simply hard code it. That snippet you posted isn't the full snippet, but basically, it would look something like:
- Code: Select all
<a href="{U_LOGIN_LOGOUT}" title="Login">Login</a>
The other method would be to edit the language file. I believe that if you open /language/en/common.php and find:
- Code: Select all
'LOGOUT' => 'Logout', 'LOGOUT_USER' => 'Logout [ %s ]',
And change it to:
- Code: Select all
'LOGOUT' => 'Login', 'LOGOUT_USER' => 'Login [ %s ]',
That should eliminate the word "Logout" on you forums, as well.
I hope that this helps.
Thanks,
Patrick
Return to General phpBB 3 Support and Discussion
Users browsing this forum: No registered users and 0 guests