How to create another navbar
4 posters
Page 1 of 1
How to create another navbar
What is the HTML could for Log out and Log in, and Register??
I have made a nav bar but when you log out it still stays log out i want it to say log out if you're loged in and log in if you are loged out if that sounds right.... also want to add register link :L
I have made a nav bar but when you log out it still stays log out i want it to say log out if you're loged in and log in if you are loged out if that sounds right.... also want to add register link :L
Last edited by njaguar on December 8th 2013, 3:14 pm; edited 1 time in total
Re: How to create another navbar
Register = your forum url /registernjaguar wrote:What is the HTML could for Log out and Log in, and Register??
I have made a nav bar but when you log out it still stays log out i want it to say log out if you're loged in and log in if you are loged out if that sounds right.... also want to add register link :L
Login/logout= ( I use) /login?logout=1
Graphic Design Section Rules || Becoming a Designer || Graphic Requests
Graphics Request Form
Make sure to check out our FREE Graphic's Gallery
No support provided via PM!
Re: How to create another navbar
Please change the title of your topic, that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.
You're creating a totally separate navbar from the default?
You're creating a totally separate navbar from the default?
Re: How to create another navbar
yes but need the default codesSethC1995 wrote:Please change the title of your topic, that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.
You're creating a totally separate navbar from the default?
Re: How to create another navbar
Hello,
- Code:
Home - <a href="/forum">Forum</a>
Members - <a href="/memberlist">Members</a>
Usergroups - <a href="/groups">Usergroups</a>
Login - <a href="/login">Login</a>
Logout - <a href="/logout">Logout</a>
Register - <a href="/register">Register</a>
Profile - <a href="/profile?mode=editprofile">Profile</a>
Private messages - <a href="/privmsg?folder=inbox">Private messages</a>
Re: How to create another navbar
Yeah but how do i make it where it knows if the person is logged in or not?
Re: How to create another navbar
A simple thing.
- Code:
<!-- BEGIN switch_user_logged_out -->
Here you put codes for logged out users
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
Here you put codes for logged in users
<!-- END switch_user_logged_in -->
Re: How to create another navbar
Logout =>
- Code:
<!-- BEGIN switch_user_logged_in -->
<a href="/logout">Logout</a>
<!-- END switch_user_logged_in -->
Re: How to create another navbar
Legolas wrote:Logout =>
- Code:
<!-- BEGIN switch_user_logged_in -->
<a href="/logout">Logout</a>
<!-- END switch_user_logged_in -->
The right link for logout is /login?logout=1
Guest- Guest
Re: How to create another navbar
Yeah I have all that. But when a user isn't logged in it still says "log out" where as i want it to say "log in" when a person isn't logged in and log out when they are logged in
Similar topics
» How to create a new navbar?
» how do i create a gap under the navbar
» Problem getting PM Navbar button onto my navbar
» How to create a drop down menu in the navbar?
» how to create additional navbar images??
» how do i create a gap under the navbar
» Problem getting PM Navbar button onto my navbar
» How to create a drop down menu in the navbar?
» how to create additional navbar images??
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum