![]() |
|
Thread Tools |
#1
|
|||
|
|||
Adding a link to the navigation bar
I just upgraded to vB4 and lost the custom navigation bar (and all my custom colors and styles) that I had painfully modified in my previous vB3 version.
Right now I'm looking to add ONE SIMPLE LINK to the default navigation bar (the bar that shows "New Posts Private Messages FAQ etc etc") before the "New Posts" link that says "Home" and links to the home page on my site. Unfortunately I'm not a vBulletin programmer and I'm a total newbie when it comes to this type of customization/modification, so please give me very detailed instructions. PLEASE don't refer me to the Articles forum, or tell me that there are a number of good threads already out there. I've already done a number of searches and found them all VERY confusing and not detailed or specific enough for my simple problem. Thanks in advance!!! No members have liked this post.
|
#2
|
|||
|
|||
Here you go - http://www.vbulletin.org/forum/showthread.php?t=228492
No members have liked this post.
|
#3
|
|||
|
|||
Hi Charlie98902,
Thanks for you help, but I've already looked at that thread and could not figure out how to adapt it to my needs. Sorry, but as I said I'm NOT a programmer and I dont know what "sample.php?" means. What I need is detailed instructions on how to insert the word "Home" on the navigation bar and have it linked to "http:\\www.MySite.com" Thanks, Steve No members have liked this post.
|
#4
|
||||
|
||||
There is the code but to place it you'll want to read how to put it in the right place, this isn't hard as I use it too. Of course replace the mysite.com part to the right URL. Then copy and paste. No members have liked this post.
|
#5
|
|||
|
|||
Once again, thanks Charlie, but I need to have detailed instructions on EXACTLY where the right place to put it is, and EXACTLY how to put it there.
Thanks, Steve No members have liked this post.
|
#6
|
||||||||
|
||||||||
Find in the navbar template:
Add below:
Don't forget to replace yoursite.com part. This is the easiest way to do it and the only. There is no plugin to do this for you. No members have liked this post.
|
#7
|
||||
|
||||
To avoid having the edit the template you can do this too. Both are only going to appear when the forum tab is active.
Populate $template_hook['navbar_start'] using hook process_templates_complete. Create a new plugin on hook process_templates_complete Use this php code. Edit the link as necessary.
__________________
Add a photo gallery garage to your auto forum and get noticed by your members. Find out how at the vBulletin Computer Help Forum. An informed rider makes their first destination the motorcycle forum at rider info. No members have liked this post.
|
#8
|
||||
|
||||
Yep works well too. Can you change
and add your personal url there instead too? As I use the mod I provided here but for another purpose. No members have liked this post.
|
#9
|
|||
|
|||
Hi Charlie,
That worked, but there's two problems: 1) The words "New Posts" are highlighted 2) When I move the cursor over the words "New Posts" both "Home" and "New Posts get underligned. No members have liked this post.
|
#10
|
||||||||
|
||||||||
Originally Posted by Charlie98902
Sure, you can make it anything you want. ![]()
For instance.
__________________
Add a photo gallery garage to your auto forum and get noticed by your members. Find out how at the vBulletin Computer Help Forum. An informed rider makes their first destination the motorcycle forum at rider info. No members have liked this post.
|
#11
|
|||
|
|||
Charlie: Thank you so much for that line of code!!!
With a little playing around, I was able to put it in the header underneath the logo and it works great there. I REALLY appreciate your assistance. Sincerely, Steve No members have liked this post.
|
#12
|
|||
|
|||
Thanks noppid. You're welcome steve, glad I was able to help some.
No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 02:46.