vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




[Vbulletin 3.5.X] Customized Navbar V.02

Dj Xclusive
02-06-2006, 12:19 PM
Author: Dj Exclusive
Version: V.02
File Edits: 0
Template Edits: 1
Difficulty: Easy
Install Time: 1 min.

Description:
Adds a drop down menu on your navbar which contains links you add through the ACP.


##################################################

FAQ's

Q: Why am I recieving this error (may be different for you)

PHP Code:
MySQL Error : You have an error in your SQL syntax.
Check the manual that corresponds to your MySQL server version
for the right syntax to use near 'Messages = 'a:4:{s:17:"custom_link_added\";s:44:\"The custom li


A: You may have uploaded the wrong product XML.
Try uploading the other product XML.


Q: The link doesn't look right on the navbar
A: While on your forums view the source and search for id="navbar_search"
To the right should be "class" (For the default skin the class is "vbmenu_control")

Edit the navbar template
Find:

PHP Code:
<td id="custom_links" class="vbmenu_control">


Replace the "class" so it's the same as the search's class.
Let's say you're class is "nav_element" then it should look like this

PHP Code:
<td id="custom_links" class="nav_element">


Open the product xml in an editor
Find:

PHP Code:
<td class='vbmenu_control'>


Replace with your class.

PHP Code:
<td class='nav_element'>




Q: Where are all the upgrade files located?
A: I have created a seperate folder in the archive specifically for upgrades
################################################## ###############

To get this to work with CMPS (Thanks To: drl2005 of vbulletin.org)

Code:
In your CMPS settings under Portal Output Global Variables place:
custom_droplinks
custom_singlelinks

Screen Shots are in the attached file

Mr. J Jones
03-26-2006, 03:14 PM
Thanks, but where can I find the option to change the links in the AdminCP I have installed this and edited the right places.

Example where can I find this (in the ACP): http://img156.imageshack.us/img156/9154/navvybar0lj.png

noppid
03-26-2006, 04:47 PM
Nice hack DJ.

Mr. J Jones
03-26-2006, 05:11 PM
Nice hack DJ.

It is, do you know where I can find my options in the ACP? :wave:

Loco.M
03-26-2006, 08:34 PM
i bet under vboptions ;) My. J Jones

nice hack dj, thc for sharing


can i make more then one set of custom links ?

like one set of 5 or w/e then another link that is a set of 5 ?

if not, can I suggest that :D

okay, I set things up and tested, and it makes the menues off align,, and I view source, and I see class =vbmenu_control so thats not the proble ? or it is, I'm a little lost about that.

this hack is something I've needed, but would like to have an options to make more then one group, and also be able to give that group the name I want :)

/me would click install..:D

Mr. J Jones
03-26-2006, 11:17 PM
i bet under vboptions ;) My. J Jones

nice hack dj, thc for sharing


can i make more then one set of custom links ?

like one set of 5 or w/e then another link that is a set of 5 ?

if not, can I suggest that :D

okay, I set things up and tested, and it makes the menues off align,, and I view source, and I see class =vbmenu_control so thats not the proble ? or it is, I'm a little lost about that.

this hack is something I've needed, but would like to have an options to make more then one group, and also be able to give that group the name I want :)

/me would click install..:D

Can't seem to find it in vBoptions any idea what name it might be under?

noppid
03-27-2006, 08:13 AM
It is, do you know where I can find my options in the ACP? :wave:

I didn't install it. I do most of my code by hand now. 2 years ago I wrote a similar hack to display links. It's at vbulletin.org called vb countdown.

Mr. J Jones
03-27-2006, 11:09 AM
Thats cool, only if I can find the damned options. :mad: Lol.

Loco.M
03-27-2006, 09:33 PM
thx noppid I'm going to go check out your hack, I usually make all my links myself, but if I can save a little time I'll give t a shot
if this is the hack, I don't think it's similar ? oh maybe I don't really know what the one in this thread is for, because they deem very different.
http://www.vbulletin.org/forum/showthread.php?t=98781
btw I think I've used this before, I'm sure i did in the 3.0.x version :)


Mr. J Jones: I've added a screen shot

Mr. J Jones
03-27-2006, 10:37 PM
Thanks. :(

I must have Installed it wrong.

Loco.M
03-28-2006, 12:21 AM
there is the updated version at vb.org i have it working on locoforum

noppid
03-28-2006, 08:38 AM
thx noppid I'm going to go check out your hack, I usually make all my links myself, but if I can save a little time I'll give t a shot
if this is the hack, I don't think it's similar ? oh maybe I don't really know what the one in this thread is for, because they deem very different.
http://www.vbulletin.org/forum/showthread.php?t=98781
btw I think I've used this before, I'm sure i did in the 3.0.x version :)


Mr. J Jones: I've added a screen shot

The hack you linked to puts up a list of links to events that you can count the days down to. It's similar in that you can make the link list from the ACP.

I like how DJ did the dynamic navbar though. That is something every vB admin can use. Mine is for forums that track events or something coming up in a vBA module.

Loco.M
03-28-2006, 06:28 PM
The hack you linked to puts up a list of links to events that you can count the days down to. It's similar in that you can make the link list from the ACP.



ah ya, I can see how they are similar in that aspect.

I really enjoy how Dj did this too, I don't really understand that way to make drop downs in the navbar, you have to edit code two times and stuff.. I guess I've just never messed with it long enough to figure it out..lol

noppid
03-28-2006, 06:51 PM
Yes the drop downs can be confusing. Perhaps if you copied the templates to a syntax highlighting editor they would make more sense? There are some comments in there too.

Concrete Angel
06-23-2006, 05:22 AM
Ok I have a slight problem....


Can someone run over to me on how to fix this.

Ok, I have chat rooms, I want to be able to place the room links under one drop down menu. But instead it puts it under extras. I could put my game link and Radio player link tehre. But I want a sperate link liek that, and I don't know how to do it. I'll keep messing around with it until I find it while checkign up on my answer here in the meantime.


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum