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)

SnitchSeeker 01-25-2010 03:44 PM

Quote:

Originally Posted by Jhonnyf (Post 1966225)
Thank You,

Ok, option to write a URL (THIS Disable THIS_SCRIPT) and highlight
Something else?? new Ideas? :D

Just to make sure you know what I mean, take vb.org for example. vBulletin 4.0 Modifications is a sub-forum to vBulletin Modifications. If I want to make "vb 4 Mods" it's own tab, then vBulletin 4.0 Modifications, and any post or thread or sub-forum (such as vBulletin 4.0 Add-ons, or vBulletin 4.0 Template Modifications) to it should show that tab (vb 4 Mods) as highlighted, and NOT the "Forums" tab. However all other forums, threads and posts (that are not made to tabs) should show the "Forums" tab as highlighted.

Or... if I were to make the whole forum section vBulletin Modifications into a tab called "vb Mods", then vBulletin Modifications, vBulletin 4.0 Modifications, as well as all threads, posts and other sub-forums should highlight the "vb Mods" tab and not the "Forums" tab. While all other forums (that are not tabs) would highlight the forums tab.

Comprende?

Yeah, I know it's complicated but I think several people are looking for exactly that. I hope you know what I mean. Sorry I suck at simplifications.

Good luck!! :D

EDIT: If it's easier, then for me it would be enough to limit it to allow only first-level forums as TABS (i.e. for vb.org, vBulletin 3 Discussion, vBulletin 4 Discussion, Community Discussion, etc). As long as all sub-forums, threads, posts, etc. under that forum would highlight the right tab, and not the Forums tab.

Demo16 01-25-2010 04:23 PM

Maybe I'm doing something wrong but I want to add for example the "reviews" tab. But this tab most be linked to a section, when I click this tab, I'm directed to the right section but the HOME tab is still highlighted and not the review one.

Am I doing something wrong?

Jhonnyf 01-25-2010 04:26 PM

Quote:

Originally Posted by compuminus (Post 1966234)
If I do not add any new links to the top menu (and only use the hack to disable some of them, such as the what's new link), then I get the following PHP error:

Warning: Invalid argument supplied for foreach() in [path]/includes/class_bootstrap.php(283) : eval()'d code on line 111


I'm going to check that.

Quote:

Originally Posted by compuminus (Post 1966236)
Another bug: if the link title is longer than 20 characters it truncates the title at 20 characters.

Yes, I create the table with only 20 characters for tabs title... to little???

Jhonnyf 01-25-2010 04:35 PM

Quote:

Originally Posted by SnitchSeeker (Post 1966252)
Just to make sure you know what I mean, take vb.org for example. vBulletin 4.0 Modifications is a sub-forum to vBulletin Modifications. If I want to make "vb 4 Mods" it's own tab, then vBulletin 4.0 Modifications, and any post or thread or sub-forum (such as vBulletin 4.0 Add-ons, or vBulletin 4.0 Template Modifications) to it should show that tab (vb 4 Mods) as highlighted, and NOT the "Forums" tab. However all other forums, threads and posts (that are not made to tabs) should show the "Forums" tab as highlighted.

Or... if I were to make the whole forum section vBulletin Modifications into a tab called "vb Mods", then vBulletin Modifications, vBulletin 4.0 Modifications, as well as all threads, posts and other sub-forums should highlight the "vb Mods" tab and not the "Forums" tab. While all other forums (that are not tabs) would highlight the forums tab.

Comprende?

Yeah, I know it's complicated but I think several people are looking for exactly that. I hope you know what I mean. Sorry I suck at simplifications.

Good luck!! :D

EDIT: If it's easier, then for me it would be enough to limit it to allow only first-level forums as TABS (i.e. for vb.org, vBulletin 3 Discussion, vBulletin 4 Discussion, Community Discussion, etc). As long as all sub-forums, threads, posts, etc. under that forum would highlight the right tab, and not the Forums tab.

I do that for vb3.X take a look here

http://www.villaforos.com/index.php?styleid=23
That it's a very, very old skin and many images are not avaible

Enter a forums, thread, etc, and look the TABs

Quote:

Originally Posted by Demo16 (Post 1966278)
Maybe I'm doing something wrong but I want to add for example the "reviews" tab. But this tab most be linked to a section, when I click this tab, I'm directed to the right section but the HOME tab is still highlighted and not the review one.

Am I doing something wrong?

Only Tabs with THIS_SCRIPT field can be highlighted, in the next version with URL

compuminus 01-25-2010 04:44 PM

Quote:

Originally Posted by Jhonnyf (Post 1966283)
I'm going to check that.

Great, thanks! This is by far the best tab management addon. Very useful.

Quote:

Originally Posted by Jhonnyf (Post 1966283)
Yes, I create the table with only 20 characters for tabs title... to little???

well, just barely. I have one link that is 21 characters :)

Also, one other glitch I just noticed: when you have a drop-down menu, the styling of the mouseover appears incorrect. The tab link correctly changes color, but the background does not.

Demo16 01-25-2010 04:56 PM

Jhonny, the THIS_SCRIPT field you talk about an inside page. how can I do this? I mean the review page is a section of the CMS so is inside the website but what do I have to put in the url and in THIS_SCRIPT field in order to make it work?

tnx

macjoshua 01-25-2010 04:59 PM

1 Attachment(s)
I have uninstall this mod and know I have a bug in my admincp menu (see attachment)

skor 01-25-2010 05:00 PM

Quote:

Originally Posted by skor (Post 1966162)
If I create a tab called "Business" with url to a section (i.e. content.php/11-business) of the cms and then use vbcms as THIS_SCRIPT, both the Home and Business tabs are highlighted if I navigate to Home or Business.

Can you help me fix this? Really liking this mod but double highlight looks strange.

Thank you!

Reading the posts, I am trying to see if the quoted characteristic is something that is being addressed in the next release?

Thank you!

Jhonnyf 01-25-2010 05:12 PM

Quote:

Originally Posted by macjoshua (Post 1966308)
I have uninstall this mod and know I have a bug in my admincp menu (see attachment)

Delete the UPLOAD Files in your hosting, specialy
includes\xml\cpnav_evbs_sstab.xml

Skyrider 01-25-2010 06:10 PM

Jhonnyf, nice update! Just wanted to share that I found a small issue..

When adding a new submenu, under "Groups NOT Allowed to see TAB" There is an empty table with "yes" / "no" as option in the right.

PS, how exactly does "THIS_SCRIPT" work?

skor 01-25-2010 07:12 PM

1 Attachment(s)
There seems to be an issue with tabs sub links as follows:

1. I have created a menu tab ("Business") pointing to a section on my cms. For THIS_SCRIPT I put vbcms.
2. I then created a sub link called "Business Discussions" under the "Business" menu tab. I have no other sub menus under the business section (i.e I unchecked all boxes under the Sections to Display in Navbar Sub-Menu).
3. I do have sub menus to sections under my homepage of cms.
4. If I go to the homepage of the cms, the "Business Discussions" tab sub link shows up on top of the other sub menu items on the cms homepage.

I think it's related to my putting vbcms as THIS_SCRIPT when I created the menu tab to the section "Business". Also, as noted in a previous post, if I click the "Business" menu tab, both homepage and business tabs are highlighted.

The first attachment is shot of cms homepage. Note the overflow of sub menu links and double highlight of tabs.
The second attachment is shot of cms business section menu tab with the tab sub link created using mod cp.

SnitchSeeker 01-25-2010 07:15 PM

Quote:

Originally Posted by Jhonnyf (Post 1966293)
I do that for vb3.X take a look here

http://www.villaforos.com/index.php?styleid=23
That it's a very, very old skin and many images are not avaible

Enter a forums, thread, etc, and look the TABs

That's EXACTLY What I need this to do with vb4. Is that possible? Looking forward to using it! [s]I'm going to try to install this and see how it goes...[/s]
Edit: On second thought, I want to wait until the bugs are confirmed ironed out and I can get confirmation that this does what I have asked. If so, it's well worth the $30 or $40 I plan to donate. Cheers! :)

Skyrider 01-25-2010 08:07 PM

Curious.. I see there is a limitation set on how many characters can be used in the menu name. Possible this can be increased to unlimited? It would be good so I can use HTML within the menu to make stuff bold and add color in it.

Jhonnyf 01-25-2010 10:11 PM

- Ok, Title to 100 characters to TABS a MENU (more????)
- Fix Error when not have TABs
- Working to use URL (content.php?118) or URL+Parameter (content.php?118&page=1)

Something else?

*********************
Quote:

Originally Posted by SnitchSeeker (Post 1966411)
That's EXACTLY What I need this to do with vb4. Is that possible? Looking forward to using it! [s]I'm going to try to install this and see how it goes...[/s]
Edit: On second thought, I want to wait until the bugs are confirmed ironed out and I can get confirmation that this does what I have asked. If so, it's well worth the $30 or $40 I plan to donate. Cheers! :)

That use another kind of system, for example you should be set with forum do that the TAB be highlighted. you talk to hide categories too?

It's different to make highlighted when set a exactly URL (content.php?118) or URL+Parameter (content.php?118&page=1)

I can do that Opcion, but for the menor update (2.1) but I think that should be another hack (compatible with this mod) because I going to use extra fields in FORUM TABLE or Use another Own table

Demo16 01-25-2010 10:38 PM

Quote:

Originally Posted by Demo16 (Post 1966306)
Jhonny, the THIS_SCRIPT field you talk about an inside page. how can I do this? I mean the review page is a section of the CMS so is inside the website but what do I have to put in the url and in THIS_SCRIPT field in order to make it work?

tnx

what about this? Highlights tab still not working for me.

Jhonnyf 01-25-2010 10:55 PM

Quote:

Originally Posted by Demo16 (Post 1966607)
what about this? Highlights tab still not working for me.

for Example, open calendar.php and you see
PHP Code:

define('THIS_SCRIPT''calendar'); 

Open showthread.php
PHP Code:

define('THIS_SCRIPT''showthread'); 

Open Group.php
PHP Code:

define('THIS_SCRIPT''group'); 

That is a Identificator to know with php archive you are load

Fusion2 01-25-2010 11:31 PM

I installed, but within admincp, the menu option for this add-on is way too long. Requires me to scroll to the right in order to see the arrow to access menu options. Can you shorten the name?

Jhonnyf 01-25-2010 11:34 PM

Quote:

Originally Posted by Fusion2 (Post 1966635)
I installed, but within admincp, the menu option for this add-on is way too long. Requires me to scroll to the right in order to see the arrow to access menu options. Can you shorten the name?

With phrase?

all the phrases are in variables, you can find and edit if this is too long

New Joe 01-26-2010 12:13 AM

Quote:

Originally Posted by Jhonnyf (Post 1966613)
for Example, open calendar.php and you see
PHP Code:

define('THIS_SCRIPT''calendar'); 

Open showthread.php
PHP Code:

define('THIS_SCRIPT''showthread'); 

Open Group.php
PHP Code:

define('THIS_SCRIPT''group'); 

That is a Identificator to know with php archive you are load

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.

ComoEstaEso-com 01-26-2010 02:04 AM

Excellent!

?Muchas gracias amigo, desde Puerto Rico! :)

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

Fusion2 01-26-2010 12:00 PM

Quote:

Originally Posted by FF|Skyrider (Post 1966982)
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.

Ahhh, see what I am doing is I created tabs for each of my CMS Section Categories, as a magazine or online news site would have.

When i click "Sports" or "Nightlife," it doesnt highlight the custom tab, it only highlights the Home Tab and the applicable menu item on the Section Menu widget. For SCRIPT, I am using the URL for the CMS Section.

Sarcoth 01-26-2010 12:41 PM

I'm not sure if this has been reported, but if you add a new tabs, the group permissions work great. Meaning, only the groups you set can see the tab. When you add drop-down items to that tab with permissions, the tab is now visible to other groups even if the drop-downs are not visible.

I also can't seem to be able to get the tab sub-links working. Can someone post a link to their site showing me how those are supposed to work?

dieKetzer 01-26-2010 01:23 PM

there are some bugs with the sublinks that Jhonnyf is working on.
as far as linking to multiple cms categories and so on, he is also adding the option to select tabs via URL in addition to the this_script method, which should solve that dilemma.

Demo16 01-26-2010 03:27 PM

Quote:

Originally Posted by Jhonnyf (Post 1966613)
for Example, open calendar.php and you see
PHP Code:

define('THIS_SCRIPT''calendar'); 

Open showthread.php
PHP Code:

define('THIS_SCRIPT''showthread'); 

Open Group.php
PHP Code:

define('THIS_SCRIPT''group'); 

That is a Identificator to know with php archive you are load

Ok so for example for an internal section this won't work. So if I create news section the Tab won't be highlighted. Is this corrrect?

SnitchSeeker 01-26-2010 04:26 PM

Quote:

Originally Posted by Jhonnyf (Post 1966586)
- Ok, Title to 100 characters to TABS a MENU (more????)
- Fix Error when not have TABs
- Working to use URL (content.php?118) or URL+Parameter (content.php?118&page=1)

Something else?

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


That use another kind of system, for example you should be set with forum do that the TAB be highlighted. you talk to hide categories too?

It's different to make highlighted when set a exactly URL (content.php?118) or URL+Parameter (content.php?118&page=1)

I can do that Opcion, but for the menor update (2.1) but I think that should be another hack (compatible with this mod) because I going to use extra fields in FORUM TABLE or Use another Own table

I don't understand anything you wrote (too technical for my peabrain) but I'll have to take your word for it. :)

Any idea how soon that could be done?

Thanks for all your work! :)

volarium 01-26-2010 05:16 PM

Quote:

Originally Posted by New Joe (Post 1966951)
You are great with support for this mod, well done:up:

Agreed - it's not very often that a developer is this responsive to not only bugs, but also feature requests. It's refreshing!

redraider 01-26-2010 07:03 PM

Quote:

Originally Posted by Jhonnyf (Post 1965191)
If You Open the XML file You can see
line 327
HTML Code:

<phrase name="evbs_sstab_advanced_tab_parent" date="1264246064" username="Jhonnyf" version="2"><![CDATA[Parent Tab]]></phrase>
I think that you should be unistall and Install again...
Please, go to my forum TEST
http://www.vbsoporte.com/test/
user: betatester/123456

and say me if happen the same


I tried to go in your forum, but it seems u dont have CMS installed? because the test tab I created didnt seem to work.

I also did an uninstall and install of my product, and the two problems still happen:

Attachment 110937
Attachment 110936

choitz 01-26-2010 10:55 PM

2.0.2 is a dream!!

Jhonnyf 01-26-2010 11:47 PM

Quote:

Originally Posted by redraider (Post 1967336)
I tried to go in your forum, but it seems u dont have CMS installed? because the test tab I created didnt seem to work.

I also did an uninstall and install of my product, and the two problems still happen:

Attachment 110937
Attachment 110936

ok, I see that I forgot to put the phrase in the Installer

Because nobody told me? I thought it was a problem only from him

arose58 01-27-2010 01:27 AM

1 Attachment(s)
I have installed your hack but when I delete the Home and blog page I get spanish tabs also. All I want is the "Forum" and "Whats New". I also do not see the "Tabs vbsoporte" on the ACP. Did I install something wrong? I have attached screen shots of the menu. The shot menu1 is how I would like the nav bar to look.
Thanks


All times are GMT. The time now is 04:38 PM.

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.02153 seconds
  • Memory Usage 1,888KB
  • 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
  • (1)bbcode_html_printable
  • (9)bbcode_php_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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