![]() |
Tried to edit the level1 templates:
The following error occurred when attempting to evaluate this template: Code:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(3763) : eval()'d code on line 1 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 |
Bob, can you upgrade this one for 3.8.x?
|
Excellent been waiting for this :D
Since its still in Beta, i'll fire up the home server and check it out see how it runs on 3.7.2 |
Was a long time coming but it's worth it, thanks a lot for the work on this guys.
|
Can I install it or I must wait for the fix ?
|
With me the following error occurred when attempting to evaluate the forumhome_forumbit_level1_nopost and forumhome_forumbit_level1_post templates: |
lowey , I think that we must wait for the thix.
|
I would wait. I know that KingK stated last night that he'd be working on it throughout the morning hours :)
So, hopefully we'll hear something soon. :D |
Quote:
I'm in the exact same boat as lowey (pretty much the same errors), and I just turned off error reporting for functions_forumlist, and used it as normal. It's not ideal, but it works. |
I also have the same error message on editing the two forumhome_forumbit_level1_nopost and forumhome_forumbit_level1_post
Code:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(3729) : eval()'d code on line 1 Anyway, it's working and it's cool! Waiting for the fix and congratulation again for this nice plugin! But I have a question about the modules: - will it be possible to have a product content inside a tab (like Flashchat, or a shoutbox?) - will it be possible to display parts of VB stuff like all the albums lists or last album content uploads? - will it be possible to have a custom HTML/php page with our own content (like a special announcement for a contest, etc...) - will it be hard for non professional coders to create such modules? Thanks again! |
Question:
Will this be updated to be compatible with 3.8 when it goes Gold? |
Quote:
to answer your Modules Questions... Quote:
Quote:
Quote:
Quote:
|
I think the 2nd arguement thing was missing a parenthesis, i got it to save by putting brackets like so (took out the quotes in forumid as well, which may or may not be correct)
HTML Code:
<if condition="(THIS_SCRIPT == 'indexTAB' AND (in_array($forum[forumid], $GLOBALS[tabcats]) OR in_array('all', $GLOBALS[tabcats]))) OR (THIS_SCRIPT == 'forumdisplay')"> |
Quote:
|
Quote:
HTML Code:
Error:Dispacher: Script Execution Error ([object Error]) |
Thanks
its very good idea I'll try it Mark as install |
Quote:
PHP Code:
|
Quote:
|
Bobster65: Thank you very much for these answers and the time you devote for us. I will check the other modules for the previous version and try to upload an html page (no header / footer, just html content I guess :)
Edit: I just tried to upload a XML file with just this content as a module, and as you may guess, it's not working :) Code:
<div align="center">This is a<strong> HTML</strong> test! I checked an existing module and edited to: Code:
<?xml version="1.0" encoding="ISO-8859-1"?> Can you post a short sample, if you have the time (not a priority at all for me!) Thanks! |
I get the same error and will wait to see if someone smarter than me can figure it out but I just wanted to say thanks to Bob and KK for their hard work on this. :)
|
Quote:
Quote:
Quote:
|
You have done. Awesome.
I will Do it soon at my board... Thanks for this full New Version...Now Its look like namepros.com tabs... |
Quote:
http://www.smnlikdat.org/project.php?issueid=16#note36 |
Quote:
Now, I found something else, I don't know if it's a bug or not: On my forum, I have a root style, in which I do all the template modifications for the plugins and I use a child style in which I do all the cosmetics edits (css changes, different icons, etc). The problem is that the tabs are using the default style colors and not the style child look and feel when I select this child style. I guess that I can tweak that from the templates, but it would be better if it use the selected template CSS. I can post a screen capture if you want. About the bug, I still have it after doing your fix above: Code:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(3729) : eval()'d code on line 1 Code:
Fatal error: Cannot re-assign $this in /home/forums/www/tabindex.php on line 122 |
Change this to $useless and see if that works. If the fix doesn't work, I will need to go back and try to make some changes...
|
the fatal error in the tab content changed to :
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 Time to sleep for me, will checking in 7-8 hours :) |
I have tried to install this but facing this problems
1. In my forumhome template i found only this <!-- main --> $forumbits $forumhome_markread_script <!-- /main --> 2. when i add this code in Code:
<if condition="(THIS_SCRIPT == 'indexTAB' AND in_array($forum['forumid'], $GLOBALS[tabcats]) OR in_array('all',$GLOBALS[tabcats])) OR THIS_SCRIPT == 'forumdisplay'"> I get this error Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(3716) : eval()'d code on line 1 & if i purposely edited the templates ignoring errors i got this error on homepage Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()d code on line 1 I am using vBulletin 3.7.2 Patch Level 1 with miner skinz Please help |
Quote:
|
Quote:
|
I have uploaded & replaced all files & product also but still the same...
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(3716) : eval()'d code on line 1 & can you tell me wat to so if i don't have Code:
<!-- main --> <!-- main --> $forumbits $forumhome_markread_script <!-- /main --> Thanks for quick reply & help |
Code:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(3729) : eval()'d code on line 1 and still the error in the tabs: 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 |
still getting the errors even with the fix, gonna uninstall and try clean again
Edit: just to mes around, i uninstalled the product but left ALL template modifications in as well as the file includes My forum showed up again, however the forums were missing (obviously due to the if condition being false) Don't know if that info's any help or not, but i have been having both the encoding errors and the bad argument bug. This was normal index.php btw. I tried tabindex.php and got the bad argument error still Update: installed clean again, same errors :( I have the encoding error when i load index, and the bad argument error loading tabindex |
This fix link still no work for me. I got one style to work but again modules a no go.
|
Hm. Would anyone be objecting to me using their site as a testing ground to poke around and make changes - as our servers are not getting either of these errors!
|
i wish i could but i only have my production site, and the test server which happens to be WAMP on my home comp lol, ill try to get a mirror of my site up in a subdirectory, but i couldnt do that until tomorrow, I hope someone else can help this first
|
Quote:
Does anybody know if PHP is set to display errors? |
Quote:
Linux Box (Ubuntu, apache2, php5, mysql5) ... vb 3.6x, 3.7x and 3.8 RC1 Linux Box, (Redhat, apache2, php5, mysql5) ... vb 3.6x, 3.7x and 3.8 RC1 Linux Box, (Ubuntu, apache, php4, mysql4) ... vB 3.6x, 3.7x Windows Box, apache2, php5, mysql5 ... vb 3.6x, 3.7x and 3.8 RC1 Window Box, apache, php4, mysql4 ... vb 3.6x, 3.7x All work fine.. no errors |
Three questions:
1. With Cache Data does it cache the forums, or forums & threads? Our forums are pretty much set, the last sub-forum added was over a year ago. of course if it caches the last thread, etc. I will pass on turning it on. 2. With adding a module, I am having a problem with one file I have, the content came up but weird, no css and no header/footer. These files I made using this thread: How to create your own vBulletin-powered page! The template uses javascript and that's the only difference I see. Other ones where it's pure html or pulling images work fine. Code:
$stylevar[htmldoctype] |
heres one better, my php info from my test server, but just as a note, the php.ini file is still very untouched since I have just set my server back up last weekend, so my production server is probably a little different, I can get that if you need it. Sorry about the formatting, i just did a quick copy paste, hope you can read it
|
Quote:
2. Can you post your module file? 3. Not at this time. Quote:
|
All times are GMT. The time now is 05:49 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|