The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Move login/logout on Navbar
Currently the default logout/in button is situated on the far right of the navbar (3.7 RC2) I want to move this to the lefthand side. Suggestions?
|
#2
|
||||
|
||||
Edit the navbar template.
|
#3
|
|||
|
|||
I guess I kind of left myself open to that response LOL. OK thats a good start, now which bit of code to I need to move and add what?
|
#4
|
||||
|
||||
Okay, edit your navbar template.
Scroll down to where it says: Code:
<if condition="$show['member']"> <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td> </if> Scroll back up to where the nav buttons bar starts, you'll know it when you see it because it will say: Code:
<!-- nav buttons bar --> Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> Code:
<if condition="$show['member']"> <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> |
#5
|
|||
|
|||
Yep that worked perfectly thank you dismas
--------------- Added [DATE]1207241284[/DATE] at [TIME]1207241284[/TIME] --------------- One other request how can I make the links within the navbar smaller and push them along i.e. I would like Quote:
|
#6
|
||||
|
||||
Not sure, never tried that. Maybe put some spaces in by using
Code:
|
#7
|
||||
|
||||
adding a bunch of spaces like that to the end of the help link will do it.
Breaking the navbar down into two fixed width sections using floats should work to Code:
<div style="width: 100px; float: left;">Logout Help Links</div> Code:
<div style="width: 300px; float: right;">Rest of Links</div> |
#8
|
|||
|
|||
Thank you & done
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|