Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #451  
Old 18 Jul 2011, 23:18
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Originally Posted by Lynne View Post
It belongs at the very, very end. It should be your last line in the plugin.

edit: Well, I guess while I was typing Brooks was being the young whippersnapper he is and answering way, waaaaay faster than me!
Not really young anymore lol
__________________

Posting for support? Read THIS first
Do NOT PM me unless I asked you to. Your PM will be deleted and ignored!
Do NOT IM me unless I asked you to. You will be added to my ignore list!
Chuck Norris once shot an enemy plane down with his finger.... by yelling, “Bang!”
Reply With Quote
  #452  
Old 18 Jul 2011, 23:18
Spyike Spyike is offline
 
Join Date: Nov 2010
Originally Posted by Lynne View Post
It belongs at the very, very end. It should be your last line in the plugin.

edit: Well, I guess while I was typing Brooks was being the young whippersnapper he is and answering way, waaaaay faster than me!
Thank you as well.

If I wanted to have the Sublink drop downs directly from the original tab, rather than Tab > Link > Sublink, would I simply delete the lists and leave the unordered lists?

Thanks
Reply With Quote
  #453  
Old 19 Jul 2011, 00:25
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by Spyike View Post
Thank you as well.

If I wanted to have the Sublink drop downs directly from the original tab, rather than Tab > Link > Sublink, would I simply delete the lists and leave the unordered lists?

Thanks
There is another article about how to make the navtabs dropdowns themselves. You should be able to find it in this forum.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #454  
Old 19 Jul 2011, 00:49
Spyike Spyike is offline
 
Join Date: Nov 2010
Originally Posted by Lynne View Post
There is another article about how to make the navtabs dropdowns themselves. You should be able to find it in this forum.
http://www.vbulletin.org/forum/showthread.php?t=232579 only applies to the Sublink drop downs as does http://www.vbulletin.org/forum/showthread.php?t=232579
Reply With Quote
  #455  
Old 30 Jul 2011, 07:26
AlokSharma's Avatar
AlokSharma AlokSharma is offline
 
Join Date: Jan 2011
Real name: Alok Sharma
Just in case, if someone only wants to add a tab, here is the modified code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With some unique name.
__________________
Ruchie.com | Live Web Solutions
Reply With Quote
  #456  
Old 12 Aug 2011, 18:00
odln018's Avatar
odln018 odln018 is offline
 
Join Date: Mar 2006
If possible, could I get some personal assistance in getting this to work on my forum?

I would try some products, but I'm concerned about the developers bailing out, and figure it would be beneficial just to see how it's done "manually".

Last edited by odln018 : 12 Aug 2011 at 18:32.
Reply With Quote
  #457  
Old 15 Aug 2011, 19:47
christian gate christian gate is offline
 
Join Date: Aug 2011
Question How to

Hi, I have 2 questions please

1. If I need to create more than 1 tab, would I have to keep adding this blugin for each tab, if not so how can i use it for more than 1 tab?

2. I need to make 3 different forums ( already Exit), each will have own tab in the navbar, can I do that with this blugin, how?

I am new with coding and if you please give me a step by step instructions.


Thanks
Reply With Quote
  #458  
Old 16 Aug 2011, 00:33
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
1. You may add the plugin code several times into the same plugin and just change the condition for each.

2. Just add a unique condition for each.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #459  
Old 17 Aug 2011, 22:16
HolyKiller HolyKiller is offline
 
Join Date: Dec 2006
Lynne & wowautoauctions: THANKS a LOT !!!

It works excelent for sub-forum with proper highlighting!



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Anyway, one more thing...

Now i have navbar like this:

CMS_FORUM_BLOGS_AAA_BBB_CCC_WHATSNEW

and i would like to have it like this:

CMS_FORUM_AAA_BBB_CCC_BLOGS_WHATSNEW

How to "move" that "BLOG" to the right?

Thanks!

Last edited by HolyKiller : 18 Aug 2011 at 00:15. Reason: Fixed wrong arrange of the TABs
Reply With Quote
  #460  
Old 17 Aug 2011, 23:49
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by HolyKiller View Post
Anyway, one more thing...

Now i have navbar like this:

CMS_FORUM_BLOGS_AAA_BBB_CCC_WHATSNEW

and i would like to have it like this:

CMS_FORUM_AAA_BBB_CCC_WHATSNEW_BLOGS

How to "move" that "BLOG" to the right?

Thanks!
There are template_hooks in the navbar that are being used to place the navtabs. If you want to move a tab, then find the template hook you want to use and change the existing one (in this case it is a plugin in the blog product) to use the new one.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #461  
Old 18 Aug 2011, 00:12
HolyKiller HolyKiller is offline
 
Join Date: Dec 2006
Ha, i found it under "Navbar: Eval Blog Link Template and Validate Styleid" so i changed:

$template_hook['navtab_middle'] .= vB_Template::create('blog_navbar_link')->render();
to
$template_hook['navtab_end'] .= vB_Template::create('blog_navbar_link')->render();

But now it is like

CMS_FORUM_AAA_BBB_CCC_WHATSNEW_BLOGS

so i would like to change BLOG<->WHATSNEW ... like this

CMS_FORUM_AAA_BBB_CCC_BLOGS_WHATSNEW
(My previouws post was wrong, i already fixed it)

And i cant see any hook for WhatsNew ... i guess, i need to digg it somewhere else

EDIT: WoW Lynne you so fast, i did not saw your reply, thanks!

EDIT2: Solved! My script had "Execution Order" set to "15" and that Blog one was "6", so i set "5" for my script and set Blog back to "middle", which isi "Execution Order: 6" ... and VOALA

Last edited by HolyKiller : 18 Aug 2011 at 18:20.
Reply With Quote
  #462  
Old 25 Aug 2011, 10:11
Ethelbert Ethelbert is offline
 
Join Date: Feb 2007
It is possible to change order? Standard order is at the end.. but I want to have it before Home link, blog link and forum link.. It is possible?
Reply With Quote
  #463  
Old 25 Aug 2011, 16:11
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by Ethelbert View Post
It is possible to change order? Standard order is at the end.. but I want to have it before Home link, blog link and forum link.. It is possible?
As I stated in the first post, there are other template_hooks you can use - navtab_start, navtab_middle, and navtab_end. And then you could change the execution order also if two navtabs use the same template_hook and you want them in a different order.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #464  
Old 30 Oct 2011, 23:37
Breakthecycle2's Avatar
Breakthecycle2 Breakthecycle2 is offline
 
Join Date: Sep 2011
Quick question Lynn,

my site: www.droid-tech.com.

I want to add a tab,"Friends of Droid Tech", with a submenu of our friends links. What would I need to add in the if (THIS_SCRIPT == 'yourpage').

Would it be "Droid Tech Friends"? or my forums page?
__________________
If you love Android, check out my SITE!
Reply With Quote
  #465  
Old 31 Oct 2011, 02:46
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by Breakthecycle2 View Post
Quick question Lynn,

my site: www.droid-tech.com.

I want to add a tab,"Friends of Droid Tech", with a submenu of our friends links. What would I need to add in the if (THIS_SCRIPT == 'yourpage').

Would it be "Droid Tech Friends"? or my forums page?
I don't know as you didn't say where this tab is supposed to link to. If it links to the forum.php page, then you would use THIS_SCRIPT == 'index'
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 17:59.

Layout Options | Width: Wide Color: