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&blogtype=best">$vbphrase[best_blog_entries]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="blog.php?$session[sessionurl]do=bloglist&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:
...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&blogtype=best">$vbphrase[best_blog_entries]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="blog.php?$session[sessionurl]do=bloglist&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: