Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Tabs Add System for vBulletin 4 (sstab advanced) Details »»
Tabs Add System for vBulletin 4 (sstab advanced)
Version: 2.0.5, by Jhonnyf Jhonnyf is offline
Developer Last Online: Feb 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.1.0 Rating:
Released: 01-19-2010 Last Update: 01-18-2011 Installs: 2058
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

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
  • Create Tabs in vBulletin 4
23-01-10: ver 2.0
  • Create/Manager Tabs Drop Down
  • Create/Manager Sublinks for Tabs
  • Option to Disable FORUM, HOME, BLOG, WHAT'S NEW Defaults vBulletin Tabs and not delete their sublinks menu
  • Phrases in native English and all phrases are in variables
  • Code with new algorithm for better performance
  • Spanish Language (sstab_advanced_spanish.xml)
23-01-10: ver 2.0.1
  • Fix some bugs
  • Work with vBadvanced CMPS Menu
23-01-10: ver 2.0.2
  • Fix menu Tab mix problem
  • Define some Rules:
    1. If TABS is a menu -> No process Sublink
    2. If MENU TAB no have Item -> No Process
27-01-10: ver 2.0.3
  • Change Title Size from 20 to 50 characters
  • Fix Error when not have Tabs
  • Add 2 phrases that I forgot to include in the last version
  • Fix Groups Permission when is a TAB MENU or TAB with SUBLINK
  • Add MultiScript
  • Option to TABMODE (THIS_SCRIPT, URL,URL_PARAMETER) Please, READ POST #2
  • membergroup with a list and checkbox (option to SET Colums in Config)
12-May-10: ver 2.0.4 (Compatible with vB 4.0.3)
  • Fix What's News
  • Add Option to ser Imagen to tabs
  • Credits in footer can be disable from Option Panel
  • Fix Calendar problem
  • Fix Option to URL_PARAMETER
19-Jan-11: ver 2.0.5 (Compatible with vB 4.1.1)
  • Fix All Hide Options
  • Allow to use Phrase as Titles (RULES)
    • If the "Phrase Variable Name" don't exist, them use the TITLE
************************************************** ***
About URL_PARAMETER
To use this Option only Write the Part that Always repeat, por example for this URLs:
  1. http://x.com/showthread.php?1-Nuevo (Main thread)
  2. http://x.com/showthread.php?1-Nuevo&p=13#post13 (Post in thread)
  3. http://x.com/showthread.php?1-Nuevo/page2 (One page of thread)
You Only Set:
  1. Tab Label = Any Name
  2. URL = http://x.com/showthread.php?1-Nuevo (or only http://x.com/showthread.php?1- that have the ID of thread)
  3. Tab mode: URL_PARAMETER
************************************************** ****
About Phrases as TITLES
When you create a New Element (Tab, menu, etc) You see a box to put only the variable Phrase name


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:
  • This Hack is FULL AUTO-TEMPLATE but need the default NAVBAR template to work
  • This Hack have copyright ad at the bottom of the page (if you use this)
Spanish Version, (Version en Espa?ol, mi lenguaje Primario ) -> Tabs Add System for vBulletin 4 (sstab advanced)

************************************************** *****

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

Download Now

File Type: zip sstab_advanced_203.zip (10.9 KB, 3614 views)
File Type: xml sstab_advanced_spanish.xml (7.1 KB, 665 views)
File Type: zip sstab_advanced_204a.zip (11.2 KB, 4342 views)
File Type: zip sstab_advanced_205.zip (12.2 KB, 8211 views)

Screenshots

File Type: gif listado ingles.gif (46.5 KB, 0 views)
File Type: gif Principal_new.gif (64.1 KB, 0 views)
File Type: gif menudrop.gif (8.4 KB, 0 views)
File Type: gif edicion ingles 203.gif (47.3 KB, 0 views)
File Type: gif onlyname.gif (16.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-20-2010, 01:36 PM
Jhonnyf's Avatar
Jhonnyf Jhonnyf is offline
 
Join Date: Nov 2007
Location: In my mind
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
define('THIS_SCRIPT''calendar'); 
Open showthread.php
PHP Code:
define('THIS_SCRIPT''showthread'); 
Open Group.php
PHP Code:
define('THIS_SCRIPT''group'); 
Reply With Quote
  #3  
Old 01-20-2010, 02:08 PM
dieKetzer dieKetzer is offline
 
Join Date: Mar 2002
Location: melbourne, australia
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 01-20-2010, 02:12 PM
Jhonnyf's Avatar
Jhonnyf Jhonnyf is offline
 
Join Date: Nov 2007
Location: In my mind
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dieKetzer View Post
these nav hacks are getting better and better
any plan to expand the functionality to include subnav links?
Examples? with Imagen please
Reply With Quote
  #5  
Old 01-20-2010, 02:20 PM
dieKetzer dieKetzer is offline
 
Join Date: Mar 2002
Location: melbourne, australia
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Originally Posted by Jhonnyf View Post
Examples? with Imagen please
Reply With Quote
  #6  
Old 01-20-2010, 02:31 PM
rbc's Avatar
rbc rbc is offline
 
Join Date: Jul 2007
Location: Switzerland
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, works great -
Reply With Quote
  #7  
Old 01-20-2010, 02:35 PM
Jhonnyf's Avatar
Jhonnyf Jhonnyf is offline
 
Join Date: Nov 2007
Location: In my mind
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dieKetzer View Post
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'
I did not noticed that there are different links depending on tab, I will do that for the next version or for 500 installs
Reply With Quote
  #8  
Old 01-20-2010, 03:03 PM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jhonnyf View Post
I did not noticed that there are different links depending on tab, I will do that for the next version or for 500 installs
I hope next version, 500 might take a while. I also would like to see sub-tabs.

BUG REPORT:
I can't delete any tabs! Attempting to delete them brings me to an empty admincp page.
Reply With Quote
  #9  
Old 01-20-2010, 03:29 PM
Jhonnyf's Avatar
Jhonnyf Jhonnyf is offline
 
Join Date: Nov 2007
Location: In my mind
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FF|Skyrider View Post
BUG REPORT:
I can't delete any tabs! Attempting to delete them brings me to an empty admincp page.
Fixed. download again

Thank you for report
Reply With Quote
  #10  
Old 01-20-2010, 03:33 PM
Muggz562 Muggz562 is offline
 
Join Date: Jan 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome! Definitely installed! I have been waiting for something like this for awhile.
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:12 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05447 seconds
  • Memory Usage 2,381KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (14)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete