The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Quote:
My Tab settings: Tab 1: Home (id: 48) Tab Script(s) adv_index Append 'tabid' to URL set to NO Tab 2: HUB (id: 47) Tab Script(s) adv_index Append 'tabid' to URL set to YES The plugin I made is with this code: Code:
if (THIS_SCRIPT == 'adv_index') { $tabid = '48'; } So clearly I'm missing some steps here to get more then one tab to be able to highlight. My HOME tab highlights when im on my HUB page. The HUB tab will not highlight. |
#12
|
||||
|
||||
send me the below, and I will help you with the code for the plugin:
Screenshot of the edit tabs page (Nav Manager) CMPS Page Identifier for each page |
#13
|
||||
|
||||
Quote:
For instance my HUB page is: http://www.mydomain.net/index.php?pageid=hub&tabid=47 What I just use hub for like this: {hub}? |
#14
|
||||
|
||||
ok, for your hub page try this
PHP Code:
|
#15
|
||||
|
||||
So the other part of instructions im not clear on is that I would have to make unique plug-ins for any VBA pages correct?
|
#16
|
||||
|
||||
use that same plugin, just repeat the code for each page, like below:
PHP Code:
|
#17
|
||||
|
||||
For my home tab I made a plugin like this:
Code:
if (THIS_SCRIPT == 'adv_index' AND $_GET['pageid'] == 'home') { $root= 'tab_mda1_175'; } I made a second plug-in for my HUB page like this: (doesn't work either) Code:
if (THIS_SCRIPT == 'adv_index' AND $_GET['pageid'] == 'hub') { $root= 'tab_mda1_358'; } --------------- Added [DATE]1450126013[/DATE] at [TIME]1450126013[/TIME] --------------- OKAY! I have my plugin code set this way now: Code:
if (THIS_SCRIPT == 'adv_index' AND $_GET['pageid'] == 'home') { $root= 'tab_mda1_175'; } if (THIS_SCRIPT == 'adv_index' AND $_GET['pageid'] == 'hub') { $root= 'tab_mda1_358'; } --------------- Added [DATE]1450126136[/DATE] at [TIME]1450126136[/TIME] --------------- WOW this sucks! I've tried everything here and can't get this to work! |
#18
|
||||
|
||||
Here are screenshots of my plug-in settings on my HOME tab settings.
I feel I am so close but must be missing something!??? |
#19
|
||||
|
||||
So the missing part to the instructions that I overlooked is that you do NOT create a plug-in you use the NAV TAB plugin that already is there and replace the code in that plug-in!!!
Not one time did anyone say: edit the standard vba plug-in titled "NAV TAB". THAT WAS MY MISSING LINK! UGGGGG |
Благодарность от: | ||
Dragonsys |
#20
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|