![]() |
Tabs Add System for vBulletin 4 (sstab advanced)
1 Attachment(s)
Review:
This mod allows you to easily add and remove tabs on the navigation bar using the adminCP. Tabs can appear as "selected" after being clicked, automatically deselecting the other tabs. You also have the option of indicating which groups are allowed and not allowed to see the tabs via usergroup id. Tabs may operate as normal select tabs, as drop-down menus. or as links to external sites. The Hack only use 1 SQL sentence to create All the Menu, no Template edition This Hack allows you to create tabs at the bar of vBulletin 4.0 Installation: - Upload all files in the UPLOAD folder to the root of the forum - Import the product 'product-evbs_sstab_advanced.xml' - Configure and manage your tabs in the "Tabs vbSoporte" menu in AdminCP - Do not forget to "Allow Overwrite" if you are Updating to 2.0 20-01-10: ver 1.0
About URL_PARAMETER To use this Option only Write the Part that Always repeat, por example for this URLs:
About Phrases as TITLES When you create a New Element (Tab, menu, etc) You see a box to put only the variable Phrase name https://vborg.vbsupport.ru/attachmen...1&d=1295475459 To create New Phrase go to Languages & Phrases -> Phrase Manager -> Add New Phrase ************************************************** **** Special Thank to vB Style Taught me about new the CSS system and help me using CSS standards dieKetzer Betatester and Translator to native English Language Observation:
************************************************** ***** How to Add Variables Like userid: if you need to use vBulletin variables to make URL like http://myurl.com/?u={userid} see this Post https://vborg.vbsupport.ru/showpost....postcount=1031 |
Tab mode
URL = With this opcion only the Tab is highlight if match exactly with the URL if you set "http://www.url.com/showthread.php?59-description" only with that exactly URL work, then "http://www.url.com/showthread.php?59-description/page2" not macth URL_PARAMETER = match the URL + Parameters (page=1,etc) if you set "http://www.url.com/showthread.php?59-description" then the condition to highlight is "http://www.url.com/showthread.php?59-description[any, like parameter how /page2, etc]" THIS_SCRIPT: That is a Identificator to know with php archive you are load You can find this open the php archive that you can highlight, for examples: In calendar.php PHP Code:
PHP Code:
PHP Code:
|
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") here are THIS_SCRIPT for things
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. |
Quote:
|
meaning to allow us to dictate the sub-links associated with each button.
for example, how 'forum' has these sublinks ' New Posts | Private Messages | FAQ | Calendar | Community' Quote:
|
thanks, works great - :)
|
Quote:
|
Quote:
BUG REPORT: I can't delete any tabs! Attempting to delete them brings me to an empty admincp page. |
Quote:
Thank you for report |
Awesome! Definitely installed! I have been waiting for something like this for awhile. :)
|
Quote:
|
great mod....this will be the easiest way and fantastic if we can also add sub links below...under each tab we create.... ;) thanks anyway...
|
Thanks, I hope you can update this without having to wait for the 500 installs tho...
tagged for when I upgrade to VB4 |
Quote:
you also need to add the ability to add drops downs to the tab. http://img705.imageshack.us/img705/9572/picture1ij.png The "admin tools" came from MARCO1 Quick Admin Tools mod in this forum. I'd rather have no "sub nav" links, and simply the drop downs. Eliminates the need for a sub nav bar. And, if you can add drop downs, then even drop downs within dropdowns. Sections within sections. So complex menu's can be made. |
Quote:
|
Taken note for the next version (ok,ok, not 500 Installs)
* TABS with Drop menu (post #14) * Sub link for new Tabs (delete all and create the news for the Tab)(post #3 and #14) Somethings else? |
Excellent idea Man :)
How about you add new Navbar menu with option underneath your NabTab? Thanks. |
Excellent, just what I was looking for, thank you.
|
nice work :up:
|
nice mod thanks .. chose this one over the others available.. seems nice n easy .. and sounds better with the added suggestions on the next update..
one more if is possible .. any way to be able to give the tab a color .. either just able to color the text or if possible to color the text and/or tab too? thanks :) |
How do you REMOVE vb4 default tabs? I'm looking to remove "Blogs" and "What's New".
Kurt |
Quote:
|
Hi thank you for this mod :) great job and voted mod of month.
Now can anyone tell me what the "THIS_SCRIPT" would be for vbadvanced please? Mark :) Edit: Sorry I found it "adv_index" Great mod! cheers |
OUTSTANDING!!! I have been waiting for just this!
I agree with posts #3 and #14 and I wish you much more then 500 installs :) Thanks again! :) |
Thank you for this great addon.
|
this is great
thanks i love it |
I'm tagging this one. If we have dropdowns option for tabs would be perfect.
|
Any possiblity to get a tab to be marked active if the link is to a section of the CMS?
Like: content.php?118 |
I have the DROP DOWN System complete (100%)
https://vborg.vbsupport.ru/ This is new option for the hack, the first menu (Manager) is the same when I finish the Sub menu system I going to release a new Version |
for the ones who want to remove Whats New tab follow this steps:
AdminCP > Styles and templates > your style > Edit templates > in the list double click on Code:
navbar Code:
<vb:elseif condition="$show['member']" /> |
Great work!! Such speed on Drop Down too... going to install now and just hope it works as well as it looks/sounds!
|
Quote:
Quote:
Quote:
This is shaping up to be thee mandatory Tab System for vB 4. Great addon. +++ Tagged ... will install ASAP. |
This is a very nice mod. Thank you
However, before we keep it...Is there anyway with this mod to add a tab which points to a custom vb powered page and remain selected? The page is rendered through a vb custom template and is calling some php code from outside vB. The vb powered page includes the tab bar at the top of it so it looks incorrect to see the tab for the page you are on but the forum tab is the one highlighted. I need to make that tab stay selected when on that page. Oh and x2 on the ability to set the sub menu items based on the selected tab! Thanks for the nice work! |
Quote:
I would like to verify that when you click a Tab made by this mod ... that the Tab Appears Selected. Other TAB mods suffer from this problem. |
Quote:
|
Quote:
Does not stay selected if it is and external link. Seems there must be a way for a custom page that is powered by VB which is what my question was in reference to how to do...or if it is possible |
ok, figured it out. Forgot the .php on the name.
For those of you that have a vb powered page, all you have to do is DL your php file for that page and open it it wordpad. Towards the top you will find THIS_SCIPT. Right after it will be the name you use. As long as you define any php file I imagine it will still show selected Thank you and marking installed! I have used a few nav tab mods and this one is the best for sure. Once the sub menus are able to be changed based on the sleeted tab this will for sure be the definitive tab mod! |
Great Mod.
I want to ad a blank between each tab so to space them out. Is there a code for this. Thanks in advance |
Option to create TABS DROP DOWN MENU 100%
Option to create Sublink for TABS 95% Full Admin System 95% Testing with my Betatesters (my friends) = 0% :P When my friends testing the opcion I release this version |
Great mod...can anyone touch up the language and re-issue a more English hack version?
|
All times are GMT. The time now is 05:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|