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)

King Kovifor 12-03-2008 02:23 AM

Quote:

Originally Posted by ArnyVee (Post 1677477)
When I attempt to edit forumhome_forumbit_level1_nopost I get....

Code:

The following error occurred when attempting to evaluate this template:

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

Why am I stopped here? Any ideas?

Hm, same template, two different line numbers. Can you tell me your vBulletin version?

CHIPIT 12-03-2008 02:25 AM

Quote:

Originally Posted by King Kovifor (Post 1677486)
Did you enable it and give it a few seconds to load? Our test forum has it working fine. And would you mind throwing that error in the bug tracker? I will look into it tomorrow. Which is weird as I have these applied to two different forums and is working fine.

Yeah I did, but perhaps it's possible the two issues are related and a problem in the conditional prevents the all forums module from displaying? My forumbit templates are highly customized but I don't see how that would affect the conditional.. I'll go post it in the tracker..

Quote:

Originally Posted by King Kovifor (Post 1677488)
Hm, same template, two different line numbers. Can you tell me your vBulletin version?

vB 3.8.0 Beta 4 for me, and I believe I was getting the same error, but the error I posted is on the actual forumhome, and the error ArnyVee posted was from the template manager.

ArnyVee 12-03-2008 02:27 AM

Quote:

Originally Posted by King Kovifor (Post 1677488)
Hm, same template, two different line numbers. Can you tell me your vBulletin version?

My version is 3.7.1 PL 1.

Now, after I went through and did all the edits, the top of my style has this code multiple times....

Code:

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

King Kovifor 12-03-2008 02:29 AM

Thanks, I am on one of the most useful devices I have ever bought from Apple and they fail to have copy and paste. Keep track of the issue, I may request some speciic info like vBulletin version, your customized template and so forth.

ArnyVee 12-03-2008 02:31 AM

KK, I can't turn my forums back on with this the way it is. Should I just go back and uninstall things and then try again when we fix that?

King Kovifor 12-03-2008 02:31 AM

Quote:

Originally Posted by ArnyVee (Post 1677493)
My version is 3.7.1 PL 1.

Now, after I went through and did all the edits, the top of my style has this code multiple times....

Code:

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

Hm. Maybe the if conditional is bad on anything before 3.7.4. I will take a required look tomorrow.

I hate to say it, but yes. I get home around 3:30 eastern us time and will do my he and look into this! Hopefully this doesn't take long to resolve.

ArnyVee 12-03-2008 03:33 AM

KK, I just upgraded to 3.7.4, but I get the same message at the top of the forum home. Just an FYI

AWJunkies 12-03-2008 03:37 AM

So glad it is now YUI :)

You can group YUI files for faster load and one single call just FYI with YUI website. Would be nice to see an option for this rather then local files which is slower. I understand having them local on server but just like vB gives the option to grab from YUI directly or files on server would be nice to see this option. As calling from YUI and grouping is faster and always up to date and to change versions you just change the 2.6.0 to whatever instead of doing complete overhaul of mod with new files to upload.

Code:

http://yui.yahooapis.com/combo?2.6.0/build/yahoo-dom-event/yahoo-dom-event.js&2.6.0/build/connection/connection-min.js

http://yui.yahooapis.com/combo?2.6.0/build/datasource/datasource-min.js&2.6.0/build/element/element-beta-min.js&2.6.0/build/datatable/datatable-min.js&2.6.0/build/tabview/tabview-min.js&2.6.0/build/paginator/paginator-min.js

This makes it a single remote call and compressed and still can be cached.

About to load and test 2.0.0 very excited about YUI thought I was going to have to code one YUI for sites but now you did it thank you saves me a lot of time.

http://developer.yahoo.com/yui/articles/hosting/

King Kovifor 12-03-2008 03:43 AM

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).

Awj, I know about that, but for some reason the tfh only seems to work in the specific order we have. And we don't use only YUI files for the tabs. ;)

AWJunkies 12-03-2008 03:56 AM

I got ya Just the header file you have is 4 files and 2 css styles all which can be grouped to a single call. Will show you real easy I already did it to your mod and works perfect already got it installed and working fine so far diving more in in a second. Helps a LOT to have TMS as I just had to turn off the template edits from TMS to install new one was very easy and very nice recommend that to everyone.

Ok back to testing I go will let you know if anything comes up.

GREAT WORK AGAIN BY THE WAY MUCH APPRECIATED!

Also another not big deal is your using old YUI files 2.5.2 is old and some systems where beta at this time 2.6.0 is latest AGAIN not a big issue.


All times are GMT. The time now is 03:20 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.01278 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_code_printable
  • (5)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