Log in

View Full Version : Add-On Releases - Important Links In Navbar v3.00


Last_Zero
02-28-2011, 10:00 PM
-==(( Version 3.00 Boofo Edition :) ))==-

Special Thanks For Boofo Who Edit The Most Of Code And Developed It :up::up:

Boofo (https://vborg.vbsupport.ru/member.php?u=9948)

Screenshot For v3.00

https://vborg.vbsupport.ru/attachment.php?attachmentid=127263&stc=1&d=1299624042

-==(( Install ))==-

Import The Product https://vborg.vbsupport.ru/external/2012/01/5.gif Important_Links_Boofo_Edition.xml (https://vborg.vbsupport.ru/attachment.php?attachmentid=127264&stc=1&d=1299624042)

Then Open Template

(( Additional.Css ))

And Add This Code

li.menuname {
padding: 0.2em 0.5em;
text-decoration: none;
text-align: {vb:stylevar left};
color: #fff;
}

To Show The Topics Count In Menu

You Should Install This Mod By Boofo

https://vborg.vbsupport.ru/showthread.php?t=243363

This Version Does Not Contain Panel Coz All Links Is Important If You Want To Use Panel To Disable Some Features You Can Go To Version 2.00 :)

================================================

-==(( Version 2.00 ))==-

Its Ok Now And Tested

Tested On vBulletin 4.1.2 And Works Perfect :)

New Features :-

- Added New Options
My Blog
My Subscriptions
Blog Lists
Edit Email And Password
- Arranged The Links By Its Genre
- Added Admin Panel To Disable Or Enable Any Features You Want

Screenshot

https://vborg.vbsupport.ru/attachment.php?attachmentid=127248&stc=1&d=1299581903

Admin Panel

https://vborg.vbsupport.ru/attachment.php?attachmentid=127249&stc=1&d=1299581903

-==(( Install ))==-

Just Upload The Product And Navigate To

vBulletin Setting --> Zero Important Links :)

Enable What You Need

-==(( Upgrade ))==-

Upload The Product And Overwrite The Old One And You Are Fine :)

Plz Click Install If You Install

If You Have Any Suggestion Or Any Problem Dont Wait And Ask Me :D

================================================

-==(( Version 1.00 ))==- (( Removed ))

Hello Everyone This Is My First Product I Hope You Enjoy It

It Show Some Important Link In Navbar As A Shortcut For Users

Info :-

Its Add 1 Template
4 Phrases
2 Plugin

Example

https://vborg.vbsupport.ru/attachment.php?attachmentid=127057&stc=1&d=1298970024

Install

Just Import Product From Admincp And Its Done ;)

Plz Click (( Install )) To Support You In The Future

And If You Have Any Suggestion I Will Be Happy To Do It In The Next Releases

voglermc
03-01-2011, 11:03 AM
Nice addition! Thanks

Dr.osamA
03-01-2011, 01:48 PM
جزاك الله كل الخير
لا اعرف لماذا لم تضفه معرب
installed & translated to Arabic
rated 5 stars
keep it up bro:up:

gamerzhut
03-01-2011, 02:00 PM
Marked as Installed & rated *****

Last_Zero
03-01-2011, 03:09 PM
جزاك الله كل الخير
لا اعرف لماذا لم تضفه معرب
installed & translated to Arabic
rated 5 stars
keep it up bro:up:

I Added Here English And Arabic In Traidnt Forums :)

Thx Guys For Install And Rating

Version 2 On The Way

TNERatedEdge
03-01-2011, 03:18 PM
can you put thread links?

OldSchoolDSL
03-01-2011, 03:28 PM
In your next release, can you add

My Blog Post
Subscriptions (link pointing to paid subscription options)

Last_Zero
03-01-2011, 03:43 PM
In your next release, can you add

My Blog Post
Subscriptions (link pointing to paid subscription options)

Sure Special Release For You My Friend Is On the Way

gamerzhut
03-01-2011, 04:59 PM
Is it possible to change the name of the Important links something that we wish!

TNERatedEdge
03-01-2011, 05:02 PM
Can you answer my question and not jump it? lol

MrD
03-01-2011, 05:53 PM
Hi,
Is it possible to change the name of the Important links something that we wish!

search your Phrase or edit the xml :)
<phrase name="impo_title" date="1298925858" username="Zero" version="1.00">
<![CDATA[ Important Links ]]>

but here is the Version without a Addon.
Only a Plugin is needed
https://vborg.vbsupport.ru/showthread.php?t=232579

Last_Zero
03-01-2011, 07:42 PM
Can you answer my question and not jump it? lol

Yeah Just Search For The Word (( Important Links ))

And Change It

Last_Zero
03-01-2011, 07:43 PM
Hi,


search your Phrase or edit the xml :)
<phrase name="impo_title" date="1298925858" username="Zero" version="1.00">
<![CDATA[ Important Links ]]>

but here is the Version without a Addon.
Only a Plugin is needed
https://vborg.vbsupport.ru/showthread.php?t=232579

Thanks :)

gamerzhut
03-02-2011, 04:43 AM
Hi,


search your Phrase or edit the xml :)
<phrase name="impo_title" date="1298925858" username="Zero" version="1.00">
<![CDATA[ Important Links ]]>

but here is the Version without a Addon.
Only a Plugin is needed
https://vborg.vbsupport.ru/showthread.php?t=232579

Thanks mate

OldSchoolDSL
03-02-2011, 02:24 PM
Sure Special Release For You My Friend Is On the Way

Installed current version. Really hope you will add those 2 links.

A lot of communities do use Blogs. And it would help to also point out subscription options (sometime vBulletin seems not to do).

Working

4.1.1 :)

elwachiman
03-02-2011, 04:07 PM
installed tnks man

TNERatedEdge
03-02-2011, 05:00 PM
No, I mean can I put a current thread in the drop down?

archet1337
03-02-2011, 05:34 PM
Awesome! Thanks for sharing!

Rated 5x and Installed.

onehost
03-02-2011, 09:23 PM
No, I mean can I put a current thread in the drop down?

Yes you can.

You just have to edit the xml file to your specs.

Be careful, if you are not then you can screw up the xml
very easily and it will not work right. I am trying to add a long
list of urls the hard way. I wish there was an easier way
of adding my titles/urls to the navbar other then trying
to edit the xml file. I guess not....

Once you are done with your changes.

import / overwrite (if you currently have it installed)

then see if you screwed anything up :)

If so, uninstall, then start over....

Mark4865
03-06-2011, 07:47 AM
Installed perfect and simple thanks

Rofo
03-06-2011, 11:20 PM
Thanks, I like it.

Installed and rated.

Last_Zero
03-07-2011, 05:56 AM
Thanks So Much Guys Iam Gonna Update It In A few Days :)

BlueCheri
03-07-2011, 07:00 AM
Thanx waiting for it :)

Thanks So Much Guys Iam Gonna Update It In A few Days :)

COL NIL SATIS
03-07-2011, 04:46 PM
tagged!!! looks promising this

Last_Zero
03-08-2011, 09:05 AM
Version 2 Released I Hope You Like It :)

Mikevet1984
03-08-2011, 11:10 AM
I don't know if I am doing anything wrong but even though I installed the updated version of the mod and changed its settings from the CP, I still see the same shortcuts in the Navbar as in the first release. No difference. Please any help abou that?

Mark4865
03-08-2011, 11:29 AM
I don't know if I am doing anything wrong but even though I installed the updated version of the mod and changed its settings from the CP, I still see the same shortcuts in the Navbar as in the first release. No difference. Please any help abou that?

I have the same problem, even uninstalled and re-installed from start but same issue

Last_Zero
03-08-2011, 01:30 PM
I have the same problem, even uninstalled and re-installed from start but same issue

mmm Let Me Try And See Whats The Problem

Last_Zero
03-08-2011, 01:43 PM
Its Ok Now Guys Lets Try And See

gamerzhut
03-08-2011, 02:33 PM
May be you have to change the settings in admin cp?

Last_Zero
03-08-2011, 02:40 PM
May be you have to change the settings in admin cp?

Uninstall The Old One And Download The New One Its Work Fine

gamerzhut
03-08-2011, 02:58 PM
Uninstall The Old One And Download The New One Its Work Fine

k mate! Thanks for the heads up :)

Last_Zero
03-08-2011, 03:10 PM
k mate! Thanks for the heads up :)

Plz Tell Me If You faced Any Prob And Tell Me If it Works Fine :)

Boofo
03-08-2011, 03:17 PM
You need to remove the "zero_impo_link" template from the product as it is no longer needed.

Last_Zero
03-08-2011, 03:19 PM
You need to remove the "zero_impo_link" template from the product as it is no longer needed.

You Mean The Old Product ?

I Removed It All

Coz It Was The Problem Thats The Old Template Exist

Boofo
03-08-2011, 03:31 PM
Check the file you have for download. It is still in there.

Last_Zero
03-08-2011, 04:20 PM
Check the file you have for download. It is still in there.

I Didnt Understand You Sir Sorry

The Old hack I removed From Topic

the New One

https://vborg.vbsupport.ru/external/2012/01/5.gif Zero_Important_Links_v.2.xml (https://vborg.vbsupport.ru/attachment.php?attachmentid=127252&d=1299598853) (9.8 KB, 9 downloads)

Create A Template Called

zero_impoo_link

Instead Of

zero_impoo_link

Plz Clarify More

Boofo
03-08-2011, 04:25 PM
The old template is still in there:

<template name="zero_impo_link" templatetype="template" date="1298969227" username="Zero" version="1.00"><![CDATA[<li class="popupmenu">

Last_Zero
03-08-2011, 05:16 PM
The old template is still in there:

Aha I Understand

Thats Strange But How Its Still There

The Product Work 100% But the Problem Is Removing This template Coz Its Unuseful

Should I remove It From Xml File ?

Boofo
03-08-2011, 06:48 PM
Don't worry about it as I have the one we talked about ready for you now.

Last_Zero
03-08-2011, 07:04 PM
Don't worry about it as I have the one we talked about ready for you now.

Thanks I Cant Wait To See

Boofo
03-08-2011, 07:34 PM
Go ahead and release it here. ;)

Last_Zero
03-08-2011, 08:28 PM
Go ahead and release it here. ;)

Sure It Will Be Boofo Edition :D

Boofo
03-08-2011, 08:37 PM
No need for that. Just make it your edited edition.

Last_Zero
03-08-2011, 08:54 PM
No need for that. Just make it your edited edition.

No Its Ok The Important Thing Is We Help People Not Important Who Write His Name But You Deserve This Coz You Edited The Full Code And I Appreciate That Coz I Got Some Tips And Hints From Your Code That Helped Me So Much really

OldSchoolDSL
03-08-2011, 10:35 PM
Installed and 1/2 working ( I think )

It shows up on my community, which is good. But I can not find the AdminCP settings for this.

Using: Important_Links_Boofo_Edition.xml

I disabled v1
Un-installed v1
Imported the new one

Boofo
03-09-2011, 12:06 AM
Installed and 1/2 working ( I think )

It shows up on my community, which is good. But I can not find the AdminCP settings for this.

Using: Important_Links_Boofo_Edition.xml

I disabled v1
Un-installed v1
Imported the new one

There are no settings for the Boofo Edition. If you want the settings, I recommend using the other version.

OldSchoolDSL
03-09-2011, 01:11 AM
There are no settings for the Boofo Edition. If you want the settings, I recommend using the other version.

Ah. Well then that explains things. :o

Installed and FULLY working. :p

Was kind of hoping one of you would add a link to the default subscription page. Something vBulletin is lacking is advertising the paid subscription system.

Boofo
03-09-2011, 01:53 AM
Ah. Well then that explains things. :o

Installed and FULLY working. :p

Was kind of hoping one of you would add a link to the default subscription page. Something vBulletin is lacking is advertising the paid subscription system.

I don't believe in adding a lot of settings to turn things on/off in a mod like this. Every member should have access to all of those links to make things easier for them to find.

As for the subscriptions link, that would be easy to add to the end of the template. Just get the link of what is should be, throw it between to li tags, and add it to the template.

OldSchoolDSL
03-09-2011, 02:37 AM
Well all I need to do now is figure out how to disable Quick Links from the menu and I'll be good

Boofo
03-09-2011, 02:55 AM
Look in the navbar template.

bitbender
03-09-2011, 11:09 AM
Btw - I found that I wanted to alter the position of where the Important links is inserted into the navbar - "easy peasy" with the hook location change to navbar_end versus navbar_after_calendar in the plugin :)

Thx to Boofo for telling me to wake up and post in the correct thread)

Last_Zero
03-09-2011, 12:22 PM
Btw - I found that I wanted to alter the position of where the Important links is inserted into the navbar - "easy peasy" with the hook location change to navbar_end versus navbar_after_calendar in the plugin :)

Thx to Boofo for telling me to wake up and post in the correct thread)

Yeah The 2nd Version Was In Navbar_end

Boofo Edited It To Show In Navbar_After_Calender

:)

Mark4865
03-09-2011, 12:38 PM
okay re-installed version 2 again and all working 100% thanks for this great simple mod

bitbender
03-09-2011, 01:00 PM
Yeah The 2nd Version Was In Navbar_end

Boofo Edited It To Show In Navbar_After_Calender

:) Well, from my chair the "after" calendar location is actually a logical place for it.. Just that my membership is used to seeing it right justified at the end from a similar mod I provide them on the VB 3.7 board(Custom links in Navbar). I have other links after Calendar and so ... :)

And they have promised to have me tarred and feathered and possibly even keelhauled if I don't keep the same functionality in the VB 4 flavor. ;) Thank goodness that my bluegrass community isn't as picky. :up:

Cheers

Gemma
03-09-2011, 01:56 PM
Nice idea. Thank you :)

OldSchoolDSL
03-09-2011, 02:27 PM
Look in the navbar template.

I Google`d and did a search, but could only find the code for vBulletin 3. I'm using vBulletin 4 and while I think I found something similar, I'm not sure what to remove.

Any help would be very grateful

Boofo
03-09-2011, 02:59 PM
The way I do it if I don't know for sure where something is:

I look for the phrase first (Quick Links).
Then I do a search in the phrases for Quick Links and find what the phrase name is.
Then I do a search in the templates for that phrase name and voila! ;)

Then just wrap it in a conditional for what you want.

OldSchoolDSL
03-09-2011, 03:12 PM
The way I do it if I don't know for sure where something is:

I look for the phrase first (Quick Links).
Then I do a search in the phrases for Quick Links and find what the phrase name is.
Then I do a search in the templates for that phrase name and voila! ;)

Then just wrap it in a conditional for what you want.

I think this is the code I need to remove, to remove that menu.

<a href="javascript://" class="popupctrl" accesskey="3">{vb:rawphrase quick_links}</a>

edit: Confirmed. All seems to be working. Although I'm sure there is more code for that menu, but I could not figure it all out.

Boofo
03-09-2011, 04:25 PM
I think this is the code I need to remove, to remove that menu.

<a href="javascript://" class="popupctrl" accesskey="3">{vb:rawphrase quick_links}</a>

edit: Confirmed. All seems to be working. Although I'm sure there is more code for that menu, but I could not figure it all out.

Okay, here is what you need to do:

In the navbar template
Replace this:

<li class="popupmenu">
<a href="javascript://" class="popupctrl" accesskey="3">{vb:rawphrase quick_links}</a>
<ul class="popupbody popuphover">
<vb:if condition="$show['member']">
<li><a href="subscription.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li>
<li><a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&amp;focus=1','buddylis t','statusbar=no,menubar=no,toolbar=no,scrollbars= yes,resizable=yes,width=250,height=300'); return false;">{vb:rawphrase open_contacts}</a></li>
</vb:if>
<vb:if condition="$vboptions['forumleaders']">
<li><a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
<vb:if condition="$vb_suite_installed">
{vb:rawphrase view_site_leaders}
<vb:else />
{vb:rawphrase view_forum_leaders}
</vb:if>
</a></li>
</vb:if>
{vb:raw template_hook.navbar_quick_links_menu_pos1}
{vb:raw template_hook.navbar_quick_links_menu_pos2}
{vb:raw template_hook.navbar_quick_links_menu_pos3}
<vb:if condition="$show['wollink']">
<li><a href="online.php{vb:raw session.sessionurl_q}">{vb:rawphrase whos_online}</a></li>
</vb:if>
{vb:raw template_hook.navbar_quick_links_menu_pos4}
</ul>
</li>


with this:

<vb:comment>
<li class="popupmenu">
<a href="javascript://" class="popupctrl" accesskey="3">{vb:rawphrase quick_links}</a>
<ul class="popupbody popuphover">
<vb:if condition="$show['member']">
<li><a href="subscription.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li>
<li><a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&amp;focus=1','buddylis t','statusbar=no,menubar=no,toolbar=no,scrollbars= yes,resizable=yes,width=250,height=300'); return false;">{vb:rawphrase open_contacts}</a></li>
</vb:if>
<vb:if condition="$vboptions['forumleaders']">
<li><a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
<vb:if condition="$vb_suite_installed">
{vb:rawphrase view_site_leaders}
<vb:else />
{vb:rawphrase view_forum_leaders}
</vb:if>
</a></li>
</vb:if>
{vb:raw template_hook.navbar_quick_links_menu_pos1}
{vb:raw template_hook.navbar_quick_links_menu_pos2}
{vb:raw template_hook.navbar_quick_links_menu_pos3}
<vb:if condition="$show['wollink']">
<li><a href="online.php{vb:raw session.sessionurl_q}">{vb:rawphrase whos_online}</a></li>
</vb:if>
{vb:raw template_hook.navbar_quick_links_menu_pos4}
</ul>
</li>
</vb:comment>


Notice what I highlighted in red. Wrapping it in comment tags will comment it all out but yet leave it there in case you ever want it in the future.

OldSchoolDSL
03-09-2011, 04:48 PM
@ Boofo

Thank you for your help and pointing out what I need to remove.

You comment out what you do not need and I like personally like to remove what I do not need (its a personal choice) . But that little bit of information may come in useful, as not everything can be removed.

Boofo
03-09-2011, 05:12 PM
@ Boofo

Thank you for your help and pointing out what I need to remove.

You comment out what you do not need and I like personally like to remove what I do not need (its a personal choice) . But that little bit of information may come in useful, as not everything can be removed.

Especially the next time you upgrade and vb tells you to revert the template because it can't find what is suppose to be there.

OldSchoolDSL
03-09-2011, 07:17 PM
Especially the next time you upgrade and vb tells you to revert the template because it can't find what is suppose to be there.

I admit, my way of doing things may not be for everyone. But I also keep a very detail log of every change I make. A copy of the original code and all edits.

I have done some reverts and then re-applied my custom edits (in the past).

bitbender
03-09-2011, 08:19 PM
Boofo - Where did you pick up all this about VB4 - I need to go there for week!

OldSchoolDSL
03-09-2011, 08:34 PM
I found out how to remove / hide the link which reads "Private Massages" in the Navbar. Its not really needed with this mod.

In Navbar look for:

<vb:if condition="$show['pmmainlink']">
<li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li>
</vb:if>

You can wrap it with

<vb:comment> </vb:comment>

And the end result will look like

<vb:comment><vb:if condition="$show['pmmainlink']">
<li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li>
</vb:if></vb:comment>

( Alternatively, you could remove it rather then wrap it )

Boofo
03-09-2011, 08:49 PM
Boofo - Where did you pick up all this about VB4 - I need to go there for week!

Just messing with things and learning from the best of the best here on the org. I still have a long way to go to catch up to most of the coders here.

I found out how to remove / hide the link which reads "Private Massages" in the Navbar. Its not really needed with this mod.

In Navbar look for:

<vb:if condition="$show['pmmainlink']">
<li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li>
</vb:if>

You can wrap it with

<vb:comment> </vb:comment>

And the end result will look like

<vb:comment><vb:if condition="$show['pmmainlink']">
<li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li>
</vb:if></vb:comment>

( Alternatively, you could remove it rather then wrap it )

Yes, you can do that, but the link doesn't show up in the What's new or the Blogs page, anyway.

Mikevet1984
03-10-2011, 01:09 AM
Could coders (Boofo & Last Zero) please merge this user note modification https://vborg.vbsupport.ru/showthread.php?t=247552 inside your mod or at least make a refferal link to this mod in the list?

I think a little user notes space is available for everyone and is really an important link.

Boofo
03-10-2011, 01:23 AM
This is Last Zero's thread. I will leave it to him.

Last_Zero
03-10-2011, 07:04 AM
Could coders (Boofo & Last Zero) please merge this user note modification https://vborg.vbsupport.ru/showthread.php?t=247552 inside your mod or at least make a refferal link to this mod in the list?

I think a little user notes space is available for everyone and is really an important link.

Let Me See Mate What Can I Do And Ofc Any Help I Will Ask Boofo

He Is A Good Man And Love To Help

Boofo
03-10-2011, 11:10 AM
You can't add links for every mod someone might have installed as it would be never-ending and too long of a list.

Mikevet1984
03-10-2011, 01:12 PM
You can't add links for every mod someone might have installed as it would be never-ending and too long of a list.

Βοoofo you are absolutely right! My intention was to make a request so as to motivate you make your modification better and better. That is the reason I make suggestions to every mod's coder here in good faith to help him make his product better. Not to become boring. It's up to you, your mood, your free time rtc if you will complete the suggestions of any member here. Anyway, thank you for everything you have offered till now in here. You have helped a lot. Last zero same thing for you. Take care. Bye! :)

Boofo
03-10-2011, 01:31 PM
Mike, I wasn't complaining, sir. I was just stating that if we added links for what users might have installed, the list would be endless and not viewable as it would be too long. I would suggest making another menu mod for links like that.

Mikevet1984
03-10-2011, 05:57 PM
A good idea to avoid people's requests all the time would be to give admins the possibillity to add their favorite shortcuts to the list. You may design the same list plus some free space (i.e. 5 shortcuts) that any admin could manually add though cp providing link and title for every shorcuts wishes to add. Does this sound good to you, coders?It's only a suggestion...nothing more.

Boofo
03-10-2011, 07:37 PM
As I would never use something like this, since I can add my own links, I would not be interested in developing it as a free mod, sorry.

Mikevet1984
03-11-2011, 01:01 PM
Ok, Boofo! I see.... Thank you for everyhing so far!

"Michael"

Boofo
03-11-2011, 01:12 PM
Ok, Boofo! I see.... Thank you for everyhing so far!

"Michael"

Sit tight. I am working on a additional links one now.

Last_Zero
03-14-2011, 05:52 PM
Sit tight. I am working on a additional links one now.

https://vborg.vbsupport.ru/showthread.php?t=260260

:D

Alan_SP
04-23-2011, 07:27 PM
For CMS, add this:

<li><a href="list.php?{vb:raw session.sessionurl}author/{vb:raw bbuserinfo.userid}">My CMS entries</a></li>

If it needs to be phrased, create phrase (or manually edit mod). Great idea Zero and Boofo. :up:

Mark4865
06-13-2011, 09:42 AM
Anyone running this in 4.1.4

Mark4865
12-30-2012, 10:25 AM
Seems to have disappeared when I upgraded to version 4.2 anyone got this working on 4.2

Mark4865
01-13-2013, 07:32 AM
Anyone got the 3.00 version working in 4.2 p3

Arrogant-One
10-13-2013, 09:11 PM
In the screen shot where it has links under the navbar tabs, for example New Posts and Private Messages, how do you get that?

Is adding those links part of this mod, or a different mod?

I have circled what I am talking about in red on the attachment. This is what I want to add to my forum, but I can't find the correct mod.

tbworld
10-13-2013, 09:39 PM
I have circled what I am talking about in red on the attachment. This is what I want to add to my forum, but I can't find the correct mod.

The links you are referring two on the sub-navbar is part of the original vb4 software series. If you are not seeing them, you have either eliminated the links in the navigation manager, have an incorrect permission assigned to them or have altered a template that shows them -- maybe via a MOD.

Disable your plugin system and use the default vbulletin style: to see if they show. If you use v4.2.x series double check that the links and the correct permissions exist in the navigation manager.

Arrogant-One
10-13-2013, 10:47 PM
The links you are referring two on the sub-navbar is part of the original vb4 software series. If you are not seeing them, you have either eliminated the links in the navigation manager, have an incorrect permission assigned to them or have altered a template that shows them -- maybe via a MOD.

Disable your plugin system and use the default vbulletin style: to see if they show. If you use v4.2.x series double check that the links and the correct permissions exist in the navigation manager.

I disabled the plugins by adding the line of text

define('DISABLE_HOOKS', true);

To config.php

I then looked at the default skin. Nothing appeared, although the two tabs in the NavBar disappeared. I use 4.1.12

Please tell me what file to upload to my FTP to solve this problem.

Thank you for your assistance.

tbworld
10-13-2013, 11:21 PM
Make sure you have not altered the master 'navbar' template. If you have, you will need to replace that template from the master style. You need to be in 'debug' mode in order to view the master style. Please make sure you have a backup of your site before doing this.

If you need to replace the entire master style, you can do so by using 'tools.php'.
See vBulletin manual for more details.

Arrogant-One
10-14-2013, 12:06 AM
Make sure you have not altered the master 'navbar' template. If you have, you will need to replace that template from the master style. You need to be in 'debug' mode in order to view the master style. Please make sure you have a backup of your site before doing this.

If you need to replace the entire master style, you can do so by using 'tools.php'.
See vBulletin manual for more details.

Thanks for that.

This is what my navbar template looks like:

<div id="navbar" class="navbar">
<ul id="navtabs" class="navtabs floatcontainer<vb:if condition="$show['member'] AND $notifications_total"> notify</vb:if>">
{vb:raw template_hook.navtab_start}
{vb:raw navigation}
{vb:raw template_hook.navtab_end}
</ul>
<vb:if condition="$vboptions['enablesearches']">
<div id="globalsearch" class="globalsearch">
<form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search" class="navbar_search">
<vb:comment><input type="hidden" name="s" value="{vb:raw session.sessionurl}" /></vb:comment>
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="process" />
<span class="textboxcontainer"><span><input type="text" value="" name="query" class="textbox" tabindex="99"/></span></span>
<span class="buttoncontainer"><span><input type="image" class="searchbutton" src="{vb:stylevar imgdir_button}/search<vb:if condition="$stylevar['textdirection'] == 'rtl'">_rtl</vb:if>.<vb:if condition="is_browser('ie') AND !is_browser('ie', 7)">gif<vb:else />png</vb:if>" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span></span>
</form>
<ul class="navbar_advanced_search">
<li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li>
{vb:raw template_hook.navbar_advanced_search}
</ul>
</div>
</vb:if>
</div>
</div><!-- closing div for above_body -->

<div class="body_wrapper">
<div id="breadcrumb" class="breadcrumb">
<ul class="floatcontainer">
<li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>
{vb:raw navbits.breadcrumb}
{vb:raw navbits.lastelement}
</ul>
<hr />
</div>

{vb:raw ad_location.ad_navbar_below}
{vb:raw ad_location.global_below_navbar}

<vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'">
<form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices">
<input type="hidden" name="do" value="dismissnotice" />
<input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
<input type="hidden" name="url" value="{vb:raw return_link}" />
<ol>
{vb:raw notices}
</ol>
</form>
</vb:if>

ozzy47
10-14-2013, 12:18 AM
Revert that template, that code is for vB v4.2.0 and above.

Arrogant-One
10-14-2013, 12:21 AM
Revert that template, that code is for vB v4.2.0 and above.

Thanks for your assistance. Just one quick question.

How do I revert the template?

ozzy47
10-14-2013, 12:24 AM
When you are viewing the template list, highlight the navbar templat, by clicking on it once, then to the right, under the controls block, click revert.

Arrogant-One
10-14-2013, 12:33 AM
When you are viewing the template list, highlight the navbar templat, by clicking on it once, then to the right, under the controls block, click revert.

Okay, I reverted it. Unfortunately it didn't solve the problem. This is the new template:

<div id="navbar" class="navbar">
<ul id="navtabs" class="navtabs floatcontainer<vb:if condition="$show['member'] AND $notifications_total"> notify</vb:if>">
{vb:raw template_hook.navtab_start}
{vb:raw navigation}
{vb:raw template_hook.navtab_end}
</ul>
<vb:if condition="$vboptions['enablesearches']">
<div id="globalsearch" class="globalsearch">
<form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search" class="navbar_search">
<vb:comment><input type="hidden" name="s" value="{vb:raw session.sessionurl}" /></vb:comment>
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="process" />
<span class="textboxcontainer"><span><input type="text" value="" name="query" class="textbox" tabindex="99"/></span></span>
<span class="buttoncontainer"><span><input type="image" class="searchbutton" src="{vb:stylevar imgdir_button}/search<vb:if condition="$stylevar['textdirection'] == 'rtl'">_rtl</vb:if>.<vb:if condition="is_browser('ie') AND !is_browser('ie', 7)">gif<vb:else />png</vb:if>" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span></span>
</form>
<ul class="navbar_advanced_search">
<li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li>
{vb:raw template_hook.navbar_advanced_search}
</ul>
</div>
</vb:if>
</div>
</div><!-- closing div for above_body -->

<div class="body_wrapper">
<div id="breadcrumb" class="breadcrumb">
<ul class="floatcontainer">
<li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>
{vb:raw navbits.breadcrumb}
{vb:raw navbits.lastelement}
</ul>
<hr />
</div>

{vb:raw ad_location.ad_navbar_below}
{vb:raw ad_location.global_below_navbar}

<vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'">
<form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices">
<input type="hidden" name="do" value="dismissnotice" />
<input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
<input type="hidden" name="url" value="{vb:raw return_link}" />
<ol>
{vb:raw notices}
</ol>
</form>
</vb:if>

ozzy47
10-14-2013, 12:36 AM
You are running vB v4.1.12 correct? Did you try to upgrade recently and then downgrade?

tbworld
10-14-2013, 12:40 AM
His board says v4.2.2 in the header, but his Javascript says v4.1.12, so I was going to ask a similar question.

tbworld
10-14-2013, 12:57 AM
If your plugins are disabled and you reverted the correct 'navbar' template then you should not be seeing your old navtabs. So one of the two items has not been completed correctly for your test. Thanks for posting your link it was a big help. :)

Arrogant-One
10-14-2013, 01:20 AM
You are running vB v4.1.12 correct? Did you try to upgrade recently and then downgrade?

Yes, that's exactly what I did.

Arrogant-One
10-14-2013, 01:20 AM
If your plugins are disabled and you reverted the correct 'navbar' template then you should not be seeing your old navtabs. So one of the two items has not been completed correctly for your test. Thanks for posting your link it was a big help. :)

Oh, you wanted me to disable the plugins and THEN revert. I will try that.

Arrogant-One
10-14-2013, 01:24 AM
I disabled the plugin by adding the line to config.php

I then tried reverting but it won't let me. I get this message:

This template has not been customized in this style or any of its parent styles.

Double-click the template name or click the 'Customize' button to add a customized version of this template to the current style and its child sets.

Last edited March 28 2012 at 17:12 by vBulletin Solutions

ozzy47
10-14-2013, 01:29 AM
Yes, that's exactly what I did.

Ok here is what I would do.

1) Turn your site off.

2) Make a full backup, just incase something goes wrong.

3) Re-upload the files that came with your v4.2.2 zip.

4) Run the upgrade script.

5) Then get a copy of v4.2.1 Pl1 upload those files to your server.

6) Turn on debug mode by adding the following to your includes/config.php
$config['Misc']['debug'] = true;

7) Go to ACP --> Settings --> Options --> Version Info and Other Untouchables, and change ONLY the setting, vBulletin Version Number to 4.2.1

8) Turn off debug mode by removing the following to your includes/config.php
$config['Misc']['debug'] = true;

9) Remove the install directory.

10) Turn your site back on.

Now you will be upgraded to v4.2.1 and not have to worry about the 4.2.2 and PHP errors.

Arrogant-One
10-14-2013, 01:46 AM
Ok here is what I would do.

1) Turn your site off.

2) Make a full backup, just incase something goes wrong.

3) Re-upload the files that came with your v4.2.2 zip.

4) Run the upgrade script.

5) Then get a copy of v4.2.1 Pl1 upload those files to your server.

6) Turn on debug mode by adding the following to your includes/config.php
$config['Misc']['debug'] = true;

7) Go to ACP --> Settings --> Options --> Version Info and Other Untouchables, and change ONLY the setting, vBulletin Version Number to 4.2.1

8) Turn off debug mode by removing the following to your includes/config.php
$config['Misc']['debug'] = true;

9) Remove the install directory.

10) Turn your site back on.

Now you will be upgraded to v4.2.1 and not have to worry about the 4.2.2 and PHP errors.

Thank you my friend, but when I tried upgrading to 4.2.2 after the Syrian Army hacked my 4.1.12, it completely messed up my site. So bad, that I needed to call the host to get a back up (and they only had one from 2 months ago). Pretty much everything is working on my forum now, except for this navigation issue.

I suspect, but don't know for sure, that simply using a navbar template for 4.1.12 will solve the problem, and that's the preferred route to re-upgrading and messing with the ftp files again.

I will click the heart for you because you have been gracious towards me and I appreciate that. Thank you.

ozzy47
10-14-2013, 03:05 AM
Hopefully that will work, but there may be issues that could pop up elsewhere.

tbworld
10-14-2013, 03:33 AM
I tend to agree with @Ozzy47, you board might not be in a known state. Keep the backups for a while, just in case.

Arrogant-One
10-14-2013, 01:10 PM
Hopefully that will work, but there may be issues that could pop up elsewhere.

I tend to agree with @Ozzy47, you board might not be in a known state. Keep the backups for a while, just in case.

Okay, thanks guys. Just one last question. How do I find the navbar template? I went to the Members Section of vbulletin.com, and downloaded the zip for 4.1.12 but it only contains php files to be put into the FTP root. It doesn't contain the template which gets accessed through the Admin CP (which is what I want to change).

ozzy47
10-14-2013, 01:16 PM
You would have to search for it in the install/vbulletin-style.xml file

It is going to be quite a ways down in the file.

Arrogant-One
10-14-2013, 02:14 PM
You would have to search for it in the install/vbulletin-style.xml file

It is going to be quite a ways down in the file.

Thanks for that. I think I found it, but the CDATA in it looks scary, and I am not sure where the template ends.

<templategroup name="Navigation / Breadcrumb">
<template name="navbar" templatetype="template" date="1331239707" username="vBulletin Solutions" version="4.1.12 Alpha 1"><![CDATA[<div id="navbar" class="navbar">
<ul id="navtabs" class="navtabs floatcontainer<vb:if condition="$show['member'] AND $notifications_total"> notify</vb:if>">
{vb:raw template_hook.navtab_start}
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'">
<li class="selected"><a class="navtab" href="{vb:link forumhome}">{vb:rawphrase forum}</a>
<ul class="floatcontainer">
{vb:raw template_hook.navbar_start}
<vb:if condition="$vboptions['bbmenu']">
<li><a href="{vb:link forumhome}">{vb:rawphrase forum}</a></li>
</vb:if>
<vb:if condition="$show['searchbuttons']">
<vb:if condition="$show['member']">
<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_P ost">{vb:rawphrase new_posts_nav}</a></li>
<vb:else />
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post">{vb:rawphrase todays_posts}</a></li>
</vb:if>
</vb:if>
{vb:raw template_hook.navbar_after_getnew}
<vb:if condition="$show['pmmainlink']">
<li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li>
</vb:if>
{vb:raw template_hook.navbar_after_pm}
<li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}" accesskey="5">{vb:rawphrase faq}</a></li>
{vb:raw template_hook.navbar_after_faq}
<vb:if condition="$show['canviewcalendar']">
<li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li>
</vb:if>
{vb:raw template_hook.navbar_after_calendar}
<vb:if condition="$show['communitylink']">
<li class="popupmenu">
<a href="javascript://" class="popupctrl" accesskey="6">{vb:rawphrase community}</a>
<ul class="popupbody popuphover">
{vb:raw template_hook.navbar_community_menu_start}
<vb:if condition="$show['quick_links_groups']">
<li><a href="{vb:link grouphome}">{vb:rawphrase social_groups}</a></li>
</vb:if>
<vb:if condition="$show['quick_links_albums']">
<li><a href="album.php{vb:raw session.sessionurl_q}">{vb:rawphrase pictures_and_albums}</a></li>
</vb:if>
<vb:if condition="$bbuserinfo['userid']">
<li><a href="profile.php?{vb:raw session.sessionurl}do=buddylist"><vb:if condition="$show['friends_and_contacts']">{vb:rawphrase contacts_and_friends}<vb:else />{vb:rawphrase contacts}</vb:if></a></li>
</vb:if>
<vb:if condition="$show['memberslist']">
<li><a href="memberlist.php{vb:raw session.sessionurl_q}">{vb:rawphrase members_list}</a></li>
</vb:if>
{vb:raw template_hook.navbar_community_menu_end}
</ul>
</li>
</vb:if>
{vb:raw template_hook.navbar_after_community}
<vb:if condition="$show['canviewforums']">
<li class="popupmenu">
<a href="javascript://" class="popupctrl">{vb:rawphrase forum_actions}</a>
<ul class="popupbody popuphover">
{vb:raw template_hook.navbar_forum_menu_start}
<li>
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a>
</li>
<vb:if condition="$show['member']">
<li>
<a href="profile.php?{vb:raw session.sessionurl}do=editoptions">{vb:rawphrase edit_options}</a>
</li>
<li>
<a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a>
</li>
</vb:if>
{vb:raw template_hook.navbar_forum_menu_end}
</ul>
</li>
</vb:if>
<li class="popupmenu">
<a href="javascript://" class="popupctrl" accesskey="3">{vb:rawphrase quick_links}</a>
<ul class="popupbody popuphover">
{vb:raw template_hook.navbar_quick_links_menu_pos1}
<vb:if condition="$show['member']">
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post">{vb:rawphrase todays_posts}</a></li>
<li><a href="{vb:link subscription}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li>
<li><a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&amp;focus=1','buddylis t','statusbar=no,menubar=no,toolbar=no,scrollbars= yes,resizable=yes,width=250,height=300'); return false;">{vb:rawphrase open_contacts}</a></li>
</vb:if>
{vb:raw template_hook.navbar_quick_links_menu_pos2}
<vb:if condition="$vboptions['forumleaders']">
<li><a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
<vb:if condition="$vb_suite_installed">
{vb:rawphrase view_site_leaders}
<vb:else />
{vb:rawphrase view_forum_leaders}
</vb:if>
</a></li>
</vb:if>
{vb:raw template_hook.navbar_quick_links_menu_pos3}
<vb:if condition="$show['wollink']">
<li><a href="online.php{vb:raw session.sessionurl_q}">{vb:rawphrase whos_online}</a></li>
</vb:if>
{vb:raw template_hook.navbar_quick_links_menu_pos4}
</ul>
</li>
{vb:raw template_hook.navbar_end}
</ul>
</li>
<vb:else />
<li><a class="navtab" href="{vb:link forumhome}">{vb:rawphrase forum}</a></li>
</vb:if>
{vb:raw template_hook.navtab_middle}
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT == 'search'">
<vb:if condition="$show['member']">
<li class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_P ost" accesskey="2">{vb:rawphrase getnew_tab}</a>
<ul class="floatcontainer">
{vb:raw template_hook.navbar_getnew_menu_start}
<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_P ost">{vb:rawphrase new_posts_nav}</a></li>
<vb:if condition="$show['quick_links_groups']">
<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_S ocialGroupMessage">{vb:rawphrase new_group_messages_nav}</a></li>
</vb:if>
<vb:if condition="$show['canviewcalendar']">
<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_E vent">{vb:rawphrase new_events_nav}</a></li>
</vb:if>
{vb:raw template_hook.navbar_getnew_menu_pos1}
<li><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a></li>
{vb:raw template_hook.navbar_getnew_menu_end}
</ul>
</li>
<vb:else />
<li class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post" accesskey="2">{vb:rawphrase getnew_tab}</a>
<ul class="floatcontainer">
{vb:raw template_hook.navbar_getdaily_menu_start}
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post">{vb:rawphrase todays_posts}</a></li>
<vb:if condition="$show['quick_links_groups']">
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _SocialGroupMessage">{vb:rawphrase daily_group_message}</a></li>
</vb:if>
<vb:if condition="$show['canviewcalendar']">
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Event">{vb:rawphrase daily_events}</a></li>
</vb:if>
<li><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a></li>
{vb:raw template_hook.navbar_getdaily_menu_end}
</ul>
</li>
</vb:if>
<vb:elseif condition="$show['member']" />
<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_P ost" accesskey="2">{vb:rawphrase getnew_tab}</a></li>
<vb:else />
<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post" accesskey="2">{vb:rawphrase getnew_tab}</a></li>
</vb:if>
{vb:raw template_hook.navtab_end}
</ul>
<vb:if condition="$vboptions['enablesearches']">
<div id="globalsearch" class="globalsearch">
<form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search" class="navbar_search">
<vb:comment><input type="hidden" name="s" value="{vb:raw session.sessionurl}" /></vb:comment>
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="process" />
<span class="textboxcontainer"><span><input type="text" value="" name="query" class="textbox" tabindex="99"/></span></span>
<span class="buttoncontainer"><span><input type="image" class="searchbutton" src="{vb:stylevar imgdir_button}/search<vb:if condition="$stylevar['textdirection'] == 'rtl'">_rtl</vb:if>.<vb:if condition="is_browser('ie') AND !is_browser('ie', 7)">gif<vb:else />png</vb:if>" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span></span>
</form>
<ul class="navbar_advanced_search">
<li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li>
{vb:raw template_hook.navbar_advanced_search}
</ul>
</div>
</vb:if>
</div>
</div><!-- closing div for above_body -->

<div class="body_wrapper">
<div id="breadcrumb" class="breadcrumb">
<ul class="floatcontainer">
<li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>
{vb:raw navbits.breadcrumb}
{vb:raw navbits.lastelement}
</ul>
<hr />
</div>

{vb:raw ad_location.ad_navbar_below}
{vb:raw ad_location.global_below_navbar}

<vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'">
<form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices">
<input type="hidden" name="do" value="dismissnotice" />
<input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
<input type="hidden" name="url" value="{vb:raw return_link}" />
<ol>
{vb:raw notices}
</ol>
</form>
</vb:if>]]></template>

ozzy47
10-14-2013, 04:00 PM
This is the relevant part.

<div id="navbar" class="navbar">
<ul id="navtabs" class="navtabs floatcontainer<vb:if condition="$show['member'] AND $notifications_total"> notify</vb:if>">
{vb:raw template_hook.navtab_start}
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'">
<li class="selected"><a class="navtab" href="{vb:link forumhome}">{vb:rawphrase forum}</a>
<ul class="floatcontainer">
{vb:raw template_hook.navbar_start}
<vb:if condition="$vboptions['bbmenu']">
<li><a href="{vb:link forumhome}">{vb:rawphrase forum}</a></li>
</vb:if>
<vb:if condition="$show['searchbuttons']">
<vb:if condition="$show['member']">
<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_P ost">{vb:rawphrase new_posts_nav}</a></li>
<vb:else />
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post">{vb:rawphrase todays_posts}</a></li>
</vb:if>
</vb:if>
{vb:raw template_hook.navbar_after_getnew}
<vb:if condition="$show['pmmainlink']">
<li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li>
</vb:if>
{vb:raw template_hook.navbar_after_pm}
<li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}" accesskey="5">{vb:rawphrase faq}</a></li>
{vb:raw template_hook.navbar_after_faq}
<vb:if condition="$show['canviewcalendar']">
<li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li>
</vb:if>
{vb:raw template_hook.navbar_after_calendar}
<vb:if condition="$show['communitylink']">
<li class="popupmenu">
<a href="javascript://" class="popupctrl" accesskey="6">{vb:rawphrase community}</a>
<ul class="popupbody popuphover">
{vb:raw template_hook.navbar_community_menu_start}
<vb:if condition="$show['quick_links_groups']">
<li><a href="{vb:link grouphome}">{vb:rawphrase social_groups}</a></li>
</vb:if>
<vb:if condition="$show['quick_links_albums']">
<li><a href="album.php{vb:raw session.sessionurl_q}">{vb:rawphrase pictures_and_albums}</a></li>
</vb:if>
<vb:if condition="$bbuserinfo['userid']">
<li><a href="profile.php?{vb:raw session.sessionurl}do=buddylist"><vb:if condition="$show['friends_and_contacts']">{vb:rawphrase contacts_and_friends}<vb:else />{vb:rawphrase contacts}</vb:if></a></li>
</vb:if>
<vb:if condition="$show['memberslist']">
<li><a href="memberlist.php{vb:raw session.sessionurl_q}">{vb:rawphrase members_list}</a></li>
</vb:if>
{vb:raw template_hook.navbar_community_menu_end}
</ul>
</li>
</vb:if>
{vb:raw template_hook.navbar_after_community}
<vb:if condition="$show['canviewforums']">
<li class="popupmenu">
<a href="javascript://" class="popupctrl">{vb:rawphrase forum_actions}</a>
<ul class="popupbody popuphover">
{vb:raw template_hook.navbar_forum_menu_start}
<li>
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a>
</li>
<vb:if condition="$show['member']">
<li>
<a href="profile.php?{vb:raw session.sessionurl}do=editoptions">{vb:rawphrase edit_options}</a>
</li>
<li>
<a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a>
</li>
</vb:if>
{vb:raw template_hook.navbar_forum_menu_end}
</ul>
</li>
</vb:if>
<li class="popupmenu">
<a href="javascript://" class="popupctrl" accesskey="3">{vb:rawphrase quick_links}</a>
<ul class="popupbody popuphover">
{vb:raw template_hook.navbar_quick_links_menu_pos1}
<vb:if condition="$show['member']">
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post">{vb:rawphrase todays_posts}</a></li>
<li><a href="{vb:link subscription}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li>
<li><a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&amp;focus=1','buddylis t','statusbar=no,menubar=n o,toolbar=no,scrollbars=yes,resizable=yes,width=25 0,height=300'); return false;">{vb:rawphrase open_contacts}</a></li>
</vb:if>
{vb:raw template_hook.navbar_quick_links_menu_pos2}
<vb:if condition="$vboptions['forumleaders']">
<li><a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
<vb:if condition="$vb_suite_installed">
{vb:rawphrase view_site_leaders}
<vb:else />
{vb:rawphrase view_forum_leaders}
</vb:if>
</a></li>
</vb:if>
{vb:raw template_hook.navbar_quick_links_menu_pos3}
<vb:if condition="$show['wollink']">
<li><a href="online.php{vb:raw session.sessionurl_q}">{vb:rawphrase whos_online}</a></li>
</vb:if>
{vb:raw template_hook.navbar_quick_links_menu_pos4}
</ul>
</li>
{vb:raw template_hook.navbar_end}
</ul>
</li>
<vb:else />
<li><a class="navtab" href="{vb:link forumhome}">{vb:rawphrase forum}</a></li>
</vb:if>
{vb:raw template_hook.navtab_middle}
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT == 'search'">
<vb:if condition="$show['member']">
<li class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_P ost" accesskey="2">{vb:rawphrase getnew_tab}</a>
<ul class="floatcontainer">
{vb:raw template_hook.navbar_getnew_menu_start}
<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_P ost">{vb:rawphrase new_posts_nav}</a></li>
<vb:if condition="$show['quick_links_groups']">
<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_S ocialGroupMessage">{vb:raw phrase new_group_messages_nav}</a></li>
</vb:if>
<vb:if condition="$show['canviewcalendar']">
<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_E vent">{vb:rawphrase new_events_nav}</a></li>
</vb:if>
{vb:raw template_hook.navbar_getnew_menu_pos1}
<li><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a></li>
{vb:raw template_hook.navbar_getnew_menu_end}
</ul>
</li>
<vb:else />
<li class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post" accesskey="2">{vb:rawphrase getnew_tab}</a>
<ul class="floatcontainer">
{vb:raw template_hook.navbar_getdaily_menu_start}
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post">{vb:rawphrase todays_posts}</a></li>
<vb:if condition="$show['quick_links_groups']">
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _SocialGroupMessage">{vb:r awphrase daily_group_message}</a></li>
</vb:if>
<vb:if condition="$show['canviewcalendar']">
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Event">{vb:rawphrase daily_events}</a></li>
</vb:if>
<li><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a></li>
{vb:raw template_hook.navbar_getdaily_menu_end}
</ul>
</li>
</vb:if>
<vb:elseif condition="$show['member']" />
<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_P ost" accesskey="2">{vb:rawphrase getnew_tab}</a></li>
<vb:else />
<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post" accesskey="2">{vb:rawphrase getnew_tab}</a></li>
</vb:if>
{vb:raw template_hook.navtab_end}
</ul>
<vb:if condition="$vboptions['enablesearches']">
<div id="globalsearch" class="globalsearch">
<form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search" class="navbar_search">
<vb:comment><input type="hidden" name="s" value="{vb:raw session.sessionurl}" /></vb:comment>
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="process" />
<span class="textboxcontainer"><span><input type="text" value="" name="query" class="textbox" tabindex="99"/></span></span>
<span class="buttoncontainer"><span><input type="image" class="searchbutton" src="{vb:stylevar imgdir_button}/search<vb:if condition="$stylevar['textdirection'] == 'rtl'">_rtl</vb:if>.<vb:if condition="is_browser('ie') AND !is_browser('ie', 7)">gif<vb:else />png</vb:if>" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span></span>
</form>
<ul class="navbar_advanced_search">
<li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li>
{vb:raw template_hook.navbar_advanced_search}
</ul>
</div>
</vb:if>
</div>
</div><!-- closing div for above_body -->

<div class="body_wrapper">
<div id="breadcrumb" class="breadcrumb">
<ul class="floatcontainer">
<li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>
{vb:raw navbits.breadcrumb}
{vb:raw navbits.lastelement}
</ul>
<hr />
</div>

{vb:raw ad_location.ad_navbar_below}
{vb:raw ad_location.global_below_navbar}

<vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'">
<form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices">
<input type="hidden" name="do" value="dismissnotice" />
<input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
<input type="hidden" name="url" value="{vb:raw return_link}" />
<ol>
{vb:raw notices}
</ol>
</form>
</vb:if>

Arrogant-One
10-14-2013, 08:23 PM
Thanks Ozzy

Unfortunately when I tried changing the template, I got this:

Fatal error: Uncaught exception 'Exception' with message 'Unable to find a class to validate: vB_TemplateParser_Curlyr' in /httpdocs/includes/class_template_parser.php:1084 Stack trace: #0 /httpdocs/includes/class_template_parser.php(1020): vB_TemplateParser->validate_curly(Object(vB_CurlyNode), Array) #1 /httpdocs/includes/adminfunctions_template.php(3022): vB_TemplateParser->validate(Array) #2 /httpdocs/admincp/template.php(2173): compile_template('<div id="navbar...') #3 {main} thrown in /httpdocs/includes/class_template_parser.php on line 1084

Arrogant-One
10-15-2013, 12:27 AM
Ok here is what I would do.

1) Turn your site off.

2) Make a full backup, just incase something goes wrong.

3) Re-upload the files that came with your v4.2.2 zip.

4) Run the upgrade script.

5) Then get a copy of v4.2.1 Pl1 upload those files to your server.

6) Turn on debug mode by adding the following to your includes/config.php
$config['Misc']['debug'] = true;

7) Go to ACP --> Settings --> Options --> Version Info and Other Untouchables, and change ONLY the setting, vBulletin Version Number to 4.2.1

8) Turn off debug mode by removing the following to your includes/config.php
$config['Misc']['debug'] = true;

9) Remove the install directory.

10) Turn your site back on.

Now you will be upgraded to v4.2.1 and not have to worry about the 4.2.2 and PHP errors.

I faithfully went through all of these steps. When I put the 4.2.2 files into the root, the subnavbar appeared. I was thrilled. But once the 4.1.12 files went into the root, it disappeared :(

ozzy47
10-15-2013, 12:29 AM
5) Then get a copy of v4.2.1 Pl1 upload those files to your server.

4.2.1 not 4.1.12

Arrogant-One
10-15-2013, 01:45 AM
5) Then get a copy of v4.2.1 Pl1 upload those files to your server.

4.2.1 not 4.1.12

It worked. :)

I wanted to give you a very big thank you for all of your assistance throughout this ordeal. Thanks again mate.

It was appreciated.

ozzy47
10-15-2013, 01:47 AM
Not a problem, glad to help. I am just glad it is all sorted now. :)

smirkley
10-15-2013, 03:07 AM
Ozzy, I like this and I have downloaded and am testing, but I wish to add "My Groups" to the list under blogs. I cant figure out the advanced search feature that will produce the results I wish for.

Any idea's? (I opened up a thread in vb4 programming forum, and if the results show up there you are welcome to it if you like.)

(edit - sorry, thought this was one of yours, but I just discovered otherwise)

smirkley
10-15-2013, 01:39 PM
To add My Groups to dropdown...

<li><a href="search.php?do=process&type[]=7&searchuser={vb:raw bbuserinfo.username}&exactname=1">My Groups</a></li>

Add it where you want it.

(thank you kh99)