vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - [YUI] Tabbed Forum Home (https://vborg.vbsupport.ru/showthread.php?t=197871)

ArnyVee 12-03-2008 04:07 AM

Quote:

Originally Posted by King Kovifor (Post 1677525)
ArnyVee, I believe I have narrowed it down to a specific problem, and plan on looking at possible changes tomorrow. The issue chipit posted will include a patch file soon (if I can figure svn diff out).

Sounds good.

I've gone back and took out the edits that I did with the mod. Unfortunately, I didn't save my template beforehand, so now I have to backtrack and do some diggin' to see how it originally displayed. That's what I get for not backing up! :(

I'll keep an eye out for the fix tomorrow. Thanks!

Morsolo 12-03-2008 04:13 AM

Quote:

Originally Posted by rob01 (Post 1677468)
now i get this error -> Content Encoding Error :S

You using the GreenFox skin? Or a vBStyles.com skin of any sort?
I'm getting the same error to, I've been trying to fix, can't get any results yet....

rob01 12-03-2008 04:39 AM

King Kovifor thanks, well i upload all the files and install the product

but when i try to open http://localhost/vb/index.php (my vb demo)

i get this error

Code:

Content Encoding Error

     

     
     
     

     
       
       

         

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

       


       
       

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

    * Please contact the website owners to inform them of this problem.


ndut 12-03-2008 05:05 AM

will try later, thank you

ArnyVee 12-03-2008 05:11 AM

Bob/KK, I already mentioned it to Bree...but, there were some issues with the page going way wide due to Cyb's Sub Forum mod. Bree is working on a fix, but just an FYI. :D

Morsolo 12-03-2008 05:13 AM

Ok, I have reverted my site 'till just before mod installation and it appears something in the includes/class_yui.php is causing the Encoding Error.

AWJunkies 12-03-2008 05:14 AM

Quote:

Originally Posted by ArnyVee (Post 1677566)
Bob/KK, I already mentioned it to Bree...but, there were some issues with the page going way wide due to Cyb's Sub Forum mod. Bree is working on a fix, but just an FYI. :D

All you do is follow directions it tells you within there mod and 0 issues tells you exactly what to do go to those to plugins in CYB mod and add the OR statement. Works perfect.

My issue I am having is the tabs are not showing JUST X forum id but showing ALL no matter what I do which is very strange. I went back to full your js everything and same issue so has nothing to do with my doing different js calls.

Anyone else getting this issue? No errors just shows all forums no matter what Id's I put. I followed pictures to the T as examples still no go.

if you do within plugin:
print_r($content);

It is showing correct forums and info example:
tID=1&tabcat[]=1&
tID=2&tabcat[]=1&tabcat[]=47&

if you do within plugin:
print_r($GLOBALS[tabcats]);

It is showing correct forums and info example:
Array ( [0] => 1 )
Array ( [0] => 1 , [1] => 47)

If you put a direct URL in:
http://www.yourdomain.com/tabindex.php?tID=1&tabcat[]=1

It still shows all forums :)

Anyone else getting this?

All the edits are complete the if statements are there for the check.

Morsolo 12-03-2008 05:39 AM

Quote:

Originally Posted by AWJunkies (Post 1677570)
~SNIP~

My issue I am having is the tabs are not showing JUST X forum id but showing ALL no matter what I do which is very strange. I went back to full your js everything and same issue so has nothing to do with my doing different js calls.

Anyone else getting this issue? No errors just shows all forums no matter what Id's I put. I followed pictures to the T as examples still no go.

Yes, for some reason, the Encoding Error just vanished and now I can view the forums, but I am getting that issue.
It isn't showing "X" Forums, it is showing all of them. And I am getting no spacing between each category, for example it should look like:
Quote:

CATEGORY
-- FORUM

CATEGORY
-- FORUM
But it is going:
Quote:

CATEGORY
-- FORUM
CATEGORY
-- FORUM

AWJunkies 12-03-2008 05:52 AM

Quote:

Originally Posted by Morsolo (Post 1677580)
Yes, for some reason, the Encoding Error just vanished and now I can view the forums, but I am getting that issue.
It isn't showing "X" Forums, it is showing all of them. And I am getting no spacing between each category, for example it should look like:

But it is going:

I just noticed that as well the forums spacing is gone it is all smooshed together. testing on 5 different styles FYI

It has to do with if statement:
<if condition="(THIS_SCRIPT == 'indexTAB' AND in_array($forum['forumid'], $GLOBALS[tabcats]) OR in_array('all',$GLOBALS[tabcats])) OR THIS_SCRIPT == 'forumdisplay'">

if you make it:
<if condition="(THIS_SCRIPT == 'indexTAB' AND in_array($forum['forumid'], $GLOBALS[tabcats]))">

It works for the direct forum add tab BUT not the modules.

Real weird got it working on one style now but still all the others messed up and NOT working with modules just tabs with forums.

Socceradicto 12-03-2008 07:15 AM

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1


All times are GMT. The time now is 04:59 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.01528 seconds
  • Memory Usage 1,750KB
  • 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_code_printable
  • (7)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
  • (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