![]() |
Latest Threads On Forum Home
[high]Installation Instructions[/high]
Step 1: Upload the .xml file to the Product Manager Step 2: Modify the [high]FORUMHOME[/high] template Find: HTML Code:
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td> HTML Code:
<!-- latest threads --> [high]Credits[/high] NTLDR - For allowing me to port his vB3 hack of this [high]Updates[/high] Version 1.1.0: Simple update to make this work with vBulletin 3.5.0 Beta 2 - If you are installing for the first time, follow the installation instructions - If you are upgrading, please delete the previous plugin, and upload the new one - This new plugin also has the uncached template fix :) Version 1.1.1: Simple update to fix a permissions bug - Wasn't showing on my board because I had already fixed it and forgot about it lol :) - To upgrade, simply replace the plugin with the one attached ;) Version 1.1.2: Simple update to fix a permissions bug again:) - To upgrade, simply replace the plugin with the one attached ;) Chris |
Getting error at top of page with this:
Warning: Invalid argument supplied for foreach() in /index.php(450) : eval()'d code on line 11 |
Try changing:
PHP Code:
PHP Code:
|
Quote:
|
The plugin...
Satan |
Quote:
Parse error: parse error, unexpected ')' in /****************/index.php(450) : eval()'d code on line 46 |
I'm not sure then - The original not an invalid arguement here... :ermm:
Satan |
Both errors relate to this line in index:
PHP Code:
|
Yeh that is the code that calls the [high]forumhome_complete[/high] hooks...
For some reason your board is rejecting the foreach in the code :ermm: What other plugins/hacks do you have installed that utilise the [high]forumhome_complete[/high] hook? Satan |
The only other plugin i use is this one New Posts & Threads Since Last visit
and that uses forumhome_start |
Indeed - I do not believe that this is the cause of the clash...
Hrm - This is a puzzle - Hopefully Zero Tolerance will see this and shed some light :p Satan |
The latest threads do still display fine though regardless of the error. :confused:
I've taken it off for the moment until a possible solution can be found. |
Quote:
Satan |
Quote:
|
Thanks...
A thought just occurred to me: Add: PHP Code:
PHP Code:
Satan |
Nope
Parse error: parse error, unexpected ')' in /****/index.php(450) : eval()'d code on line 47 |
Yeh - I have found the problem :(
https://vborg.vbsupport.ru/showpost....6&postcount=14 If you view that post, Zero Tolerance explains about there being a bug in the vB Plugin System - Sadly, since this plugin also uses regular expressions, the plugin system is stripping the slashes from the code, causing errors -.- The "unset($forum);" step may be required by some users, but the cause of the second error generated once the first is fixed is a vBulletin bug which the vB devs will have to fix :( Sorry about that ... :ermm: Satan |
OK.
Will disable it until the plugin system bug is fixed. |
How can we do?
I very love this hack |
[high]Update[/high]
Version 1.1.0: Simple update to make this work with vBulletin 3.5.0 Beta 2 - If you are installing for the first time, follow the installation instructions in the first post - If you are upgrading, please delete the previous plugin, and upload the new one from the first post - The new plugin also has the uncached template fix :) Satan |
I got the same error with 'latest threads on forumhome 110.xml':
Code:
Warning: Invalid argument supplied for foreach() in /index.php(450) : eval()'d code on line 78 *Edit* It also affects the size of the forum width? This is on my '/testvb/index.php' forum. Great hack if we can get rid of the error! Thanks! |
@dreck
What is the PHP version you are using? |
I get this error (except it says line 4 instead of 11):
Quote:
Quote:
|
Quote:
Thanks. |
Hrm - I still do not get this error on my board - I guess they haven't fixed the bug that strips the slashes...
It should not affect the size of the forum width - You might need to alter the template mod to reflect whatever custom forumhome width modifications you have made... http://www.vbulletin.com/forum/bugs3...view&bugid=184 In this, Freddie Bingham suggests editing class_core.php to remove this bug, or disabling [high]magic_quotes_gpc[/high] in php.ini As this will be a necessary alteration for all hacks and plugins that use regex, I suggest doing one of the two ;) Satan |
Quote:
Thanks! |
Quote:
|
Also, editing class_core.php as suggested by Freddie hasn't fixed the error
Warning: Invalid argument supplied for foreach() in /index.php(450) : eval()'d code on line 4 |
Ok I have it working on BETA 2 without any errors but...
telewizor OLED It shows threads that have had a recent reply... when the User doesnt have access to it (such as in an restricted forum admin section) |
Quote:
I have tested this extensively myself and cannot reproduce this :ermm: Satan |
Quote:
I guess the fix that Freddie gave for Beta 1 is no longer the problem... Apparently however they "fixed" it it broke somewhere else... About the table width - You might have to alter the HTML code a bit - It is almost a direct copy of the "forumhome events" HTML so there shouldn't be a problem... Satan |
[high]Update[/high]
Version 1.1.1: Simple update to fix a permissions bug - Wasn't showing on my board because I had already fixed it and forgot about it lol :) - To upgrade, simply replace the plugin with the one attached in the first post ;) Satan |
Quote:
thank you |
How can hide some forums?
|
Not tested, but should work ;)
In the plugin code, add: PHP Code:
PHP Code:
Satan |
Quote:
How about just want to show 1 or 2 forms? |
Hrm...
You will need to alter the query this time :p Again, not tested, but in the plugin code, find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Satan |
hellsatan, thank you for this plug-in
what about if i want these last topics appear in all my forum pages? not just in the form home? thank you |
Hrm...
I suppose in theory you could change the "forumhome_complete" hook location to a "global_complete" location, and then edit something like the footer template to include the table and $threadbits variable... Satan |
i did something like this but i edit the navbit template ... that works just in form home...
then i tried to change from forumhome_complete to ... global_complete but i got an error : Fatal error: Call to a member function on a non-object in /home/users/public_html/board/includes/functions.php(4118) : eval()'d code on line 22 |
All times are GMT. The time now is 05:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|