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)

dieKetzer 01-27-2010 02:46 AM

you need to remove it from 'menu tabs', not 'config'.
Quote:

Originally Posted by arose58 (Post 1967581)
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


trilOByte 01-27-2010 08:00 AM

Great mod, almost there but I have issues with THIS_SCRIPT and highlighting the wrong tabs too.

What I was trying to do, was create a tab linked to a search that shows only a certain number of forums using "do=getnew&include=X,Y,Z" - Where X,Y,Z are the forum numbers that I want to include (and thereby exclude everything else. Works fine except the What's New tab is highlighted. Because I'm using search.php in my link, I can set THIS_SCRIPT to search to keep the new tab highlighted, but if I do that, it kills the highlighting of What's New and the submenus dissapear. I'm thinking each tab must have a unique THIS_SCRIPT identifier? Aside from it highlighting the wrong tab, this mod is superb.

For clarity, I am using...
"do=getnew&exclude=X,Y,Z" on What's New and...
"do=getnew&include=X,Y,Z" on the new tab.

But as they both have THIS_SCRIPT = "search" I get the wrong tab highlighted. Any way round this?

alexm 01-27-2010 09:00 AM

Quote:

Originally Posted by Jhonnyf (Post 1966903)
Ok, multi-script field for the next version.

Excellent! :D

I'm using photopost too

dieKetzer 01-27-2010 10:48 AM

he is working on a way to use the url to trigger the select in addition to this_script for exactly this kind of dilemma.
Quote:

Originally Posted by trilOByte (Post 1967765)
Great mod, almost there but I have issues with THIS_SCRIPT and highlighting the wrong tabs too...


Adem GEN? 01-27-2010 12:09 PM

Excellent mod
Thanks Installed

This mode is for the Turkish Language Files:
http://www.vb-ipuclari.com/vbulletin...l-dosyasi.html

trilOByte 01-27-2010 12:26 PM

Quote:

Originally Posted by dieKetzer (Post 1967862)
he is working on a way to use the url to trigger the select in addition to this_script for exactly this kind of dilemma.

Brilliant.

Wouldn't you think that vB would have some kind of menu management system built in?

flegul 01-27-2010 02:20 PM

Great Mod :up:
Installed.

arose58 01-27-2010 05:27 PM

1 Attachment(s)
Quote:

Originally Posted by dieKetzer (Post 1967621)
you need to remove it from 'menu tabs', not 'config'.

I am confused (sorry but I have only used vbulletin for 2 months) here is a screen shot of the option I am using to delete the tabs. Is this what you mean by "menu tabs"? Thanks for your help.

Trek 01-27-2010 07:31 PM

Quote:

Originally Posted by arose58 (Post 1968171)
I am confused (sorry but I have only used vbulletin for 2 months) here is a screen shot of the option I am using to delete the tabs. Is this what you mean by "menu tabs"? Thanks for your help.

No, that's the global setup for the mod itself.

In your adminCP on the lefthand nav, you should have a new option (dropdown) for this mod. Click that, in there is where you configuring the tabs/subtabs, etc.

dancop 01-27-2010 09:54 PM

Is there any way to make this mod multilanguage capable? In such way that if the user change its language, the labels on the new tabs change accordingly?

Jhonnyf 01-27-2010 10:54 PM

Quote:

Originally Posted by dancop (Post 1968402)
Is there any way to make this mod multilanguage capable? In such way that if the user change its language, the labels on the new tabs change accordingly?

Interest Option, maybe for the NEXT, NEXT Update, I'm have new one at 95%

arose58 01-27-2010 11:11 PM

1 Attachment(s)
Quote:

Originally Posted by Trek (Post 1968288)
No, that's the global setup for the mod itself.

In your adminCP on the lefthand nav, you should have a new option (dropdown) for this mod. Click that, in there is where you configuring the tabs/subtabs, etc.

Thanks I did do the install wrong. I did not copy the "admincp" and "includes" folders to merge with the current "Admincp" and "Merge" Folders. Now I get the menu on the side but when I activate it I get the following error:

"Warning: Invalid argument supplied for foreach() in [path]/includes/class_bootstrap.php(283) : eval()'d code on line 109"
and my menu looks as per the attachment. I would like to thank all who have helped out.

tazattitude 01-27-2010 11:31 PM

Jhonny,
Hopefully this is in the new updated version.
You mentioned you were going to check it out...
Like to hide those tabs from usergroups

Quote:

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.
see orig post on "page 10"

Thanks!

Jhonnyf 01-27-2010 11:34 PM

Quote:

Originally Posted by tazattitude (Post 1968468)
Jhonny,
Hopefully this is in the new updated version.
You mentioned you were going to check it out...
Like to hide those tabs from usergroups


see orig post on "page 10"

Thanks!

This is the log for the next version

- 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)
- membergroup with a list and checkbox (no more set 1,2,3 now check it!)

asuccar 01-27-2010 11:42 PM

Hey Jhonny,

Hate to sound clueless, but when I create a new button with drop down, the usual backgound rollover colors dont appear like the other navbar buttons. Also, how can i change the background color for the dropdown buttons?

Cheers.

Jhonnyf 01-27-2010 11:51 PM

Quote:

Originally Posted by asuccar (Post 1968478)
Hey Jhonny,

Hate to sound clueless, but when I create a new button with drop down, the usual backgound rollover colors dont appear like the other navbar buttons. Also, how can i change the background color for the dropdown buttons?

Cheers.

I use the default options from the skin...

You have a problem or want something?

(I speak Spanish, and have problem to understand, sorry)

khuhner 01-28-2010 12:11 AM

1 Attachment(s)
I located this mod and really liked what it was coded to do. I have added several tabs to my home page (see tabs.bmp). One tab is for the Calendar (see calendar.bmp). See how only the Calendar tabs is colored properly? OK, now take a look at the Membership tab (see membership.bmp). Why is AND the FOrum tab colored and they both have the same sub menus? I figured if it worked for Calendar it should work for Membership.

Any thoughts, suggestions or ideas?

Kurt

Jhonnyf 01-28-2010 12:39 AM

Quote:

Originally Posted by khuhner (Post 1968493)
I located this mod and really liked what it was coded to do. I have added several tabs to my home page (see tabs.bmp). One tab is for the Calendar (see calendar.bmp). See how only the Calendar tabs is colored properly? OK, now take a look at the Membership tab (see membership.bmp). Why is AND the FOrum tab colored and they both have the same sub menus? I figured if it worked for Calendar it should work for Membership.

Any thoughts, suggestions or ideas?

Kurt

That are bug fixed in 2.0.3 (relese few minutes ago)

For the Next Version i going to add the option to configure witch FORUM (thread, childs, etc) should be highlight the Tab ;)

khuhner 01-28-2010 01:14 AM

Quote:

Originally Posted by Jhonnyf (Post 1968510)
That are bug fixed in 2.0.3 (relese few minutes ago)

For the Next Version i going to add the option to configure witch FORUM (thread, childs, etc) should be highlight the Tab ;)

Jhonnyf:

Thanks for the quick turnaround! I upgraded and it ios now working properly.

This is a gret mod and honestly should be included in standard VB, rather than a mod. It's that good!

Kurt

skor 01-28-2010 01:26 AM

Thank you for the update!

I am still having some issues with sub links:

1) I created a menu tab with url to a cms section then used "URL" for tab mode. Now when I click the tab the correct tab stays highlighted.

Issues:

- All the default sub menu links disappeared for that section. Whether I use "use menu from homepage" or "use the sections I choose below", the links under the tabs do not show up.

- So I figured I would create tab sub links for the tab. But when I do this, it breaks the highlight feature so that if I click the tab, the Home tab highlights and not the selected tab.

I'm not sure if I'm doing something wrong or I upgraded improperly? I uploaded the files from 2.0.3 and overwrote the previous versions. Then I imported the xml file with overwrite set to yes.

Thank you for the time you've spent on this great mod!

GeorgeB85 01-28-2010 01:34 AM

thanks for the update. Much appreciated!

Jhonnyf 01-28-2010 01:49 AM

Quote:

Originally Posted by skor (Post 1968533)
- All the default sub menu links disappeared for that section. Whether I use "use menu from homepage" or "use the sections I choose below", the links under the tabs do not show up.

Yes, because Each Tab have their own sublink, if I activate the sublink of the CMS then the HOME TABS activate too
Quote:

Originally Posted by skor (Post 1968533)
- So I figured I would create tab sub links for the tab. But when I do this, it breaks the highlight feature so that if I click the tab, the Home tab highlights and not the selected tab.

Not understand, check MP

Quote:

Originally Posted by skor (Post 1968533)
I'm not sure if I'm doing something wrong or I upgraded improperly? I uploaded the files from 2.0.3 and overwrote the previous versions. Then I imported the xml file with overwrite set to yes.

No, maybe you it's a bug, only check and see


Quote:

Originally Posted by skor (Post 1968533)
Thank you for the time you've spent on this great mod!

thank you

trilOByte 01-28-2010 02:04 AM

Thanks for the update.

Unfortunately, I am still having issues with the wrong tab highlighted.

I'm using a couple of additional tabs, no submenus, to point to filtered searches. Both the new tabs point to search.php as does "What's New". How do I configure the THIS_SCRIPT value so I get the correct tab highlighted?

Jhonnyf 01-28-2010 02:07 AM

Quote:

Originally Posted by trilOByte (Post 1968559)
Thanks for the update.

Unfortunately, I am still having issues with the wrong tab highlighted.

I'm using a couple of additional tabs, no submenus, to point to filtered searches. Both the new tabs point to search.php as does "What's New". How do I configure the THIS_SCRIPT value so I get the correct tab highlighted?

Example of your URL that you set?

trilOByte 01-28-2010 02:09 AM

Quote:

Originally Posted by Jhonnyf (Post 1968562)
Example of your URL that you set?

I'm using these two....

search.php?do=getdaily&contenttype=vBForum_Post&ex clude=27,35,59,76,84,85

search.php?do=getdaily&contenttype=vBForum_Post&in clude=27,35,59,76,84,85

What's New also calls search.php and as far as I can tell, all three use THIS_SCRIPT=search. So how do I get the correct tab to highlight?

Sleeter 01-28-2010 06:02 AM

Love this mod. Thank you very much.

I am having two issues.

1. None of my "Tab Sub Links" are showing up under the nav bar.
2. The border on the bottom of the tab nav bar disappears when selecting on one of the custom tabs I made. It is there for all other tabs.
3. The tab font changes when rolled over with the mouse but the color of the tab does not change.

civil78 01-28-2010 08:44 AM

1 Attachment(s)
Excellent Mod... it's something that missing from new VB4 :)...

One suggestion, can you make it to support Localization... for example to take the name of menu from Languages & Phrases with the vbphrase varname.

For example like this...
Attachment 111280

Jhonnyf 01-28-2010 09:33 AM

Quote:

Originally Posted by trilOByte (Post 1968565)
I'm using these two....

search.php?do=getdaily&contenttype=vBForum_Post&ex clude=27,35,59,76,84,85

search.php?do=getdaily&contenttype=vBForum_Post&in clude=27,35,59,76,84,85

What's New also calls search.php and as far as I can tell, all three use THIS_SCRIPT=search. So how do I get the correct tab to highlight?

It's because both URL are change to search.php?searchid=ID_SEARCH and if you use THIS_SCRIPT both are always the same value, and you can't use URL because this is lost when return the results.

I will make that for the next minor update, select forum to highlight by forum

Quote:

Originally Posted by Sleeter (Post 1968677)
Love this mod. Thank you very much.

I am having two issues.

1. None of my "Tab Sub Links" are showing up under the nav bar.
2. The border on the bottom of the tab nav bar disappears when selecting on one of the custom tabs I made. It is there for all other tabs.
3. The tab font changes when rolled over with the mouse but the color of the tab does not change.

Checking.....

Quote:

Originally Posted by civil78 (Post 1968748)
Excellent Mod... it's something that missing from new VB4 :)...

One suggestion, can you make it to support Localization... for example to take the name of menu from Languages & Phrases with the vbphrase varname.

For example like this...
Attachment 111280

For the Next Version

trilOByte 01-28-2010 11:56 AM

Quote:

Originally Posted by Jhonnyf (Post 1968771)
It's because both URL are change to search.php?searchid=ID_SEARCH and if you use THIS_SCRIPT both are always the same value, and you can't use URL because this is lost when return the results.

I will make that for the next minor update, select forum to highlight by forum

That would be great, thank you. :)

ysam 01-28-2010 01:42 PM

Superb Mod. Some minor issue, not important is that when I select "Menu Tabs" I get the list of all my Menu Tabs but for two of them it displays 2 times.. tabid 4 and tabid 7.. Both tabs are menu tabs. Other than that it's perfect..

Thank you!

dancop 01-28-2010 04:59 PM

Quote:

Originally Posted by Jhonnyf (Post 1968771)
For the Next Version

Thanks. So I'm loking forward to see your new version of the mod supporting localization and vbphrase varname. It will be a great addition to any multilingual site :)

RK1gaming 01-28-2010 09:20 PM

quick question ..

I have a chatroom we use on my forum I want to give it a tab but I want it to open up in a new window

this is what I would use in the past on the old nav bar

<td class="vbmenu_control"><!-- FLASHERIZE CODE BEGIN -->
<a href='javascript:void(0)' onclick='window.open("http://www.xxxxxxxxx.net/ChatRoom/ChatRoom_fixed.html","","height=407,width=650,stat us=1")'>Forum Chat</a><div style='z-index:99;position:absolute;visibility:hidden;displ ay:none;left:0;top:0'><a href='http://www.flasherize.com'><font size='1'>Flash Chat</font></a></div>
<!-- FLASHERIZE CODE END -->

How can I get this to work with this mod

thanks in advanced

dieKetzer 01-29-2010 04:14 AM

somebody please verify:
when disabling the default 'forum' link,
  • the default sublinks still appear when browsing the forum.
  • forum tab reappears on vbadvanced index, ispy, subscription*
*note that vba index, ispy, and subscription are all present in the menu using 'this_script'
i suppose a useful test is whether the forum tab is reappearing on pages that are linked to the menu itself, perhaps the use of 'this_script' being a factor.

dieKetzer 01-29-2010 04:38 AM

1 Attachment(s)
while attempting to override the above anomalous behaviour by manually creating a new forum tab (failed) i encountered this curiosity... despite selecting 'url' and entering a full url, the 'this_script' data is being inherited by an earlier tab!

image a is the settings used in the actual tab
image b is the result in the overview

hohleweg 01-29-2010 08:16 AM

1 Attachment(s)
Hi
Great hack but i dont want the the menue tilt up
picture 1

Better i have the new menue in the underline
picture 2

how can i make this?
Greetings Jo

dieKetzer 01-29-2010 08:35 AM

picture 1 is 'drop down' links
picture 2 is sub nav links.
either are an option.

if you want to add links as in picture 2, first do not select 'This Tab is a Menu' for the button 'rund ums forum'. then add each sublink through 'sub nav links', be sure to associate each sub link with a parent tab, 'rund ums forum' in your case.
Quote:

Originally Posted by hohleweg (Post 1969627)
Hi
Great hack but i dont want the the menue tilt up
picture 1

Better i have the new menue in the underline
picture 2

how can i make this?
Greetings Jo


hohleweg 01-29-2010 12:30 PM

1 Attachment(s)
Hi
The first is ok
but i dont see the sub menue?
Whats wrong?
Jo

dieKetzer 01-29-2010 01:02 PM

the problem is in the second image.
- you will need to specify a page for 'rund ums forum'. if you do not, default sub nav links will load.
- you will need to set a 'this_script' for 'rund ums forum', or else the tab will not 'select', and the sub nav links will not appear.

for an experiement, try to link your rund tab to /subscription.php, and set the 'this_script' to subscription. you should see your rund tab select and your sub links appear.
for this tab type to function properly you need to link it to a proper page.

RK1gaming 01-29-2010 09:04 PM

Quote:

Originally Posted by RK1gaming (Post 1969314)
quick question ..

I have a chatroom we use on my forum I want to give it a tab but I want it to open up in a new window

this is what I would use in the past on the old nav bar

<td class="vbmenu_control"><!-- FLASHERIZE CODE BEGIN -->
<a href='javascript:void(0)' onclick='window.open("http://www.xxxxxxxxx.net/ChatRoom/ChatRoom_fixed.html","","height=407,width=650,stat us=1")'>Forum Chat</a><div style='z-index:99;position:absolute;visibility:hidden;displ ay:none;left:0;top:0'><a href='http://www.flasherize.com'><font size='1'>Flash Chat</font></a></div>
<!-- FLASHERIZE CODE END -->


How can I get this to work with this mod

thanks in advanced

any thoughts --

Jhonnyf 01-29-2010 09:37 PM

My Hack not do that, you should be do using HTML or use a hook,

Sorry


All times are GMT. The time now is 04:01 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.02328 seconds
  • Memory Usage 1,857KB
  • 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
  • (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