I have the tables created and files uploaded / modified. I can use the admin panel to add feeds to forums, but nothing is actually taking place / nothing is bieng added to the forum.
I type in the url of script which triggers things. It executes just fine, but does not add any informaiton to the DB about the new topics it finds.
Is it possible that the changes made between 7.1 and 7.2 (some tables changed) and this mod simply do not work well togeather?
_________________________
IAΩ ABPAΣAΞ AΔΩN ATA
After install, i had a problem where only some feeds would work. It looks like if the feed does not provide a date for each topic, the mod will not work. If that sounds right, why not change it so that it defaults to todays date?
_________________________
IAΩ ABPAΣAΞ AΔΩN ATA
#316308 - 11/11/0707:20 PMRe: Date problem...
[Re: Ian_W]
Gizmo
Wizard
Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
One thing that sucks is that sites with popular editors will take and rename the feed topic several times sometimes... Which will be grabbed each time, which is entertaining to say the least (reuters tech is what I'm viewing)
#316310 - 11/12/0707:56 AMRe: Date problem...
[Re: Ian_W]
Ian_W
Veteran
Registered: 02/22/02
Posts: 2575
Loc: England
Just noticed on this one I set up - I have two new articles - each have been repeated 10 times LOL - this is hidden at the moment from users, so it is not an issue - but it also means I can not use this script in real time yet.
_________________________ Fans Focus - Focusing on Fans of Sport
(Okay - mainly football (the British variety at the moment - but expanding all the time....)
Gizmo
Wizard
Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
This won't work in 7.3; the error is:
Quote:
[Sat May 10 04:50:16 2008] [error] [client 76.115.79.184] PHP Fatal error: Class 'HTML' not found in /home/undergroundnews/public_html/forum/cache_builders/rss_topic_creator.php on line 22, referer: http://www.undergroundnews.com/forum/ubbthreads.php/forums/27/1/Technology.html
Gizmo
Wizard
Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
With some help from SD I have this up and running again...
Change:
Code:
// Setup the smarty class
require_once('../libs/smarty/Smarty.class.php');
$smarty = new Smarty();
$smarty->template_dir = 'templates/default';
$smarty->compile_dir = 'templates/compile';
// include all of the required libraries
require_once( "../libs/phpmailer/class.phpmailer.php" );
require_once( "../includes/config.inc.php" );
require_once( "../libs/mysql.inc.php" );
require_once( "../libs/ubbthreads.inc.php" );
/**
* Should each new item increase the user's post count?
*/
$config['TOPIC_FEED_INC_POSTCOUNT'] = true;
$html =& new html;
To:
Code:
// Setup the smarty class
require('../libs/smarty/Smarty.class.php');
$smarty = new Smarty();
$smarty->template_dir = 'templates/default';
$smarty->compile_dir = 'templates/compile';
// include all of the required libraries
require_once("../libs/phpmailer/class.phpmailer.php");
require_once("../includes/config.inc.php");
require_once("../libs/mysql.inc.php");
require_once("../libs/bbcode.inc.php");
require_once("../styles/wrappers.php");
require_once("../libs/html.inc.php");
require_once("../libs/mailer.inc.php");
require_once("../libs/user.inc.php");
require_once("../libs/ubbthreads.inc.php");
/**
* Should each new item increase the user's post count?
*/
$config['TOPIC_FEED_INC_POSTCOUNT'] = true;
$html =& new html;
Gizmo
Wizard
Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
Actually, I think I know the cause of that... Once I took it out of the footer (to where it's loaded every page load) and put it in the forum stats island so it's cached it only pulls one copy...
I think it's the occasional X amout of people hitting it at the same time when it's supposed to refresh that gets doubles...