![]() |
This must be some sort of clash with another product. Do you already have something installed that could have a setting called "newsforum"?
|
Cool idea but doesn't work here:
Quote:
|
Ah, okay, had to be something like that. The product has been updated to use 'importnewsforum' instead.
EDIT: One more fix... and a note of the updates in the first post. I think I'll make a version 2.0 soon where the functionality that FleaBag requested will be automatically in and controllable through the Admin CP... |
Database error in vBulletin 3.5.4:
Invalid SQL: SELECT threadid FROM +++++ad WHERE userid = 450 AND threadid IN (); MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3 Error Number : 1064 Date : Wednesday, May 10th 2006 @ 11:22:45 AM Script : http://www.*****r/**/showthread.php?t=1174 Referrer : http://www.****r/**/forumdisplay.php?f=26 IP Address : 1**** Username : *** Classname : **** Onother error here??there is fix?? |
rmxs your answer is in the first bug I found.
First bug: I had to add " . TABLE_PREFIX . " to your two select statements. Code:
$newsthreads = $db->query_read(" I tried the variables $newsitems & $unreadnews without success, the $newsitems variable works but it isn't defined in a nice colored box like in your screenshot. It just puts the latest news right above the navbar but again not formatted to a template. |
Oh, crap... more screw-ups...
What you're supposed to do is add $unreadnews to the bottom of the header template. It sounds odd that $unreadnews wouldn't be working, though. (You were testing it as logged in, right? And enabled the hack in the Admin CP, specified a news forum and all that?) |
If i set news forum to 0 its OK :)
If i set forum news to exaple 1 i get this error line Fatal error: Call to undefined function: array_combine() in /home/rmxs/domains/rmxs.gr/public_html/Vb/global.php(349) : eval()'d code on line 301 |
Ah, you must be using PHP 4 or earlier, then. array_combine() was apparently introduced in PHP 5...
A workaround for that should be fairly simple... find the line Code:
$newsarray = array_combine($newsids, $newsinfo); Code:
$newsarray = array(); |
Ok now it works with no error byt im not get any message on the header and im lose the global attachment Block
im use PHP Version 4.4.2 |
Quote:
What do you mean, you lost the global attachment block? |
All times are GMT. The time now is 08:12 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:
|