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 Home Enhancements - [YUI] Tabbed Forum Home (https://vborg.vbsupport.ru/showthread.php?t=233135)

Lionel 08-02-2010 10:23 PM

As there was no point for me to use the collapse since all categories are tabs, I created a plugin at forumhome_start to disable the collapse button, and I simply put in it

PHP Code:

$show['collapsable_forums'] = true

Suggestion: It would be nice to add the tab colors class in stylevar

Lionel 08-02-2010 11:03 PM

Actually it was not necessary to add the stylevar. I simply removed the css block in the file and added this in forumhome head

Quote:

<style type="text/css">
.yui-navset .yui-nav .selected a,
.yui-navset .yui-nav a:focus,
.yui-navset .yui-nav a:hover {
background:{vb:stylevar forumhead_background};
color:{vb:stylevar forumhead_color};
</style>

Lionel 08-03-2010 07:25 AM

Hi Bobster, I thought I'd let you know. You have a major bug in there. In plugin forumhome_complete you are checking for $vbulletin->userinfo['usergroupid'] instead of $vbulletin->userinfo['membergroupids']

so later on in the class_yui.php the explode(",", $tab['limitTo']) is checking for only the primary group, causing the ones with secondary usergroups not to view the tab.

I fixed my copy, but in my opinion this mod is way too nice for me to remain silent.

My solution is not the final solution. It works for me as I only have one secondary usergroup, the customer group.

A permanent solution would be to send just the $vbulletin->userinfo array and to replace the call with

if (is_member_of($this->usergroup, $tab['limitTo']))

GamerPerfection 08-03-2010 12:42 PM

Does this work on 4.0.5?

Is there still a "slowness" issue when clicking the tabs and the forums appearing?

Has the Developer abandoned this project like many others do?

Lionel 08-03-2010 12:52 PM

This works perfectly fine on 4.0.5. I installed it yesterday. You can check it by clicking on my signature. Really looks good.

bada_bing 08-03-2010 03:33 PM

OK so I have this installed on vb 4.05 and when I creates the tabs I have an issue where not matter what cat id I use "ALL" my forums show up inder all my tabs? What am I doing wring?

GamerPerfection 08-03-2010 04:07 PM

Quote:

Originally Posted by Lionel (Post 2078567)
This works perfectly fine on 4.0.5. I installed it yesterday. You can check it by clicking on my signature. Really looks good.

Thanks, i'm going to instal it on my test site then and check it out. Yours seems a lot quicker than others when clicking on the tabs.

Noerenberg 08-03-2010 06:46 PM

Does anyone know how I make pictures in the tabs?

Lionel 08-03-2010 07:53 PM

Quote:

Originally Posted by bada_bing (Post 2078617)
OK so I have this installed on vb 4.05 and when I creates the tabs I have an issue where not matter what cat id I use "ALL" my forums show up inder all my tabs? What am I doing wring?

Just disable the module.

OlijO 08-17-2010 06:37 PM

I just install this mod on a install vB Suite 4.0.6
The mod works without problem with the first tab (defaut tab).
I try to add a second tab, but in the place of the popup successfull, i obtain a empty popup and the second tab is not add.
Any idea?


All times are GMT. The time now is 04:03 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.01607 seconds
  • Memory Usage 1,741KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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