The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I am using a style from this website, and I love it but there is one problem, for some reason the developer didn't include any logout links on any pages.
So I wanted to just add one to my header "Log Out" that will show on every page. Problem is what do I use for the text? When I look at a logout link the href is Quote:
Quote:
Thanks! |
|
#2
|
||||
|
||||
|
Go to admincp>style manager>your style>edit templates>navbar template
add this: Code:
$template_hook[navbar_buttons_right]
<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>
Code:
</tr> </table> </div> <!-- / nav buttons bar --> <br /> <if condition="$show['notices']">
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|