vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Programming Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=188)
-   -   How To Add Additional Links To Your Navbar (https://vborg.vbsupport.ru/showthread.php?t=118924)

CasualConvo 09-13-2007 09:30 PM

I put a "Home" link before the UserCP link in the Navbar but though it works fine, it's the only link that keeps the line underneath the text when all the others only do it on a mouseover. How can I fix this? Thank you!

Nevermind. All I had to do was refresh my page. Working great. Thank you!

kollam003 09-23-2007 04:31 AM

wow wow and just wow thanks

citroenar 10-06-2007 10:30 PM

where can I change a text size of a links in navbar?

Mr. Burns 10-08-2007 01:43 AM

I have added new links, however the font face, size and color do not match what was already there. Any hints to help resolve this?

Jasem 04-23-2008 08:12 PM

Thank you :)

PurpleButterfly 04-27-2008 06:44 PM

So helpful, thank you!! :D

Dantenator 06-04-2008 03:43 PM

In vb3.7, how would one define a navbar link to only show for specified usergroups? I'm currently using <if condition="in_array($bbuserinfo['usergroupid'], array(6))"> wrapped around the navbar link but I have additional usergroups setup for various things. I found the additional usergroups are stored in the membergroupids field. I tried changing $bbuserinfo['usergroupid'] to $bbuserinfo['membergroupids'] but it doesn't work. What am I doing wrong?

/edit
Scratch this question. I found my answer. I needed to use <if condition="is_member_of($bbuserinfo, 5, 6, 7)">. I hope this helps someone.

willygeek 06-06-2008 11:05 PM

Hi Folk,

Maybe I'm a bit slow, but the only page I can find within VBulletin (3.7) to change to achieve an additional link is "vbulletin-style.xml"

However if I change this and upload it nothing changes on my site (yes, I do refresh, even tried closing and opening in a different browser).

So, my question is, am I changing the correct file, or should I be making the changes elsewhere?

The line I am adding is...
<td class="vbmenu_control"><a href="http://www.ulysses.org.nz/photopost">Photo Gallery</a></td>

My site is www.ulysses.org.nz/vbulletin

Cheers

William
New Zealand:confused:

Lee Roberts 06-06-2008 11:22 PM

Yea would be nice if we new what files we should be editing.

willygeek 06-06-2008 11:49 PM

I have now figured out how to do this, via the control Panel.

Cheers
William


All times are GMT. The time now is 02:06 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02977 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete