The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
FAQ Tab Highlight Custom Tab
Hi was wondering if this is possible to do. What I have done is I have a custom FAQ area with secondary FAQ questions & answers within it. I've created a link that is seen by only certain usergroups in the bottom part of the default navigation on vBulletin 4.2.3. The link only shows when a certain tab is clicked on the top part of the navigation. What I need is when I click that link in the bottom portion of the navbar is it possible to highlight my custom tab where that link shows instead of the "Forum" tab.
Basically the first screen shot is what you see before you click the top tab and go into the area I've highlighted the link to the custom FAQ area that I'm speaking of... The second screen shot is what happens after you click the FAQ link. The tab that I have put a yellow highlight over is the one I want highlighted when you click that FAQ link from the first screen shot. Hope this is not too confusing. I'm guessing that I need to create some sort of plugin, but I do not know what to put for the code. EDIT: I also need that same top tab to stay highlighted when a member actually clicks on that particular forum area connected with that tab. |
#2
|
||||
|
||||
Is your custom faq area part of the actual faq? What is the URL structure like for it and what is the URL structure like for the regular faq?
|
#3
|
||||
|
||||
The URL for the custom FAQ is http://lenmkaiser.com/forums/faq.php?faq=cusclients. The URL for the regular FAQ is http://lenmkaiser.com/forums/faq.php. So I created this FAQ based off the default one.
|
#4
|
||||
|
||||
Then you probably just need to create a navtab for it in the Navigation Manager, grab the identity at the top of that page (let's pretend it is tab_abc_123) and add a plugin at the set_navigation_tab_main:
PHP Code:
|
#5
|
||||
|
||||
Quote:
|
#6
|
||||
|
||||
I have a bit of a different question about tabs. I call the calendar Events on another site and created a tab instead of the bottom link. I would like the new Events tab to be highlighted when I'm in the calendar, how would I go about this? Currently when viewing the calendar the forum tab is highlighted I would prefer to have the Events tab highlighted.
|
#7
|
||||
|
||||
The calendar page that THIS_SCRIPT defined at the top of the page:
define('THIS_SCRIPT', 'calendar'); So, in the Navigation Manager, edit the Events tab and where it says "Tab Script(s)", put "calendar" (no quotes). |
Благодарность от: | ||
HM666 |
#8
|
||||
|
||||
Doh! I knew that but forgot all about it. Thanks again Lynne.
|
#9
|
||||
|
||||
Next question...How would I go about making the support forum highlight that same Client Support tab? The link is http://lenmkaiser.com/forums/forums/6-Support-Tickets. Instead of the "Forums" tab being highlighted I want the "Client Support" tab to highlight only for that support forum. The rest of the forums would be normal.
Also I want the same tab "Client Support" highlighted when a person is viewing a certain form from the Easy Forms mod. The link for that is http://lenmkaiser.com/forums/forms.php?do=form&fid=1. Also, also lol I need to know what plugin code I would use to change the "+Post New Thread" button to say "+Submit Ticket" in just one forum only. |
#10
|
||||
|
||||
Bump. Anyone?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|