sorry guys, youre on your own with this mod.
i am off to greener pastures;
xenforo.com
==================================
update (dec 2011) it appears another coder has made some changes to this mod and
made them available. this may fix some issues you are having with this mod.
==================================
this mod is intended for vb4 and its default header navigation template set. if you try to use this on a third-party template set, youre on your own.
quickstart:
in the admin cp under the section 'Tabs vbSoporte' (in the left frame)...
-config - use to
turn off/on the default vb tabs, such as forum, whats new, blogs, etc or to turn off the mod, or to change the number of allow/not allow columns to show.
-menu tabs - create a tab for the menu, and decide how it will function.
click 'add new tab' at the bottom and bring up the following
-----tab label - this is the name of the tab, and the text that will appear on the nav tab.
-----this tab is a menu- if you want the tab to activate
a drop down list of links, select
yes. if you want it to function as a link to a page, leave it set to
no.
-----url- if you want this tab to link to a page, enter the url here. if this tab will activate a drop-down menu, leave this blank.
-----tab mode- there are 3 ways to decide how the tabs
become 'highlighted', in a selected state:
---------this_script- the most reliable method is to enter the ''this_script' information and select this option. there are cases where tabs will interfere with one another and result in multiple tabs being selected at one time. this is a 'this_script conflict', so you may need to try a url option.
--------url- to instead use the url to enter a selected state, enter an absolute url (ie
http://www.example.com/forum/memberlist.php). relative urls (ie /memberlist.php) will fail. do not enter anything into the 'this script' field. (currently bugged)
---------url_parameter- if your url contains parameters (somepage.php?action=1&etc), you will need to select this option. to enter a selected state, enter an absolute url (ie
http://www.example.com/forum/memberl...p?action=1&etc). relative urls (ie /memberlist.php) will fail. do not enter anything into the 'this script' field. (currently bugged)
-----set the this_script value- if youre using the 'this_script' method, enter the information here, ie
arcade. if you are instead using the one of the url options, leave this blank.
-----target- determines if the link should open a new window or not. _self=same window, _blank=new window. if you are attempting to use javascript* to open a new window you may want to leave this set to _self if extra windows open.
-----allow/not allow- you can make tabs visible to admin-only, invisible for the unregistered, etc.
-----tab is active- you can turn off a tab if need be
-----tab position- use this to position a tabs location on the nav bar relative to the default vb tabs.
-----display order-
within each tab position, in what order will these tabs appear in the navigation bar? enter a numeric value. lower numbers appear first, a tab with an order of 10 will appear before one with an order of 20.
*you can set multiple tabs' display orders in one shot on the main menu tab page. remember to click 'save changes' when youre finished.
-drop-down items- if you selected
tab is a menu=yes when creating a tab. you can enter its menu items here. a drop-down menu tab and its menu items are not expected to select/highlight.
click 'add item' at the bottom and bring up the following
-----parent tab- which tab is this a menu item for? select it from the list. if the tab is not listed, check to make sure you set its 'tab is a menu' option to
yes.
-----menu text- what you want the link to say on the menu.
-----url- the page you want to link to
-----target- determines if the link should open a new window or not. _self=same window, _blank=new window. if you are attempting to use javascript* to open a new window you may want to leave this set to _self if extra windows open.
-----allow/not allow- you can make tabs visible to admin-only, invisible for the unregistered, etc.
-----menu item active- you can turn off a menu item if need be
-----display order- in what order will these tabs appear in the drop down menu? enter a numeric value. lower numbers appear first, a tab with an order of 10 will appear before one with an order of 20.
*you can set multiple menu items' display orders in one shot on the main menu item page. remember to click 'save changes' when youre finished.
-nav sub-links- if you want
a horizontal row of links to appear under the tabs when clicking a tab and navigating to a particular page, you may add them here. in order for sub-links to appear, the parent tab must be in a selected state. if you havent managed to get the tab to appear highlighted, your sub-links will not appear.
click 'add item' at the bottom and bring up the following
-----parent tab- which tab is this a sub-link item for? select it from the list. if the tab is not listed, check to make sure you set its 'tab is a menu' option to
no.
-----menu text- what you want the link to say on the sub nav bar.
-----url- the page you want to link to
-----target- determines if the link should open a new window or not. _self=same window, _blank=new window. if you are attempting to use javascript* to open a new window you may want to leave this set to _self if extra windows open.
-----allow/not allow- you can make links visible to admin-only, invisible for the unregistered, etc.
-----menu item active- you can turn off a link item if need be
-----display order- in what order will these links appear in the sub nav bar? enter a numeric value. lower numbers appear first, a tab with an order of 10 will appear before one with an order of 20.
*you can set multiple menu items' display orders in one shot on the main nav sub-links item page. remember to click 'save changes' when youre finished.
*about launching javascript windows: RK1gaming found he could get a tab to launch a javascript window by using the following injection as the tab url:
Code:
'javascript:void(0)' onclick='window.open("http://www.example.com/somepage.html","","height=407,width=650,status=1")
leave 'target = _self'. this is an unsupported use, but it appears to work.
here are THIS_SCRIPT for things
- vbadvanced home - adv_index
- ispy - vaispy
- vbcms 'content.php' - vbcms
- PhotoPost - ppindex
- links and downloads manager - local_links
- ibProArcade - arcade
to find a
this_script:
open the php file (locally, not the webpage!) youre trying to link to and look for this line in the code:
define('THIS_SCRIPT', '
blahblahblah');
insert the blahblahblah into the 'this_script' field (without the quote marks).
although not chiselled in stone, generally this_script is is the same as the script file name.