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
  #1032  
Old 05-14-2011, 11:44 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 shyguy82 View Post
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
Reply With Quote
  #1033  
Old 05-16-2011, 05:53 PM
charlesr charlesr is offline
 
Join Date: Aug 2009
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by triff View Post
I'm running vB 4.1.3 with vBSEO 3.6.0

I want to make a new "Forum" tab that leads directly to one of my subforums and not forumhome.

I hid the original forum tab in config, and created a new tab with the plugin:

Tab Label: Forum
Varname of the phrase: (left empty)
Is tab a menu?: No
URL: http://mindfulnessweb.net/mindfulness-forum/
Imagen path: (left empty)
Tab mode: URL PARAMETER
This script value: (left empty)
Target: _self
Groups allowed to see tab: All
Groups NOT allowed to see tab: None
Tab is active: Yes
Position: center
Display order: 0

The new tab works as it should, with the exception that it does not stay highlighted. What will I need to do to keep it highlighted after selected?

Thanks.
Similar - is there a way to keep the tab highlighted after you press it, rather than it defaulting to 'articles'? Thanks.
Reply With Quote
  #1034  
Old 05-17-2011, 10:21 AM
kardac.stenfot kardac.stenfot is offline
 
Join Date: Jun 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eJunkie View Post
Can you post your plugin-code, please?

EDIT: Insert into line 73.
Code:
$menucompleto = str_replace("{s}",$vbulletin->userinfo['securitytoken'],$menucompleto);
A great and needed addition to the plugin. can this be integrated in the plugin please?
Reply With Quote
  #1035  
Old 05-19-2011, 05:15 PM
ShannonA ShannonA is offline
 
Join Date: Apr 2002
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this about a month ago, and when I went to update my tabs today discovered that the admin menu is gone(!). The actual tabs work fine, I just can't update them. I know we've installed vB4.1.3 in the meantime, but I can't think of anything else that might have caused this.

Any idea how to fix this? I tried disabling and reenabling the tab system, just to see if that'd give any help, but no go.
Reply With Quote
  #1036  
Old 05-20-2011, 03:35 AM
hyperviperx99's Avatar
hyperviperx99 hyperviperx99 is offline
 
Join Date: Feb 2011
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I tried to put the xml file, it says "invalid file"
Reply With Quote
  #1037  
Old 05-26-2011, 10:58 AM
Mukashi's Avatar
Mukashi Mukashi is offline
 
Join Date: Jan 2004
Location: Brisbane, Australia
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Plugin causes the following error when enabled (identifying info removed). It is heavily customized, and it had been working on our test forum, so we're expecting it's some kind of conflict with an another addon. Not certain however.

Quote:
Parse error: syntax error, unexpected T_STRING in /home/[accountonserver]/public_html/[forumdirectory]/includes/class_bootstrap.php(414) : eval()'d code on line 345
Reply With Quote
  #1038  
Old 05-31-2011, 05:31 PM
kderentz kderentz is offline
 
Join Date: Jan 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey guys ran into an issue. Maybe Im just blind but I cant find where you add the tabs.

Under AdminCp > Options > Tabs Add System for vBulletin 4 by vbSoporte

it only allows me to set options like Active, Hide "FORUM" tab?, Hide "BLOG" tab?, ect .... but no place to add tabs.

I looked on the left frame to see if it created a new section and dont see anything.

Any ideas?
Reply With Quote
  #1039  
Old 05-31-2011, 05:43 PM
charlesr charlesr is offline
 
Join Date: Aug 2009
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look for the new admincp menu near the top left "Tabs vbSoporte".
Reply With Quote
  #1040  
Old 05-31-2011, 05:51 PM
kderentz kderentz is offline
 
Join Date: Jan 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by charlesr View Post
Look for the new admincp menu near the top left "Tabs vbSoporte".
I just found it ... for some reason when I did the install the files got messed up as I deinstalled it and reinstalled and it worked.

Great mod! and big help! :up:
Reply With Quote
  #1041  
Old 06-01-2011, 02:43 PM
kderentz kderentz is offline
 
Join Date: Jan 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One issue that I cant seem to figure out and though you guys might be able to help me with.

Im using VBadvanced, and the mod is working fine with it except for one part. I choose to hide the "Whats New" tab, and mod is hiding it on every page except for the cmps_index.php page. Anyone have any ideas?
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 07:25 PM.


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.12489 seconds
  • Memory Usage 2,396KB
  • Queries Executed 26 (?)
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
  • (2)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
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (14)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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