PDA

View Full Version : blog navbar problem



ammma
Mon 2nd Feb '09, 7:25pm
hello, i've been searching the net for hours & have tweaked code several times but i still cant solve this issue, hopefully someone here can help me :)


...Basically, i'm trying to get the blogs drop-down menu onto my navbar...


I've installed a forum skin and everything is working fine except for the navbar, i couldnt get the "blogs" link to show up. I ended up hacking the template code for the skin with some code i found pasted here & it somewhat works but not 100%

my forum is www.AlphaMaleMMA.com/forum (http://www.AlphaMaleMMA.com/forum)

i modified the skin's "header" template by adding this code in the navbar (between "community" and "calendar"):


<td>
<div class="vbmenu_control">
<div id="vbbloglinks"><td class="navitem"><a href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a><script type="text/javascript">vbmenu_register("vbbloglinks");</script></div>
</div>
<div class="vbmenu_popup" id="vbbloglinks_menu" style="display:none" align="$stylevar[left]">

<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead"><a href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a></td>
</tr>
<if condition="$show['canpostitems']">
<tr>
<td class="vbmenu_option"><a href="blog.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[your_blog]</a></td>
</tr>
</if>
<tr>
<td class="vbmenu_option"><a href="blog.php?$session[sessionurl]do=list">$vbphrase[recent_entries]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="blog.php?$session[sessionurl]do=list&amp;blogtype=best">$vbphrase[best_blog_entries]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="blog.php?$session[sessionurl]do=bloglist&amp;blogtype=best">$vbphrase[best_blogs]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="blog.php?$session[sessionurl]do=bloglist">$vbphrase[blog_list]</a></td>
</tr>
<if condition="$show['blog_search']">
<tr>
<td class="vbmenu_option"><a href="blog_search.php?$session[sessionurl]do=search">$vbphrase[search_blogs]</a></td>
</tr>
</if>
</table>
</div>
<!-- / blog tools menu -->
</td>


however, i still have a couple of issues that i can't seem to figure out:

i'd like to have the "arrow" on the right side of the text "Blogs", currently its on the left
the arrow has a black box behind it, i'd like it to match the other buttons & arrows by getting rid of that black box area
"your blog" and "search blogs" are missing from the drop down menu
the fonts in the Blogs drop down menu, are bold and i'd like them to be regular thickness, to match how the text is in all the other drop down menus


can anyone halp??? :confused:

Jake Bunce
Mon 2nd Feb '09, 7:40pm
1) Make sure you have installed Blog 2.0. The pulldown menu is new to that version.

2) Try reverting this template:

Admin CP -> Styles & Templates -> Style Manager -> « » -> Navigation / Breadcrumb Templates -> navbar

ammma
Mon 2nd Feb '09, 9:38pm
1) Make sure you have installed Blog 2.0. The pulldown menu is new to that version.

2) Try reverting this template:

Admin CP -> Styles & Templates -> Style Manager -> « » -> Navigation / Breadcrumb Templates -> navbar


vB 3.81 & vBlog 2.0.1


reverted the template (used the "default" for that skin) and it made it even wierder: every issue i had originally is still there, plus the addition of one more problem: the drop down arrows are now in pairs!! lol :)



this is why, i just need to know what is the code for the Blogs drop down menu (the default vB one, using the default vB skin) and if i just paste it there it should work

i have no idea if the code i pasted in there (see code in the first post of this thread) is even the complete correct code?? i mean, obviously not, since if it was i wouldnt have the few issues since i have code wrong & nothing to do with the skin (if the "black box" is a skin issue ill somehow figure that out, but i need the original snippet vB navbar code first)





Can you paste the pulldown menu blog code (default) please?

Jake Bunce
Mon 2nd Feb '09, 11:57pm
Make sure this option is enabled:

Admin CP -> vBulletin Options -> Style & Language Settings -> Use 'vBMenu' DHTML Popup Menus?

If that option is enabled and the blog is installed then the popup menu should work on the default style.

ammma
Tue 3rd Feb '09, 3:44pm
Make sure this option is enabled:

Admin CP -> vBulletin Options -> Style & Language Settings -> Use 'vBMenu' DHTML Popup Menus?

If that option is enabled and the blog is installed then the popup menu should work on the default style.


yes, already done


Can you paste the pulldown menu blog code (default) please?

Jake Bunce
Tue 3rd Feb '09, 6:50pm
Admin CP -> Styles & Templates -> Style Manager -> « » -> Blog Templates -> blog_navbar_link

Admin CP -> Styles & Templates -> Style Manager -> « » -> Blog Templates -> blog_navbar_link_menu

Warlock40
Thu 5th Mar '09, 10:11am
I just want to disable the arrows or change them. I can't seem to find them in the navbar but I don't want to disable anything either...

Solved it.

In the navbar template and I'll use the community link as an example add the term in red

<if condition="$show['communitylink'] AND $show['popups']">
<td class="vbmenu_control"><a id="community" href="$show[nojs_link]#community"rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community", true); </script></td>