jfreels
04-23-2008, 07:26 PM
Hello all,
I have recently purchased a new skin for my forum because we ended up changing the name. (I want a whole new look)
The template has the old style navbar welcome, not the new "notification" one in vBulletin 3.7.0.
I added the following code to the navbar template, replacing the oldstyle just "pmstats".
<if condition="$show['notifications']">
<span id="notifications">
<a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a>
<strong>$notifications_total</strong>
<script type="text/javascript"> vBmenu.register("notifications"); </script>
<else />
<if condition="$show['pmstats']">
<phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]
</phrase>
</if>
</if>
Everything looks great, but the fly-out menu doesn't...um..fly-out. Any help would be greatly appreciated. I have been using vBulletin for many years now and don't usually have troubles making modifications to templates.
I have recently purchased a new skin for my forum because we ended up changing the name. (I want a whole new look)
The template has the old style navbar welcome, not the new "notification" one in vBulletin 3.7.0.
I added the following code to the navbar template, replacing the oldstyle just "pmstats".
<if condition="$show['notifications']">
<span id="notifications">
<a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a>
<strong>$notifications_total</strong>
<script type="text/javascript"> vBmenu.register("notifications"); </script>
<else />
<if condition="$show['pmstats']">
<phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]
</phrase>
</if>
</if>
Everything looks great, but the fly-out menu doesn't...um..fly-out. Any help would be greatly appreciated. I have been using vBulletin for many years now and don't usually have troubles making modifications to templates.