Back to vBulletin 4.x Add-ons

Tabs Add System for vBulletin 4 (sstab advanced)
Mod Version: 2.0.5, by Jhonnyf

vB Version: 4.1.0 Rating: (263 votes - 4.71 average) Installs: 2058
Released: 20 Jan 2010 Last Update: 20 Jan 2011 Downloads: 14571
Not Supported DB Changes Uses Plugins Auto-Template Additional Files  

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 ) -> http://www.vbsoporte.com/foros/f36/tabs-add-system-vbulletin-4-sstab-advanced-726/

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

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

Spoiler (click to open)


Quote by shyguy82
Does anyone know how to include currently logged in UserId when using an external link?

I want to setup a link to an external site but I also want to include a UserId (affiliate).

Thanks
In Plugin Insertando Tabs
find:
PHP Code:
$tree = array();
        while( 
$tabs $vbulletin->db->fetch_array$result )) 
        {
            if (
is_null($tabs['tipo']))
            {
            
$tree[$tabs['tabid']] = $tabs;
            }
            else
            {
                if (
$tabs['tipo']=='menuitem' or $tabs['tipo']=='submenu')
                {
                
$tree[$tabs['tabid']][] = $tabs;
                }                
            }
        } 
Replace with:
PHP Code:
 $tree = array();
        
/*to use another variable, use $to_find[1], after $to_find[2], etc */
        
$to_find[0]="{userid}";
        
$to_change[0]=$vbulletin->userinfo['userid'];
        
/**/
        
while( $tabs $vbulletin->db->fetch_array$result )) 
        {
            
$tabs['url']=str_replace($to_find,$to_change,$tabs['url']);
            
$tabs['curl']=str_replace($to_find,$to_change,$tabs['curl']);
             
            if (
is_null($tabs['tipo']))
            {
            
$tree[$tabs['tabid']] = $tabs;
            }
            else
            {
                if (
$tabs['tipo']=='menuitem' or $tabs['tipo']=='submenu')
                {
                
$tree[$tabs['tabid']][] = $tabs;
                }                
            }
        } 
after that, you can use {userid} in your URLs

Close

Download

File Type: %1$s sstab_advanced_203.zip (10.9 KB, 3617 downloads)
File Type: %1$s sstab_advanced_spanish.xml (7.1 KB, 668 downloads)
File Type: %1$s sstab_advanced_204a.zip (11.2 KB, 4345 downloads)
File Type: %1$s sstab_advanced_205.zip (12.2 KB, 8215 downloads)

Screenshots

Click image for larger version
Name:	listado ingles.gif
Views:	12702
Size:	46.5 KB
ID:	110514   Click image for larger version
Name:	Principal_new.gif
Views:	10824
Size:	64.1 KB
ID:	110827   Click image for larger version
Name:	menudrop.gif
Views:	21335
Size:	8.4 KB
ID:	110830   Click image for larger version
Name:	edicion ingles 203.gif
Views:	8883
Size:	47.3 KB
ID:	111264  

Click image for larger version
Name:	onlyname.gif
Views:	33137
Size:	16.0 KB
ID:	125852  

Similar Mods

Forum Home Enhancements Flipped tabs = Swivel tabs = INVERTED TABS vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024