View Full Version : Miscellaneous Hacks - Additional navbar with dropdowns
attroll
12-25-2007, 10:00 PM
After upgrading and supporting my 3.0.0 (https://vborg.vbsupport.ru/showthread.php?t=65198) and 3.5.3 version (https://vborg.vbsupport.ru/showthread.php?t=106875) of this hack, I have decided it was time to step into the plugin world to make this easier for people to use.
Despite what category this is in it works with vBulletin 3.0 up to the most recent version of 3.8.
What this does is create another navbar with drop down menus by typing $navbar2 in any of your templates. It is just like the navbar that comes with VB.
I put a lot of description tags in the navbar2 template that gets installed to help explain what everything does. Once you understand what is going on here you can removed these. With very little modifications you can add to, remove or move items around in this additional navbar.
Upgrade
To upgrade you will want to reimport this XML file and edit your options accordingly.
1.02
Tweak it a bit to get the border on the top of the navbar. There was not boarder on the top of the navbar in the previous version. It was not really noticeable unless you have the navbar directly below the header area.1.01
removed the plugin with the Hook "parse_templates" because it was not need.
Added plugin with the Hook ?global_start?, this will work with, PhotoPlog, vBAdvanced, Arcade. This will alleviate having to manually add code in the php files as was required in the past.1.00
Initial release.To install the this
1. Download the zipped file.
2. Unzip the file.
3. Import the product-navbar2.xml into your Plugins & Products? Manage Plugins.
4. Next you will have to decide where you want the navbar2 to be displayed. I have included a few options below.
5A. Under current (original) Navigation bar:
Find:
<!-- / breadcrumb, login, pm info -->
Below that place:
$navbar2
5B. On top of forums tables:
Find:
<!-- / PAGENAV POPUP -->
</if>
Below that place:
$navbar2
5C. Top of current navbar:
Find:
<br />
<!-- breadcrumb, login, pm info -->
Above that add:
$navbar2
5D. Under your header:
Find:
<br />
<!-- breadcrumb, login, pm info -->
Below that add:
$navbar2
5E. Under VB navbar:
Find:
<!-- / nav buttons bar -->
Below that add:
$navbar2
Note:
This should now work with vBAdvance CMPS, Arcade, PhotoPlog with no other modifications. Many thanks to Mike-D for his help with this.
SwollenCranium
12-26-2007, 01:34 AM
Thanks !
Quick Question.. Might be unrelated but where in the style do you find the options for the dropdown offsets? My dropdowns are about an inch to the left of the drop down navbar item?
attroll
12-27-2007, 04:20 AM
Quick Question.. Might be unrelated but where in the style do you find the options for the dropdown offsets? My dropdowns are about an inch to the left of the drop down navbar item?
It depends on how many links you have in your navbar2.
Here is an example of a navbar2 with three links and how it works.
If you only have three links, what it does is divide your navbar2 up into three somewhat event portions. Then when you click on a link that has a drop down menu, what it does is place your drop down menu in the start of that portion of the navbar2 where that link starts. I hope this makes a little sense.
To try and better see what I mean go into you navbar2 template and look at the third line. You will see a line that looks like this:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
In that line change border="0" to border="4" and save the template. Now when you look back at you navbar2 you will see the border and see what I mean about it placing the box to the far left of that portion of the navbar2 that the link is in.
I tried finding a way around this and making it center to the portion of the navbar that the link is in but I could not figure it out. I believe it is in the javarscript that is doing that.
Hornstar
12-27-2007, 10:15 AM
Thanks, I used to use your old one until I got my new skin, it didnt seem to like it however I will give this one a go again, and see if my skin likes it better now. Thanks :)
AWMGolfer
12-27-2007, 04:34 PM
I am completely new to vBulletin so I'm still getting used to how it all works compared to the other forums I have used. I have installed this but where do I go to actually insert the location of navbar2, is it put in a file or somewhere else? Thanks for all the help to this newbie :)
I got it figured out!!
I can't install the product, getting this vb message:
XML Error: XML_WAR_UNKNOWN_VERSION at Line 117
powerful_rogue
01-12-2008, 05:51 PM
Just wanted to say that its working great apart from in a few sections of my forum.
Im running ibProArcade and when you enter the arcade the navbar does not show.
Im also using VbAdvance CMPS - Ive added the navbar2 into the global variables, however the drop down links dont show.
Apart from that it works nicely :)
attroll
01-12-2008, 06:46 PM
Just wanted to say that its working great apart from in a few sections of my forum.
Im running ibProArcade and when you enter the arcade the navbar does not show.
Im also using VbAdvance CMPS - Ive added the navbar2 into the global variables, however the drop down links dont show.
Apart from that it works nicely :)
I know this worked for someone else. You may want to try this.
Arcaded hack. You will need to go into your darcaded hack and edit a line. Here are the directions:
Go to you arcade/functions/functions.php
open it with a text editor:
Find:
global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox;
global $forumjump, $timezone, $logincode, $_USEROPTIONS, $scriptpath, $admincpdir, $modcpdir, $quickchooserbits;
Replace with:
global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox;
global $forumjump, $timezone, $logincode, $_USEROPTIONS, $scriptpath, $admincpdir, $modcpdir, $quickchooserbits, $navbar2;
Also try setting you default CMPS settings to Process PHP File Modules Within A Function to YES.
powerful_rogue
01-12-2008, 10:12 PM
Thanks for the reply :)
The arcade alteration worked a wonder. Thank you :)
Ive checked my CMPS setting and already had it set to yes.:erm: - Any other ideas at all?
attroll
01-13-2008, 04:57 AM
Thanks for the reply :)
The arcade alteration worked a wonder. Thank you :)
Ive checked my CMPS setting and already had it set to yes.:erm: - Any other ideas at all?
Did you try doing this?
vBadvance CMPS using vB 3.5 or higher. To get this working with the homepage you will have to do the following.
Go into your ADMINCP-->vBa CPMS-->Default Setting-->Portal Output Global Variables and add navbar2 in the block there and save it.
attroll
01-13-2008, 05:02 AM
Ah, I just upgraded one of my sites to VB 3.7 tonight and I just remembered I had the same problem with both the navbar and navbar2 navigation bars. I had to revert vBulletins template and then insert $navbar2 back into it and then it worked.
edytwinky
01-14-2008, 11:29 PM
For some reason it keeps showing above my main navbar. I can't get it to appear below my main navbar.
attroll
01-14-2008, 11:56 PM
For some reason it keeps showing above my main navbar. I can't get it to appear below my main navbar.
Find:
<!-- / nav buttons bar -->
Below that add:
$navbar2
edytwinky
01-15-2008, 01:09 AM
Do I put this in my navbar template?
If so I did that and it's appearing below my main navbar but then the advanced search box appears right underneath that.
attroll
01-15-2008, 01:18 AM
Do I put this in my navbar template?
If so I did that and it's appearing below my main navbar but then the advanced search box appears right underneath that.
Yes in the navbar template.
I don't understand what you mean by the advanced search box appearing right under that.
edytwinky
01-15-2008, 02:08 AM
Here's what i mean:
https://vborg.vbsupport.ru/external/2008/01/26.jpg
There's a space between the two navbars and then the search thing is below that.
attroll
01-15-2008, 05:32 AM
Here's what i mean:
https://vborg.vbsupport.ru/external/2008/01/26.jpg
There's a space between the two navbars and then the search thing is below that.
Something is not right in you navbar2 template I think. Send me a PM and I will send you my email so you can send me your navbar2 template and I will have a look.
s3nt3nc3d
01-17-2008, 08:05 AM
Edited: I am an idiot and have fixed my issue. Thanks for this little hack. I've been trying to get my custom drop-downs working for over a week and this finally helped me accomplish that.
accessdeniedzzz
01-19-2008, 09:38 PM
where can i edit the links ?
attroll
01-20-2008, 12:07 AM
In the navbar2 template that is in you navbar templates.
vnairp11
01-26-2008, 03:03 AM
Thanks a lot for this mod ur da man!
here is a tip!
add this before all the codes in navbar2 template
<if condition="!$show['guest']">
blah blah cod code code
add this at the end of all the codes in navbar 2 template
</if>
what it does: displays the navbar to registered users only.
Leo Brazil
01-29-2008, 04:49 PM
I was cheking all the posts including the the thread for the last version and I couldn't see any screenshoots or any comments about how to set the new Navbar links and names.
Sorry if this may sound stupid, I'm just a newbie...I know...But your mod seems to be great, you've been done a great support in all of your threads, I just want to be sure I'll be able to do it, you know...
Is this version compatible with 3.6.8 ? Or better to go for the last version ?
Thank you.
attroll
01-29-2008, 05:25 PM
Yes this version will work with 3.6.8.
To change the template and add more links to this navbar you need to do that in your templates in admin for the template "navbar2".
:Judge:
02-03-2008, 04:24 AM
I can't install the product, getting this vb message:
XML Error: XML_WAR_UNKNOWN_VERSION at Line 117
For this error just replace.. (first line of code in the XML file.)
<?xml version="3.7.0" encoding="ISO-8859-1"?>
with this here..
<?xml version="1.0" encoding="ISO-8859-1"?>
Simple error :)
Leo Brazil
02-06-2008, 11:30 AM
Yes this version will work with 3.6.8.
To change the template and add more links to this navbar you need to do that in your templates in admin for the template "navbar2".
Just to give you and others here a feedback. It does work great for 3.6.8.
Easy to install and deal with the tamplate for navbar2. There's a lot of comments there to help newbies like me to deal with.
Just perfect, MOTM for sure.
Just one thing ? How about a third navbar ?
attroll
02-06-2008, 12:50 PM
Just to give you and others here a feedback. It does work great for 3.6.8.
Easy to install and deal with the tamplate for navbar2. There's a lot of comments there to help newbies like me to deal with.
Just perfect, MOTM for sure.
Just one thing ? How about a third navbar ?
A third navbar. Are you serious? This could be done but I can not see where anyone would want a third navbar.
Leo Brazil
02-06-2008, 07:39 PM
A third navbar. Are you serious? This could be done but I can not see where anyone would want a third navbar.
...lol...I knew you're gonna say that.....but I'm serious.....May be it would look better as a vertical bar at left or right. My forum deals with so many things that Navbars like that would be a good idea to lead people faster to what they want.
Thanks.
attroll
02-07-2008, 03:38 AM
...lol...I knew you're gonna say that.....but I'm serious.....May be it would look better as a vertical bar at left or right. My forum deals with so many things that Navbars like that would be a good idea to lead people faster to what they want.
Thanks.
Hmmm, I have been tossing around playing with a vertical navbar for this hack. I have one on one of my sites now but it is a totally seperate hack that I have tweaked a little more.
Leo Brazil
02-07-2008, 03:09 PM
attroll, see that ? That's what I'm talking about....lol....
Hey, don't forget me whem you publish this hack here. The nwebie here will be pretty glad for sure.
attroll
02-07-2008, 03:29 PM
attroll, see that ? That's what I'm talking about....lol....
Hey, don't forget me whem you publish this hack here. The nwebie here will be pretty glad for sure.
What type of vertical navbar would you like to see just a listing style?
Leo Brazil
02-07-2008, 05:54 PM
What type of vertical navbar would you like to see just a listing style?
I was thinking about a left column with the links one below another.
If you are familiar with the Vbadvanced, do you know the navigation module. The original one is kinda ugly, useful but looks bad.
With something like that I could use this column for this navigation module and also as a left column at the forum main page.
It's just an idea but I have an open mind....hehehe
attroll
02-08-2008, 03:38 AM
I was leaning towards something like this web site has www.appalachianpages.com/forum/ (http://www.appalachianpages.com/forum/)
attroll
02-08-2008, 05:51 AM
Leo Brazil
I have created a plugin for a left column navbar and installed it as a plugin and it works for me. If you would like to be my first test subject then let me know. Once someone else has tested this I will release it here as a new hack.
Leo Brazil
02-08-2008, 10:48 AM
attroll
That's the idea I have in mind, the same position and structure of this appalachianpages forum.
But this would be nice if you can incorporate the templates of the own forum, just like your navbar mod, do you know what I mean ? This way the columns will look stylish....lol...
Want me to try it ? Sure, no problem any time.
dirtycrow
02-15-2008, 01:23 PM
just upgraded to Version 3.7.0 Beta 5 and this mod no longer works.
attroll
02-16-2008, 09:37 PM
just upgraded to Version 3.7.0 Beta 5 and this mod no longer works.
What did you upgrade from? It should still work.
odln018
02-22-2008, 03:31 PM
Unfortunately, this doesn't seem to be working for me. I've got a second navbar, that I created in my header. I installed this to see what it looks like, and to test how I can modify it for my needs. But I'm not sure if it's conflicting or not, as I can't see this mod at all.
I am running 3.7 b4
hi
sorry new to this but how do i change the button name and links
no need to worry figured it out :$
attroll
02-24-2008, 08:12 PM
just upgraded to Version 3.7.0 Beta 5 and this mod no longer works.
I just upgraded my test site to Beta 5 and installed this hack and it works fine.
odln018
02-25-2008, 05:22 PM
Unfortunately, this doesn't seem to be working for me. I've got a second navbar, that I created in my header. I installed this to see what it looks like, and to test how I can modify it for my needs. But I'm not sure if it's conflicting or not, as I can't see this mod at all.
I am running 3.7 b4
Still need some guidance on this.
Thanks!
Skitty
02-26-2008, 10:05 PM
Great hack, thank you ! Much more elbow room now :)
attroll
02-28-2008, 05:13 AM
Unfortunately, this doesn't seem to be working for me. I've got a second navbar, that I created in my header. I installed this to see what it looks like, and to test how I can modify it for my needs. But I'm not sure if it's conflicting or not, as I can't see this mod at all.
I am running 3.7 b4
You say you have a second navbar in your header now. Then it is obviously working if it is displaying a second navbar.
Is this working or could you explain a little more?
ArnyVee
03-19-2008, 11:43 PM
Great hack. Installed and working nicely. :)
Can this be added to my vBadvanced 'homepage' too?
www.WaltDisneyBoards.com
Also, I'm new to this stuff....how do I edit the names of the links and where they point to?
attroll
03-20-2008, 04:03 AM
Great hack. Installed and working nicely. :)
Can this be added to my vBadvanced 'homepage' too?
www.WaltDisneyBoards.com (http://www.WaltDisneyBoards.com)
Also, I'm new to this stuff....how do I edit the names of the links and where they point to?
Yes it should display on you CMPS page. You will have to go into your ADMINCP--> vBa CMPS--> Default Settings and find you Portal Output Global Variablesand add this in the block navbar2.
Then double check and make sure it got added ot the home page with the page identifer of "home" and make sure that it got placed in the Portal Output Global Variables there also.
joeycano
03-20-2008, 10:48 AM
How do I move "Log Out" to the top navbar???
:)
Leo Brazil
03-20-2008, 01:04 PM
Can this be added to my vBadvanced 'homepage' too?
I used another mod Atroll gave me to be used as navbar3 but I've changed to be used in VbA instead of the Nagigation block that's not so good as it comes.
It did work pretty good to me.
Atroll, if you want to publish it here as an option for a VbA module I can give you all I did. 100% of credits goes to you obviously.
attroll
03-20-2008, 04:02 PM
I used another mod Atroll gave me to be used as navbar3 but I've changed to be used in VbA instead of the Nagigation block that's not so good as it comes.
It did work pretty good to me.
Atroll, if you want to publish it here as an option for a VbA module I can give you all I did. 100% of credits goes to you obviously.
I would be more then happy to post it. I just sent you a PM.
Sworm
03-20-2008, 04:19 PM
Hi,
i've a photoplog installed on my vB forum 3.7 RC1 ,
how can i do for showing this nav bar in the index of my photoplog?
My photoplog folder is in the same directory of the "forums" (vB folder) folder....
anybody can help me?
Leo Brazil
03-20-2008, 08:06 PM
Atroll,
I've just sent you an e-mail with the VbA module. Take a look on it and try it.
attroll
03-21-2008, 04:10 AM
Atroll,
I've just sent you an e-mail with the VbA module. Take a look on it and try it.
Thank you. I am working up the hack right now getting it ready to post.
attroll
03-21-2008, 04:23 AM
For those interested in using this as a side navbar then you can look at the Additional side navbar (https://vborg.vbsupport.ru/showthread.php?t=173677) hack to see if it interest you.
madotds
03-25-2008, 02:02 AM
Hi
Thanks for the hack :)
Could someone please help me with this? I am tring to get it so that this navbar only shows to usergroup Id 12 but can't seem to get the right code I have tried things like
<if condition="!$show['userid']=12">
But cant get it to work. Can someone tell me the right way?
Regards
Madotds
Preech
03-25-2008, 02:12 AM
I'm not great at the coding and all. But shouldn't it be usergroupid and not userid.
madotds
03-25-2008, 02:59 AM
I'm not great at the coding and all. But shouldn't it be usergroupid and not userid.
Yes you are right cheers but still not working using <if condition="!$show['usergroupid']=12">
!!!!! :) thankyou Preech for making me look at my code again. As you can see above for some reason I managed to put a ! before $show and this was messing it up. Now sorted using <if condition="$show['usergroupid']=12">
Regards
Madotds
attroll
03-25-2008, 03:33 AM
Madotds
I believe the code you are looking for is this:
<if condition="is_member_of($bbuserinfo, 12)">
madotds
03-25-2008, 04:13 AM
Madotds
I believe the code you are looking for is this:
<if condition="is_member_of($bbuserinfo, 12)">
Thank you :)
powerful_rogue
04-07-2008, 11:15 PM
Hi,
Im really hoping someone can help as im really stuck!
The 2nd navbar works fine, until you log out and then is vanishes!
I have no idea whats causing this! It was fine on the forum, arcade and portal when logged in, but its no-where to be seen once you log out.
It worked fine on my test site, so im at a loss as to whats casuing this!
attroll
04-08-2008, 03:10 AM
Hi,
Im really hoping someone can help as im really stuck!
The 2nd navbar works fine, until you log out and then is vanishes!
I have no idea whats causing this! It was fine on the forum, arcade and portal when logged in, but its no-where to be seen once you log out.
It worked fine on my test site, so im at a loss as to whats casuing this!
My guess is that if it worked fine on you test site that it must be a mod or hack you have installed in your live site. The first thing i would do is try disabling all your plugins and see if you still have the problem.
powerful_rogue
04-08-2008, 01:13 PM
I worked out what it was.
If you have your forum closed and then log out, navbar2 vanishes.
Looks like its only a bug when you have your forum closed - took me a couple of hours to find it out!
Poppet
04-13-2008, 09:46 AM
Just installed it on 3.7 RC3 and it works great.
myown
05-04-2008, 05:53 PM
what about 3.7 Gold did it worked?
attroll
05-04-2008, 07:47 PM
I installed this in 3.7 Gold and it works fine.
odln018
05-07-2008, 03:14 PM
You say you have a second navbar in your header now. Then it is obviously working if it is displaying a second navbar.
Is this working or could you explain a little more?
I can't believe I overlooked this.
I've got a custom skin, that uses images as buttons, I can't seem to get the second navbar to incorporate these images. I can provide a link to the site via PM if you like.,
attroll
05-07-2008, 04:16 PM
I can't believe I overlooked this.
I've got a custom skin, that uses images as buttons, I can't seem to get the second navbar to incorporate these images. I can provide a link to the site via PM if you like.,
If you want to PM me and send me the navbar2 that your trying to use, I will see if I can figure it out.
Jason Buchanan
05-17-2008, 05:06 AM
I am using the default style and when I try to get the 5A results it looks more like 5C? Any ideas?
Trickle
05-17-2008, 05:30 PM
For 5D it took me some time but its not located in the header as suggested. I had to add $navbar2 in my navbar template. Using VB 3.7.0 Gold.
Trickle
05-17-2008, 06:29 PM
Just wanted to say that its working great apart from in a few sections of my forum.
Im running ibProArcade and when you enter the arcade the navbar does not show.
Im also using VbAdvance CMPS - Ive added the navbar2 into the global variables, however the drop down links dont show.
Apart from that it works nicely :)
Getting the same problems as mentioned above.
Tried the arcade functions.php idea and no go still
Checked the vba CMPS and the Process PHP File Modules Within A Function was already checked yes.
You mentioned about reverting vbulletin templates....which one?
Thanks
Edit:Well I'm confused as all hell. I know its got to be something simple. On my CMPS page its missing the second nav bar but I did notice that the arcade link is wrong. I can't figure out how to edit it correctly to have forums/arcade.php
Edit: Ok so now I uninstalled CMPS and reinstalled it and that fixed my missing double navbar issue. I also added arcade.php to my 'Navbar Replacements' under 'Global vBadvanced Settings' in the 'vBadvanced CMPS Options' in your Admin Cpanel BUT I am still having issues with the ibproarcade not showing a double nav bar.
Trickle
05-20-2008, 02:54 AM
Must have been a space in there some where from letting it work properly. I copied and pasted this time instead of manually adding it and it worked? Go figure.
How about a hint to get it to show up when I click on the new post link when there isn't any new posts?
Thanks
redlabour
05-20-2008, 10:32 AM
Useless if the Links are not editable from a real AdminCP Menu.
Alex@Mk3OC
05-23-2008, 12:47 AM
I want to get this to display right at the top of my forums above my header, but can't figure out where i need to put it? Any help greatly appreciated
attroll
05-29-2008, 05:09 AM
I want to get this to display right at the top of my forums above my header, but can't figure out where i need to put it? Any help greatly appreciated
What are you calling you forums header? If I understand correctly I think you mean 5B as shown in the attachments that I have included in the first post of this thread.
attroll
05-29-2008, 05:11 AM
How about a hint to get it to show up when I click on the new post link when there isn't any new posts?
Thanks
I have to admint that I have tried to figure out how to do this and I am stumped. If anyone can figure this out please let me know and I will include it in an update.
Alex@Mk3OC
05-30-2008, 12:16 PM
What are you calling you forums header? If I understand correctly I think you mean 5B as shown in the attachments that I have included in the first post of this thread.
I'm calling the logo at the top left of the forums my header. I want the navbar right at the very top of the page
attroll
05-30-2008, 03:17 PM
I'm calling the logo at the top left of the forums my header. I want the navbar right at the very top of the page
If you want it at the very top of your page.
Go to your header template and find:
<a name="top"></a>
After that put:
$navbar2
dt_truck11
05-31-2008, 12:39 AM
*installed*
DawnsWebDesigns
06-01-2008, 01:03 AM
Did you try doing this?
vBadvance CMPS using vB 3.5 or higher. To get this working with the homepage you will have to do the following.
Go into your ADMINCP-->vBa CPMS-->Default Setting-->Portal Output Global Variables and add navbar2 in the block there and save it.
I had the same problem with both my arcade & my CMPS home page. Thanks for the help you all. These things worked perfectly. :)
Erm i get this on new thread....
Any fixes? please
Thanks =]
Btw, works perfectly for everything else, wonderful modification
UK-Biker
06-07-2008, 02:00 PM
attroll
Is there a way to switch the navbar and your navbar2 so the default navbar is above and navabr2 is below.
Ie; so they are the reverse of what is shown is screenshot 'D'.
Thanks
badblu01
06-07-2008, 10:22 PM
is it possible to creat a navbar with just the login / logout link and register link
attroll
06-07-2008, 10:39 PM
attroll
Is there a way to switch the navbar and your navbar2 so the default navbar is above and navabr2 is below.
Ie; so they are the reverse of what is shown is screenshot 'D'.
Thanks
Yes this can be done
got to this location in you navbar:
<!-- / breadcrumb, login, pm info -->
Cut everything between that and this:
<!-- / nav buttons bar -->
Now paste it under the first line at the top of the navbar which should be <br />
attroll
06-07-2008, 10:40 PM
is it possible to creat a navbar with just the login / logout link and register link
Yes this could be done with some coding changes.
UK-Biker
06-08-2008, 07:00 PM
Yes this can be done
got to this location in you navbar:
<!-- / breadcrumb, login, pm info -->
Cut everything between that and this:
<!-- / nav buttons bar -->
Now paste it under the first line at the top of the navbar which should be <br />
Thankyou very much
Sort of done that hack along with a bit of moving links between navbar and navbar2 to get what I wanted, but works a treat.
Top Job ;)
Desesperao
06-10-2008, 10:46 PM
Hi everybody,
I have installed this hack but I have a problem now.
The extra navbar appears in all sections but not in the Arcade section.
Here appears:
http://www.foromotos.com/
But not here:
http://www.foromotos.com/arcade.php?
How can I resolve it?
Many thanks. GREAT HACK!!.
attroll
06-11-2008, 02:43 AM
Hi everybody,
I have installed this hack but I have a problem now.
The extra navbar appears in all sections but not in the Arcade section.
Here appears:
http://www.foromotos.com/
But not here:
http://www.foromotos.com/arcade.php?
How can I resolve it?
Many thanks. GREAT HACK!!.
I just added some instructions in the first post of this hack that has helped others in the past that have arcade.
Desesperao
06-11-2008, 02:53 PM
Sorry, I didnĀ“t see it.
Many thanks!!.
Mike-D
06-23-2008, 09:42 AM
I just happened to see that Thread and some Posts regarding the problem, that the extra navbar doesn't appear in all sections (PhotoPlog, vBAdvanced, Arcade...). My Code is different than yours but I still use the same Plugins. What you have to do is as follows...
Create an new Plugin with the Hook "global_start" and its Code as below...
<plugin active="1" executionorder="5">
<title>navbar2 plugin part #2</title>
<hookname>global_start</hookname>
<phpcode><![CDATA[$insert = '$navbar2';
// Insert above Info into Template 'navbar'
$vbulletin->templatecache['navbar'] = str_replace($insert,$insert.fetch_template('navbar 2'),$vbulletin->templatecache['navbar']);]]></phpcode>
</plugin>
After you should remove the Plugin with the Hook "parse_templates" because it doesn't need anymore. Now it works in all sections :)
attroll
06-23-2008, 02:58 PM
I just happened to see that Thread and some Posts regarding the problem, that the extra navbar doesn't appear in all sections (PhotoPlog, vBAdvanced, Arcade...). My Code is different than yours but I still use the same Plugins. What you have to do is as follows...
Create an new Plugin with the Hook "global_start" and its Code as below...
<plugin active="1" executionorder="5">
<title>navbar2 plugin part #2</title>
<hookname>global_start</hookname>
<phpcode><![CDATA[$insert = '$navbar2';
// Insert above Info into Template 'navbar'
$vbulletin->templatecache['navbar'] = str_replace($insert,$insert.fetch_template('navbar 2'),$vbulletin->templatecache['navbar']);]]></phpcode>
</plugin>
After you should remove the Plugin with the Hook "parse_templates" because it doesn't need anymore. Now it works in all sections :)
Mike-D
The vBAdvance CMPS all you have to do it add ?navbar2? to the Portal Output Global Variables in the control panel.
It is pretty much the same for the arcade. You only have to add ?$navbar2? to your arcade/functions/functions.php.
I can not speak for PhotPlog because I have never heard anyone complain about that one so I have never had a reason to look into it.
I know in the older versions of this hack that I made placing this code in ?global_start? did not fix the problem and that is why I switch hook location.
If someone with arcade wants to verify this by removing ?$navbar2? from there arcade/functions/functions.php and then adding this code I will rewrite the plugin and add this code to it. Like I said in the past though this would not work in previous versions so before adding the code again to the plugin I would need someone else to verify it. It is not that I do not trust you. I just want a second person verifying this before I add the code to this hack because I do not have arcade on any of my sites. My sites are not gaming sites.
Mike-D
06-23-2008, 05:56 PM
Dear attroll :),
I do know that we have several ways to out the $navbar2 variable in the global field of vBA or PhotoPlog. Surely it works also, but a long time before, I put lots of Navbar code into the TMS. Later I noticed that my navbar code was totally overloaded. So I decided to write my own Hack regarding a second navbar. While using TMS I never got any problems regarding the global variables in my navbar. After removing the navbar code of TMS I saw that problem and I solved it with that Plugin I mentioned. That was the reason too after I saw your Thread here so I thought to tell you how I solved that problem at that time :) -Mike
Fireproof
06-23-2008, 08:44 PM
What controls the height of the additional navbar? My navbar2 is thicker (taller) than my original navbar. Have a look: http://www.clutchfitness.com
I would like to have it the same size. Please help.
MorrisMcD
06-23-2008, 11:48 PM
There is one more place I have an issue of the navbar2 not showing up.. When you click new posts and there are no new posts, You get the message
"Sorry, there are no new threads to view.
You may search for threads updated during the previous 24 hours, here."
No navbar2... I tried Mike's plugin to see if it would show up with this.. It didn't work. It also makes my mood manager hack in the navbar disappear. So I removed that
Arcade and cmps work great though by doing what you suggested, tyvm.. Any idea on the 'no new posts' page?
attroll
06-24-2008, 04:26 AM
Dear attroll :),
I do know that we have several ways to out the $navbar2 variable in the global field of vBA or PhotoPlog. Surely it works also, but a long time before, I put lots of Navbar code into the TMS. Later I noticed that my navbar code was totally overloaded. So I decided to write my own Hack regarding a second navbar. While using TMS I never got any problems regarding the global variables in my navbar. After removing the navbar code of TMS I saw that problem and I solved it with that Plugin I mentioned. That was the reason too after I saw your Thread here so I thought to tell you how I solved that problem at that time :) -Mike
Thank you very much for you help Mike-D. I was in a hurry when I last replied and did not have time to test it out. I have upgraded the hack and made the changes you recommended. They fixed all the missing locations where the navbar2 was not showing up. I can not speak for Arcade and PhotoPlog but I will take your word for it. I thanked you in the mode description.
attroll
06-24-2008, 04:29 AM
There is one more place I have an issue of the navbar2 not showing up.. When you click new posts and there are no new posts, You get the message
"Sorry, there are no new threads to view.
You may search for threads updated during the previous 24 hours, here."
No navbar2... I tried Mike's plugin to see if it would show up with this.. It didn't work. It also makes my mood manager hack in the navbar disappear. So I removed that
Arcade and cmps work great though by doing what you suggested, tyvm.. Any idea on the 'no new posts' page?
I just upgraded the zip file and if you download it and re-import the product and overwrite it then this should fix the problem of the navbar2 not showing up when there are not search results.
attroll
06-24-2008, 04:32 AM
What controls the height of the additional navbar? My navbar2 is thicker (taller) than my original navbar. Have a look: http://www.clutchfitness.com
I would like to have it the same size. Please help.
It should be the same as your default navbar. Did you change anything in you navbar2 template after you installed it?
MorrisMcD
06-24-2008, 04:47 AM
I just upgraded the zip file and if you download it and re-import the product and overwrite it then this should fix the problem of the navbar2 not showing up when there are not search results.
You completely and totally rock...
I know it was minor but one of my forum users in particular complained about it a lot... My wife.. lol
You have scored me points.. Ty again :)
attroll
06-24-2008, 05:07 AM
You completely and totally rock...
I know it was minor but one of my forum users in particular complained about it a lot... My wife.. lol
You have scored me points.. Ty again :)
Glad I could score you some points with your wife.
I really need to thank Mike-D for pointing this out to me and sending me in the right direction to getting it fixed.
Thanks Mike-D.
Poppet
06-24-2008, 10:41 AM
Just upgraded and it works with Photoplog now. Excellent work :D
Fireproof
06-24-2008, 01:29 PM
It should be the same as your default navbar. Did you change anything in you navbar2 template after you installed it?
Well, I had to tweak it a bit to get the border style to match my other one. I probably screwed something up since I don't quite know XML that well - I'm a copy/paste hack. :p
Here's what I currently have:
<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
attroll
06-24-2008, 03:53 PM
Well, I had to tweak it a bit to get the border style to match my other one. I probably screwed something up since I don't quite know XML that well - I'm a copy/paste hack. :p
Here's what I currently have:
<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
Try this and let me know if it works. I just did it and it worked for me.
<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
If it works I will update the XML file again in this hack.
Fireproof
06-24-2008, 04:08 PM
Sorry for the trouble, but that didn't work for me. It removed the very thin border on the top edge, so I put it back like I had it.
Here is the code for my ORIGINAL navbar which is remaining thinner:
<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
But if you don't want to mess with this, I understand. :)
attroll
06-24-2008, 04:50 PM
Sorry for the trouble, but that didn't work for me. It removed the very thin border on the top edge, so I put it back like I had it.
Here is the code for my ORIGINAL navbar which is remaining thinner:
<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
But if you don't want to mess with this, I understand. :)
I tried putting it in the same location you have yours in and I get the same issue. I have tied several things and I am unsuccessful with it too.
I the reason that I think one navbar is thicker is because the dropdown icon that is in the top navbar is causing this. It is just a guess though.
Fireproof
06-24-2008, 06:33 PM
Strange. At least it's not just me. :D Maybe someone else will have an idea.
But at least it doesn't look bad that way - I would just prefer it if they were the same size.
Thanks for trying to help. It's really nice to see people support their mods and add-ons. :)
When I upload the .xml file I get this message:
No file uploaded and no local file found.
TrIn@dOr
06-26-2008, 02:35 AM
Great, confirmed 3.7.2
attroll
06-26-2008, 05:07 AM
When I upload the .xml file I get this message:
No file uploaded and no local file found.
Did you look at the .xml file and make sure it got unzipped properly and that it is not an empty file?
RedeemedWarrior
06-26-2008, 07:55 AM
love this mod :D
wwolf27
06-26-2008, 10:58 AM
I have looked through and I can't find the answer without bothering someone. I keep getting this when I go to import the product file. I appreciate any and all help in advance.
XML Error: XML_WAR_UNKNOWN_VERSION at Line 118
Scarface Claw
06-26-2008, 09:10 PM
Importing XML produces:
XML Error: XML_WAR_UNKNOWN_VERSION at Line 118
Trying to install on vB 3.7.1 Patch Level 2
attroll
06-27-2008, 03:01 AM
Importing XML produces:
XML Error: XML_WAR_UNKNOWN_VERSION at Line 118
Trying to install on vB 3.7.1 Patch Level 2
I tried this and could not duplicate this problem. Someone else had this problem before and here is what someone suggested https://vborg.vbsupport.ru/showpost.php?p=1435088&postcount=25. I never heard whether it worked out not though.
Scarface Claw
06-27-2008, 05:08 AM
Sorted, cheers bro.
You should probably make that part of the original XML
attroll
06-27-2008, 05:35 AM
Sorted, cheers bro.
You should probably make that part of the original XML
Yeah. I need to look into that to see what it actually does because like I said I had not problem with it. Yet some people have. it does not make sense.
wwolf27
06-27-2008, 05:42 AM
I tried this and could not duplicate this problem. Someone else had this problem before and here is what someone suggested https://vborg.vbsupport.ru/showpost.php?p=1435088&postcount=25. I never heard whether it worked out not though.
I looked at the first line of code in the XML file and mine say 3.7.0 like that person suggested in the link you submitted. Unless I was looking at the incorrect thing. I am new to this..I fired the person who normally does this and now doing it on my own, a whole 8 days now.
attroll
06-27-2008, 06:11 AM
I looked at the first line of code in the XML file and mine say 3.7.0 like that person suggested in the link you submitted. Unless I was looking at the incorrect thing. I am new to this..I fired the person who normally does this and now doing it on my own, a whole 8 days now.
Yeah, I just changed the XML file to reflect that so it should not happen to anyone again.
wwolf27
06-27-2008, 06:27 AM
o..ok, well I guess I will check back. I tried to go through it again tonight, still isn't working. Thanks for your time I greatly appreciate it.
Scarface Claw
06-27-2008, 09:32 AM
wwolf, attroll has updated the XML to reflect the new change, so you need to download the new XML and try that one.
The new one should work for you.
I was vB newbie only a month ago dude, and now I know a bit, its pretty easy to learn, just hang in there.
EDIT:
Bloody good mod BTW, it's just what I have been needing, nominated for MotM.
wwolf27
06-27-2008, 05:25 PM
wwolf, attroll has updated the XML to reflect the new change, so you need to download the new XML and try that one.
The new one should work for you.
I was vB newbie only a month ago dude, and now I know a bit, its pretty easy to learn, just hang in there.
EDIT:
Bloody good mod BTW, it's just what I have been needing, nominated for MotM.
I appreciate you clarifying that to me. Yes, it works now. Soon as I figure out how to change it to what I need it to say and do I will be good. LOL!! Thanks for the help and I do nominated for MotM.
attroll
06-30-2008, 12:22 AM
Strange. At least it's not just me. :D Maybe someone else will have an idea.
But at least it doesn't look bad that way - I would just prefer it if they were the same size.
Thanks for trying to help. It's really nice to see people support their mods and add-ons. :)
I have done some more research and found a fix to your problem. I have updated the xml file now to replect that. If you just want to fix this without reinstalling the xml file you can do it by changing the first two lines of the navbar2 template to the following:
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:1px; border-bottom-width:1px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
Fireproof
06-30-2008, 02:38 AM
I have done some more research and found a fix to your problem. I have updated the xml file now to replect that. If you just want to fix this without reinstalling the xml file you can do it by changing the first two lines of the navbar2 template to the following:
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:1px; border-bottom-width:1px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
Aha - that is so awesome! Worked like a charm - thank you so much for following up with this.
Much appreciated!! :up: :up:
vbboarder
06-30-2008, 05:02 PM
Thanks for this great mod! I have a feature request: can you start incrementing your mod version # whenever you update the mod - this would help us keep track of the versions. Even if it's a small change, adding a suffix would help, like 1.02b, 1.02c, etc. Also, can you add a changelog to your first post so that we can know what changed between versions without having to read through several posts. I think both of these small enhancements would be time-savers whenever updating. Thanks attroll for your fast & helpful support! ;)
attroll
07-01-2008, 06:16 AM
Thanks for this great mod! I have a feature request: can you start incrementing your mod version # whenever you update the mod - this would help us keep track of the versions. Even if it's a small change, adding a suffix would help, like 1.02b, 1.02c, etc. Also, can you add a changelog to your first post so that we can know what changed between versions without having to read through several posts. I think both of these small enhancements would be time-savers whenever updating. Thanks attroll for your fast & helpful support! ;)
Very good idea. I will do that from now on. I just posted the last two change logs in the description. Thank you for mentioning that.
Hugo Holbling
07-09-2008, 08:25 AM
[Figured it out...]
Perfect, may use it a few times, actually... navbar3, navbar4 etc. haha. :) Installed
ade5675
07-15-2008, 03:00 AM
Nice mod
***installed***
One quick question: How do you make the dropdown into two columns instead of one as my dropdown list is rather long.
Aresetyr
07-15-2008, 07:49 AM
Hi Guys,
a little question from me - maybe I am too tired for that shit so I have to bore you.
What if I want to add a Link which is NOT going to my forum... so e.g. (just an example) - what if my forum lies on the domain http://forum.sturume-veld.at and I want to have a Link to
www.sturume-veld.at how can I make this ?
Because when I just change the Link to "www.sturume-veld.at" and I click on it, I am forwarded to the Page "http://forum.sturume-veld.at/www.sturume-veld.at" and this is not existing.
Plz help ;)
Aresetyr
edit: Ok it was too early in the morning - sorry guys.. I just had to add a "http://" in front of my link to get an external Link... ;)
SSJB_7
07-15-2008, 11:42 AM
Perfect Thanks A Lot
ade5675
07-18-2008, 01:15 AM
Nice mod
***installed***
One quick question: How do you make the dropdown into two columns instead of one as my dropdown list is rather long.
anyone ?
GrendelKhan{TSU
07-31-2008, 05:45 PM
omg thank you!
been sooo waiting for this one. :)
Deimos
08-06-2008, 10:23 PM
Anyone having problems with XHTML validation?
Mine fails when using navbar 2, but I can't for the life of me, figure out why
It says- Line 38, Column 1126: end tag for "tr" which is not finished .
This is my navbar2 template
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
<if condition="$bbuserinfo[usergroupid] == 6">
<td class="vbmenu_control"><a href="$admincpdir/index.php$session[sessionurl_q]">AdminCP</a></td>
</if>
<if condition="$show['member']"><td class="vbmenu_control"><a href="misc.php?do=topposters">Top Posters</a></td>
<td class="vbmenu_control"><a href="view.php?pg=info_forumrules"><b>Rules/Donate</b></a>
</td>
</if>
</tr>
</table>
</div>
George_46
08-11-2008, 12:57 AM
Perfect Thanks A Lot :up:
:confused: Is there any different between:
<if condition="is_member_of($bbuserinfo, 12)">
And
<if condition="$bbuserinfo[usergroupid] == 12">
pmoney79
08-11-2008, 07:07 PM
If you want it at the very top of your page.
Go to your header template and find:
<a name="top"></a>
After that put:
$navbar2
I tried this and I get nothing displayed, source code of page is blank where I enter this code.
But if I move the "$navbar2" to the other positions in the instructions it does work and it comes up perfect.
How can I diagnose the problem?
ExTincTi0N
08-21-2008, 12:33 AM
Okay I kinda screwed up the template navbar2 and deleted almost everything can you post what should be there?
attroll
08-21-2008, 03:21 AM
Okay I kinda screwed up the template navbar2 and deleted almost everything can you post what should be there?
I have included what should be in the navbar2 template in a text file here. You will have to do your own editing to it though.
ExTincTi0N
08-21-2008, 07:07 PM
TY so much man.
shotkey
08-29-2008, 03:58 AM
Are there any plans to add ACP functionality like in these two navbar mods?
https://vborg.vbsupport.ru/showthread.php?t=166136&page=9&highlight=navbar
or
https://vborg.vbsupport.ru/showthread.php?t=120517
When you want a second navbar I've found many mod's that each do a little with a second navbar, but haven't found one that has your ability to select the navbars placement and administration of the menu/links from the ACP. Just a thought.
attroll
08-29-2008, 04:16 AM
Are there any plans to add ACP functionality like in these two navbar mods?
https://vborg.vbsupport.ru/showthread.php?t=166136&page=9&highlight=navbar
or
https://vborg.vbsupport.ru/showthread.php?t=120517
When you want a second navbar I've found many mod's that each do a little with a second navbar, but haven't found one that has your ability to select the navbars placement and administration of the menu/links from the ACP. Just a thought.
The first navbar you listed is the same link as this thread so that left me a little confused.
To answer your question. I do not have the time to put it in the admincp as you showed in the second link. It is so easy to modify as it is now as long as you know just a little HTML. I see no reason that it really needs to added to the admincp. It is pretty simple and straight forward now. Sorry, I know that is not the answer you wanted to hear.
shotkey
08-30-2008, 12:47 AM
attroll,
Sorry for the confusion - I added the wrong url. There is a another navbar mod that adds links to the second navbar from the ACP but doesn't have the option to adjust the position from the control panel. Understand about the time issue - seems we all have that in common! I agree - it is straight forward and appreciate all of the effort you've put into this just the way it is - great mod!
raviteja542
09-02-2008, 01:20 PM
good one
Daisyboo
09-03-2008, 02:10 PM
Great mod!
Not sure if I should ask here on the vBexperience thread but I want to add that link to navbar 2 instead on having it on navbar 1 but I can't find the code in my navbar template. Has anyone else moved it and what code is it I'm looking for?
Thanks :)
attroll
09-03-2008, 03:26 PM
It is not in the navbar template that you want to added code to the navbar2. If you want to add a link to the navbar2 then you need to do it in the navbar2 template.
To edit the navbar2 template go to you templates and look under Navagation / Breadcrumb Templates--> and you navbar2 template should be there.
Daisyboo
09-03-2008, 05:42 PM
Ahh yep but I'm not sure of the code I need to add, so I was looking in nav bar 1 where it is currently so I can copy it and add it to nav bar 2 (then delete it from nav bar 1)
But I can't see anything that looks like its referring to vBExperience so wondered if anyone knew what I was looking for :)
shotkey
09-04-2008, 02:22 AM
attroll,
It seems you have a lot of navbar experience, so maybe you can save me some time as I haven't found anything on the best way to do this - I would like to move some of the existing menu items from navbar to navbar2.
These items are from some of the installed mods from this forum and when you install them they are automatically inserted in the navbar - and these mods don't have any option in the ACP to redirect where the link appears.
So the question is what needs to be edited to make this change (i.e.,change .xml files? revise templates?, etc?) Just looking for the easiest way to accomplish this.
attroll
09-04-2008, 02:36 AM
Ahh yep but I'm not sure of the code I need to add, so I was looking in nav bar 1 where it is currently so I can copy it and add it to nav bar 2 (then delete it from nav bar 1)
But I can't see anything that looks like its referring to vBExperience so wondered if anyone knew what I was looking for :)
Let me know what you trying to move and maybe I can walk you through it.
attroll,
It seems you have a lot of navbar experience, so maybe you can save me some time as I haven't found anything on the best way to do this - I would like to move some of the existing menu items from navbar to navbar2.
These items are from some of the installed mods from this forum and when you install them they are automatically inserted in the navbar - and these mods don't have any option in the ACP to redirect where the link appears.
So the question is what needs to be edited to make this change (i.e.,change .xml files? revise templates?, etc?) Just looking for the easiest way to accomplish this.
I would have to look at your navbar and see what it is you want to move before I can explain it to you.
Daisyboo
09-04-2008, 09:40 AM
Thanks Attroll.
In my original navbar I have a link for vBExperience, but I'd like to delete it from there and add it to navbar 2.
Here's my code for my original navbar
<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
$template_hook[navbar_buttons_left]
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<if condition="$vboptions['enablememberlist']">
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
</if>
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
<if condition="$show['member']">
<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_contacts]</a></td>
</if>
</if>
$template_hook[navbar_buttons_right]
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar -->
I can't figure what the code is that I need to move the vBExperience link.
Many thanks!
:)
jw00dy
09-05-2008, 06:05 AM
Great Mod!
Question, I am trying to add a 2nd navbar2 (for a total of 3, original navbar, and 2 navbar2's) how can I accomplish this?
I'm migrating both my forums to this and have started with my wife's site (he he) first.
The reason for the 2nd navbar2 is that I like to place it at the bottom in the footer -- You can see an example on my forum that I've not updated to your mod yet due to wanting to get this working in the footer --> http://www.allthingsmoto.com/ (Having it in the footer is actually very very nice).
I've tried adding $navbar2 to the footer, but it doesn't show for some reason. Would you be willing to tell me how or what I might need to change to make this work in the footer?
attroll
09-05-2008, 06:47 AM
Great Mod!
Question, I am trying to add a 2nd navbar2 (for a total of 3, original navbar, and 2 navbar2's) how can I accomplish this?
I'm migrating both my forums to this and have started with my wife's site (he he) first.
The reason for the 2nd navbar2 is that I like to place it at the bottom in the footer -- You can see an example on my forum that I've not updated to your mod yet due to wanting to get this working in the footer --> http://www.allthingsmoto.com/ (Having it in the footer is actually very very nice).
I've tried adding $navbar2 to the footer, but it doesn't show for some reason. Would you be willing to tell me how or what I might need to change to make this work in the footer?
The only way I have found to make this work in the top and in the footer is to do the following:
Go you your Plugin Manager and remove the check mark from the following plugins:
navbar3 plugin part #1
navbar3 plugin part #2
Now you will have to create a plugin
Go to the Plugin Manager and click on Add New Plugin
Product: vBulletin
Hook Location: global_start
Title: navbar2 top and bottom
Plugin PHP Code:
eval('$navbar2 = "' . fetch_template('navbar2') . '";');
Plugin Active: YES
Now put the following command in you footer:
Find:
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow" accesskey="9">$vbphrase[contact_us]</a> -</if>
Above that add:
$navbar2
PS: You will still have to put the $navbar2 in the navbar template where you want it.
attroll
09-05-2008, 06:49 AM
Daisyboo
I did not have time to look at you code tonight. I will try to look at it towmorrow.
jw00dy
09-05-2008, 07:26 AM
The only way I have found to make this work in the top and in the footer is to do the following:
Go you your Plugin Manager and remove the check mark from the following plugins:
navbar2 plugin part #1
navbar2 plugin part #2 (this was called navbar2 plugin part #2a in my plugin's)
Now you will have to create a plugin
Go to the Plugin Manager and click on Add New Plugin
Product: navbar2
Hook Location: global_start
Title: navbar2 plugin part #2 top and bottom
Plugin PHP Code:
eval('$navbar2 = "' . fetch_template('navbar2') . '";');
Plugin Active: YES
Now put the following command in you footer:
Find:
<!-- /content area table -->
Below that add:
$navbar2
PS: You will still have to put the $navbar2 in the navbar template where you want it.
Oh, crap, I'm really sorry, I should have posted this as soon as I discovered a work around. Sorry for making you go through the hassle of making that code.
This works (what's below), but I'm not sure it's the best way to do it.
Edit Plugin navbar2 plugin part #2a (Could be called navbar2 plugin part #2), which looks like this:
$insert = '$navbar2'; $vbulletin->templatecache['navbar'] = str_replace($insert,$insert.fetch_template('navbar 2'),$vbulletin->templatecache['navbar']);
Copy what is there, and paste it a 2nd time below it, then change each entry of navbar to footer
$insert = '$navbar2'; $vbulletin->templatecache['navbar'] = str_replace($insert,$insert.fetch_template('navbar 2'),$vbulletin->templatecache['navbar']);
$insert = '$navbar2'; $vbulletin->templatecache['footer'] = str_replace($insert,$insert.fetch_template('navbar 2'),$vbulletin->templatecache['footer']);
Again, this worked, but I'm not sure it's the best way of doing it.
Also, I'm not getting this to show on my vBBlog either... but I'm also not getting ads to show there either, so I'm thinking the problem with the blog is bigger than this mod...
I am however going to try your method instead, and see if it works as well.
jw00dy
09-05-2008, 07:47 AM
Thanks again. I edited your entry that I quoted just in case anyone else wants to do it. I'm a little OCD, so I had to do it.
Your method (of course) worked perfectly and is a little cleaner me thinks. However, I am no coder (more of a hack than anything), so take that with a grain of salt.
Still didn't work for vBBlog, but again, I'm not blaming this mod, as I believe vBBlog is the problem.
Thanks again for your Awesome support, as you really are a nice person with the best support I've encountered to date.
BTW, anyone that wants to see this in action you can click on either link in my sig.
Daisyboo
09-05-2008, 09:01 AM
Daisyboo
I did not have time to look at you code tonight. I will try to look at it towmorrow.
Thanks Attoll whenever you have the time, its much appreciated!
Daisyboo
09-10-2008, 08:29 AM
Hi Attroll - just wondering if you had had a look yet :)
attroll
09-11-2008, 05:40 AM
Hi Attroll - just wondering if you had had a look yet :)
I had actually forgot to look at it. Things have been hectic around here lately.
I just got done looking at the code you posted.
You stated that you want to move the vBExperience link from you navbar 1 to you navbar 2. I do not see any vBExperience link or code in the code that you posted so I can not tell you what could to move. If you have the whole template code for you navbar 1 then send me a pm and I will send you my email address and you can send me it in a text attachment.
<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
$template_hook[navbar_buttons_left]
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<if condition="$vboptions['enablememberlist']">
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
</if>
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
<if condition="$show['member']">
<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_contacts]</a></td>
</if>
</if>
$template_hook[navbar_buttons_right]
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar -->
edytwinky
09-16-2008, 06:59 PM
I just downloaded the newest version. It fixes my arcade navbar and my new posts issue.
Thanks!
kylek
11-07-2008, 12:42 AM
Thanks!! Works with 3.8.0 beta 2.
Nadeemjp
11-11-2008, 06:50 AM
5A. Under current (original) Navigation bar:
Find:
Code:
<!-- / breadcrumb, login, pm info -->
Below that place:
Code:
$navbar2
i added just like this, but still it appears on top of my original navbar. what could be the problem?
i want it to be dispalyed under my original navbar. any help?
Nadeemjp
11-11-2008, 06:52 AM
i am using 3.7.4 by the way
dmknights
11-13-2008, 05:54 PM
* Installed & Nominated*
Very useful for members that want lots of navbar links
tom212
11-17-2008, 07:54 PM
i added just like this, but still it appears on top of my original navbar. what could be the problem?
i want it to be dispalyed under my original navbar. any help?
Odd, mine does the exact same thing. Seems too simple to mess up.
Any ideas what the problem is?
Thanks!
Tom
attroll
11-18-2008, 06:45 AM
5A. Under current (original) Navigation bar:
Find:
Code:
<!-- / breadcrumb, login, pm info -->
Below that place:
Code:
$navbar2
i added just like this, but still it appears on top of my original navbar. what could be the problem?
i want it to be dispalyed under my original navbar. any help?
I think what you are doing is putting it under this one:
<!-- breadcrumb, login, pm info -->
When it should be under this one:
<!-- / breadcrumb, login, pm info -->
There is a difference.
tom212
11-21-2008, 10:04 AM
Attroll,
You rock!
Thank you for the awesome support.
Tom
.
momo2
11-22-2008, 11:58 PM
you uploaded your setup with all ur settings to ur forum lol
least you can do give us a clean product.. not with ur forum info in them
attroll
11-23-2008, 12:27 AM
you uploaded your setup with all ur settings to ur forum lol
least you can do give us a clean product.. not with ur forum info in them
I don't understand what your saying here. If your complaining then remove the info from the navabr2 that is supplied with it. I left my samples in there so that others that do not understand code could relate to it and understand it by replacing it with there own code. Not everyone that downloads these hacks knows coding.
wrang
11-23-2008, 12:46 PM
Where do i find the text so i can change the links etc
Edit:
I find it in the templates navbar2
wolfiejp
11-25-2008, 04:42 PM
Hi, nice mod but im having some trouble with it, it's displaying fine when i use Ie to browse my site but when i use firefix the navbar vanishes and im left with a bit of txt for the added links i put in and there hyperlinks, but no navbar.
Is it somthing i did or a bug with Firefox ?
thanks
attroll
12-01-2008, 03:51 AM
No this works fine with IE and FF. It is probably another hack you have in your system that is interfering with this one.
Vaupell
01-04-2009, 11:34 PM
works like a charm, added right under my navbar in 3.8 rc 2
but it contains all sorts of odd links.. wth :p
www.evisystems.org
home9000
01-04-2009, 11:55 PM
Is it running under 3.6.X ?
SuperTaz
01-08-2009, 07:55 PM
3.8.0 compatible?
Nadeemjp
01-09-2009, 02:52 PM
3.8 compatible?
SuperTaz
01-11-2009, 03:49 AM
guess not.
attroll
01-11-2009, 04:10 AM
Yes this works with 3.8.
dmknights
01-13-2009, 01:16 AM
Will this work on 3.8?
attroll
01-13-2009, 04:47 AM
Will this work on 3.8?
Did you read the post prior to the post you made?
Battle_Ring
01-19-2009, 12:40 AM
how do i make a dropdown?
TC Topps
01-25-2009, 04:46 AM
Attroll:
First I tried inserting $navbar2 into a couple locations within navbar template. It worked in that the additional navbar appeared on the page shown. (*Important in that I am not qualified to judge any other programming issues.)
But I did find that the drop down arrows replicated themselve on what ever navbar was first on the page. So if I but navbar2 in 2 other locations then 3 drop down arrows would appear on the one navbar. So I edited out the additional $navbar2 statements from the vbulletin navbar template.
So then I made a renamed a copy of the product-navbar2.xml file and then edited thru out file to remove navbar2 with a simple replacement of navbar4.
This did not solve the problem. Same thing! I am sure that I am not making a complete difference in the files. Are they sharing the same table or what? I tried tinkering with date created but that was all. Is there another spot that this $navbar4 could go and not conflict with $navbar2?
I of course uploaded it thru product manager as it shows up as a product named Navbar4.
What do I need to do to make this new file a new product? (navbar4) Or is it just the placement of it?
My custom skins do not show the original navbar info on them as does Default skin. So this is a simple approach for me to solve some of this problem. What I would really like to do is put an original navbar from Default on same pages as NavBar2 in the custom skins.
Thanks for your help. Its been fun.
TC Topps
attroll
01-25-2009, 05:59 AM
Wow, sorry but that confused me. Let me get this right.
What you are saying is that when you install the navbar2 as a plugin you get multiple drop down arrows on the original navbar?
Are you trying to install more then one instance of navbar2?
TC Topps
01-25-2009, 03:58 PM
Attroll;
If I only edit one time in navbar template for one insidence of navbar2, then of course there are no problems.
I am exploring other options as I would want another navbar because my custom skins do not have the same navbar as Vbulletin Default skin.
So I tried adding $navbar2 to a couple locations in navbar template. The additional navbars appear as $navbar2, but the first one has all of the additional drop downs arrows.
(Not a problem of your hack!)
I only have one installation of the product-navbar2.xml running. So I am wondering how could I have
1) Another navbar like yours (such as a Navbar4)
or
2) How might I make a replication of the first Default vBulletin Navbar?
Is this to much of a task for a simple edit of an exsisting file such as product_navbar2.xml; or is it a much larger project than making an edit to create a separate navbar such as navbar4?
Hope that helps. I really like the neat clean way that Navbar2 installs.
Thanks again for for your reply,
TC Topps
attroll
01-25-2009, 04:47 PM
You should be able to create multiple drop down navbars. I have done it. The only problem you will run into is the same variables being used in each navbar start screwing up the other navbars just like what you are seeing.
You could do this two different ways. You could edit the navbar2 template differently for each style but going into each styles template "navbar2".
Or
If you going to have a navbar2, navbar3, navbar4 ect..
Then you going to have to change the variable for each one. The one that comes to mind is the one in each template of "navbar2, navbar3, navbar4" that you create.
If you look in the navbar2 template, for every dropdown instance you will see two mentions of the variables "#dropdown1" and "#dropdown2", ect.
For each additional navbar template you create you will have to change these variables to something else. For example in a navbar3 template will have to change every instance of "#dropdown1" to maybe "#dropdown10" and #dropdown2" to maybe "#dropdown20", ect.
I hope this made some sense to you.
TC Topps
01-25-2009, 05:30 PM
Thanks to Attroll;
I'll get back. I think that makes sense.
Yes, Yes, this works great for replicating a Navbar 2. Remember I edited an original unloaded product-navbar2.xml by simply replacing the word navbar2 with navbar4. Saved file as product-navbar4.xml and then reloaded product and it appears as a Navbar4 template.
Then I edited the original vB Navbar with the $navbar4 statement for the prefered placement on the page. It does the trick. Also we did the changing of the original variables in the new template Navbar4 from dropdown1, dropdown2 and dropdown3 to dropdown41, ..42, and ..43. Bingo! search for dropdown. You will find them.
Since I named my new template Navbar4 when I edited the old dropdown variables, I added 4 to each new dropdown variable to keep it straight. I may go back and do the same for Navbar2, but not neccessary.
Great I did something! Ha! Ha!
TC Topps
TC Topps
01-25-2009, 05:58 PM
Attroll;
Thanks for the lead on the variable dropdowns inside an edited navbar2 file. That helped alot. Wow!
How about the replication of the original vb Default Navbar!
Or is this much more difficult?
Thanks,
TC Topps
attroll
01-25-2009, 06:07 PM
What do you mean by replication. Do you want another separate navbar identical to the vb Default Navbar?
TC Topps
01-25-2009, 08:07 PM
Yes, That is it!
Thanks!
attroll
01-26-2009, 07:33 AM
Yes, That is it!
Thanks!
Wow, that would require some work, but I can not understand why you would want to do that.
TC Topps
01-26-2009, 03:27 PM
Attroll;
In my mind I was thinking that there would be a finer integration and less work to accomplish same tasks in my custom skins. But I have been rethinking my navbar "philosopy!"
1. I will leave the original vB Navbar as an Administrative Navbar since custom skins are getting most of the job done.
2. I will make your "Navbar2" specific to the structured Project and Blog side of Forum
3. I will make your replicated "Navbar 4" specific to casual Forum activity!
That will separate out the confusion as to the purpose of each.
Many thanks for your getting back to me!
My best regards,
TC Topps
Vaupell
01-27-2009, 07:19 PM
<if condition="$show[guest]">$navbar2</if>
Cant remember the condition for specifik usergroups, but i bet i would go the same way
just replace the [guest] with ehhmmm usergroupID syntax, better ask someone for syntax.
But i think u can use [member] as a syntax aswell.. its the same way the register botton
is displayed or hidden.
and i guess rename additional navbars..
Furcal15
04-15-2009, 05:15 AM
Beautiful! One of my most favorite hacks!!!
Check it out in action at my forum - www.sideline-sports.com
VikesRule
04-19-2009, 04:15 AM
Ok I'm loving this mod but I have two questions:
1) Is there anyway I can align the dropdown menus so the leftmost portion of the dropdown aligns with the original link that you click on? Basically I want the dropdowns to work like they do on the default navbar with the alignment.
2) Is there anyway I can make my dropdowns function to where they have two levels of dropability (I think I made that up, haha). I basically want to be able to make them like this site:
http://www.prosportsdaily.com/forums/index.php
Move the mouse over to the "Forums" link on the navbar, see how the original links in the dropdown, like Baseball, Basketball, etc. can branch off to the right to even more links? Is there someway I can do that?
Thanks for a great hack though!
Dr.LoVe
04-20-2009, 02:19 AM
than you good job
i have faq
how about if i want to Disable some Section in this navbar ???
Outbackmark
05-25-2009, 06:49 AM
Works well with 3.8.2 - Great Job!!!!
ade5675
06-13-2009, 08:40 PM
Nice work
and it is superb with version 3.8.3
:up:
Parture
06-18-2009, 04:02 AM
The drop down boxes don't work in firefox (they never worked as best as I can tell),
http://biblocality.com/forums/
Compare using Internet Explorer and Firefox.
attroll
06-18-2009, 11:01 AM
The drop down boxes don't work in firefox (they never worked as best as I can tell),
http://biblocality.com/forums/
Compare using Internet Explorer and Firefox.
I am using Firefox and they are working on your site just fine.
yotsume
07-26-2009, 04:14 AM
Yes installed enabled and this conflict with the MOD Advanced Navbar Link. So I had to quickly uninstall it.
I will have to try this on a test board and see where you bug is before I can go live with your mod...
s-p0k
07-26-2009, 06:40 AM
i get this "XML Error: Not well-formed (invalid token) at Line 1"
yossie3660
07-30-2009, 11:04 AM
This is a great Hack...this id what i'm looking for...great.....thanks to TS....(",)
regards
yossie3660
goshalim
08-26-2009, 08:10 AM
i have downloaed the xml file. But i cant find anywher the <!-- breadcrumb, login, pm info -->
in order to add navbar2
I need the name of the template.
I have Add Template Name in HTML Comments so i can afind the template, but there ITS A LOT
Please somene can help please.....
attroll
08-26-2009, 11:04 AM
It is in the navbar template.
Thanks, working great on my vb 3.8.4
I would like to know how to change the style of the navbar, right now its gray and i would like to change the color of the button and the text.
yotsume
09-05-2009, 08:42 PM
Yes installed enabled and this conflict with the MOD Advanced Navbar Link. So I had to quickly uninstall it.
I will have to try this on a test board and see where you bug is before I can go live with your mod...
I need help to prevent your mod from conflicting with the Advanced Navbar mod which has the ability to make navbar menus and drop menus using a admincp panel.
Advanced Navbar Links:
https://vborg.vbsupport.ru/showthread.php?t=120517
Can I please get you to take a look at the mod and help me install yours so I can have both running.
When I install your mod the drop menus from the other mod stop working.
I needed to bump this because my original request for help was overlooked or ignored.
yotsume
09-05-2009, 08:49 PM
What we need is a backend admincp way to make a top row navbar and alter the bottom row default navbar together from inside the admincp and make stand alone menus and drop menus freely.
All someone has to do is look at the above mod link I posted and update it to allow for two instances and we are all home free! :)
Sorry I am wishing out loud here for my miracle mod! hehehe
zombietom
09-23-2009, 04:37 AM
Works Great! easy to install and can put the navbar 2 anywhere i want...I like it ..Thanks
yotsume
09-23-2009, 06:08 AM
UNINSTALLED... I went with another drop down menu system. ;)
jimjam
11-08-2009, 10:10 AM
I moved servers and now this navbar does not show up. I have checked that the code is still there, it is. Any idea what might have happened during the move to stop this working. Thanks
Leo Brazil
01-06-2010, 09:56 AM
Attroll, I hope to see this one ported to 4.0. It's a wordefull tool for my users.
Shanj
01-09-2010, 09:46 AM
Does this work with VB 4.0?
Golzarion
01-29-2010, 06:43 PM
No upgrade for vb 4 ?
attroll
02-06-2010, 11:47 PM
I would like to work on a VB4 version but I am leaving in four weeks to hike the Appalachian Trail from Georgia to Maine. I will be gone for about six months. If one is not made by the time I get back I will start working on one.
Bounce
03-14-2010, 07:46 PM
Strange problem I have, works great on 3.8.5 but get 2 arrows at the dropdown links.
Any way of fixing?
Edit: Cancel that I added the code twice lol
Sorted
Artes_Marciales
02-28-2011, 01:43 PM
Great!!!
imedic
07-04-2011, 08:21 PM
If you want to place the bar in the header (just on top) you can edit in the xml file (before installing it) and instead of navbar (it appear at the end for 2-3 times) with header.
Then you go and place navbar2 hook in the header as the first line. Works like a charm.
You can place also conditional to show some menu's only to registered users:
<if condition="$show['member']">
The link
</if>
I am looking now to add rel no follow to all links that dont require google to search ( I guess it should be there).
Thank you for the mod :)
imedic
07-05-2011, 08:41 AM
I have trouble finding the code to make some links with different colour .... Any help would be appreciated. I have tried font and span with no success. I guess table class prevents any code for colour so you have text only with regular colour.
I found I need to use class , but I have no clue how to create a new class in CSS with different colors so I can use for links.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.