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
On a fresh & clean install of the 3.7.3 PL1 (the version I have on my production server.
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!
Hopefully KK is on it (fixing the error) ... not sure why everyone is getting it.. We have it installed on multiple sites and have never seen it, so maybe there is something wrong with the template edits in the instructions.. at any rate, we'll get it fixed asap..
to answer your Modules Questions...
Quote:
- will it be possible to have a product content inside a tab (like Flashchat, or a shoutbox?)
Yes, however a content module will have to be created to do this. In the 2 cases you mentioned, there are multiple ways to pull this off. We will be releasing more info on Modules soon.
Quote:
- will it be possible to display parts of VB stuff like all the albums lists or last album content uploads?
Yes, I already have released multiple content modules with my AJAX Tabs Modification and they all work just fine with this modification. I will be adding released content modules in post 5 of this thread soon (you can always download them from the AJAX Tabs Mod in the mean time). Released Content files include recent threads, news, albums, Blogs etc...
Quote:
- will it be possible to have a custom HTML/php page with our own content (like a special announcement for a contest, etc...)
Yes, this is really easy.. just create your custom HTML or PHP file and upload it as a module. Can't get any easier than that.
Quote:
- will it be hard for non professional coders to create such modules?
yes and no .. just depends on your level of expertise. As I mentioned above, you can do something as simple as a basic HTML file or as complex as you want via php. We plan to release as many different types of Content Modules and we also encourage members to release their own.
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')">
Doesn't mean it worked though still got the encoding error
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')">
Doesn't mean it worked though still got the encoding error
Thank you, the template does not prompt an error. IE there is an error.
OK, but Beta and RC versions can change accordingly. So, if there are changes in the final version which, would prevent this version of the hack functioning properly. Will, you update the hack?
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!
</div>
Edit2:
I checked an existing module and edited to:
Without <file></file>, I have a database error on the import process Witht these tags, I can import the module, I have the tab, but an empty content.
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.