vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - Tabs Add System for vBulletin 4 (sstab advanced) (https://vborg.vbsupport.ru/showthread.php?t=233629)

volarium 01-26-2010 03:17 AM

Suggestion for a future release: Allow multiple entries in the THIS_SCRIPT field.

On my site, I use PhotoPost. The index.php of PhotoPost is THIS_SCRIPT = "ppindex". However, there are also sub-sections of PhotoPost. For example, showphoto.php is THIS_SCRIPT = "showphoto". So in this example, I would like to enter both "ppindex" and "showphoto" into the field THIS_SCRIPT so that the tab will be highlighted as I move around within PhotoPost.

Would this be a difficult feature to add?

dieKetzer 01-26-2010 05:35 AM

1. have your vb zip installation unzipped somewhere on your hard drive
2. what page are you linking to?;lets assume its calendar.php... open your local copy of that page and look for the 'this_script' line of code, ie define('THIS_SCRIPT', 'calendar');
its normally toward the top of the script.
3. enter calendar into the buttons 'this_script' info.

the button will appear selected whenever a page is loaded that declares define('THIS_SCRIPT', 'calendar');
Quote:

Originally Posted by New Joe (Post 1966662)
I still don't understand how to make the Tabs so they are highlighted to where you are.
When I click on a new Tab I have made, the 'Forum' tab is highlighted instead of the newly made Tab.


New Joe 01-26-2010 06:50 AM

Thanks dieKetzer

Skyrider 01-26-2010 08:13 AM

Yea, I'm curious myself how THIS_SCRIPT works exactly.

PS, found a bug:
It won't hide the main tab when I use "Groups Allowed to see TAB".. It hides the subcategories from users, but it doesn't hide the main menu tab. And yes, I've set the groups allowed in the main tab (not in the submenu) and it still refuses to hide it.

tazattitude 01-26-2010 09:27 AM

Quote:

Originally Posted by FF|Skyrider (Post 1966872)
PS, found a bug:
It won't hide the main tab when I use "Groups Allowed to see TAB".. It hides the subcategories from users, but it doesn't hide the main menu tab. And yes, I've set the groups allowed in the main tab (not in the submenu) and it still refuses to hide it.

I read through every post to see if something was mentioned like this, and the VERY LAST post lol

Anyway, yes, I can second this one.
I have a special "Admin" tab with about 10 submenu links. I have both the tab and submenu links set so only "admin usergroup" can see and all other usergroups cannot see. The submenu links hide fine, but the main tab does not.

Thanks! Great mod!

Jhonnyf 01-26-2010 09:31 AM

Quote:

Originally Posted by volarium (Post 1966751)
Suggestion for a future release: Allow multiple entries in the THIS_SCRIPT field.

On my site, I use PhotoPost. The index.php of PhotoPost is THIS_SCRIPT = "ppindex". However, there are also sub-sections of PhotoPost. For example, showphoto.php is THIS_SCRIPT = "showphoto". So in this example, I would like to enter both "ppindex" and "showphoto" into the field THIS_SCRIPT so that the tab will be highlighted as I move around within PhotoPost.

Would this be a difficult feature to add?

Ok, multi-script field for the next version.

Quote:

Originally Posted by FF|Skyrider (Post 1966872)
Yea, I'm curious myself how THIS_SCRIPT works exactly.

PS, found a bug:
It won't hide the main tab when I use "Groups Allowed to see TAB".. It hides the subcategories from users, but it doesn't hide the main menu tab. And yes, I've set the groups allowed in the main tab (not in the submenu) and it still refuses to hide it.

Checking that bug

New Joe 01-26-2010 10:36 AM

You are great with support for this mod, well done:up:

Fusion2 01-26-2010 11:38 AM

Not sure if already addressed, but the sublinks arent showing on my side.

I created the tabs, added sublinks which show the correct tabs as parents. But, it displays the default CMS sublinks, even if i disable the CMS sublinks.

Also my tabs arent highlighting when clicks.

Otherwise the product works great. But, i am gonna leave disabled until those two items are resolved.

Skyrider 01-26-2010 11:44 AM

Quote:

Originally Posted by Fusion2 (Post 1966976)
Not sure if already addressed, but the sublinks arent showing on my side.

I created the tabs, added sublinks which show the correct tabs as parents. But, it displays the default CMS sublinks, even if i disable the CMS sublinks.

Also my tabs arent highlighting when clicks.

Otherwise the product works great. But, i am gonna leave disabled until those two items are resolved.

Don't know about the first one, but the second one is related to the SCRIPT tab when adding new menu's. Haven't figured out how they work yet. The menu's are working just fine for me, so I don't see a reason why it shouldn't work for you.

Fusion2 01-26-2010 11:55 AM

A few more wish items:

1. If you add enough tabs, the tabs overlap with the search field. Need a fix to prevent this.

2. If you add enough tabs, the tabs rollover to the second line, which overlaps with the navlinks. Need a fix to prevent this.

3. It would be nice if you could re-order and rename the default tabs (blog, home etc.) from this mod, as you are able to hide them.

4. For people with long tier-1 menus. It would be great if you could automatically create a second level to the tab menu, and decide which tabs appear on level 1 or level 2; rather then this overlap with the navlinks menu


All times are GMT. The time now is 11:07 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
  • Page Generation 0.01859 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete