![]() |
Quote:
This is nuts. Is there a better way to have it check for dupes? I know in the other RSS feed hack they have sorted that out. I would like to see that in this one. :\ |
i had the problem of reoccuring threads by my bot too...
the reason was an additional space in the "title-tag"! instead of <title>here the headline</title> there was <title>here the headline </title> in the rss-feed. so the bot couldn't recognize, that the thread (without the whitespace) still exists. my sollution: find: Code:
if (!$articlebot['lastpost'] && (--$articlebot['initialtrim'] > 0)) Code:
$article['title'] = trim($article['title']); |
now it is working fine again! :)[/QUOTE]The .php file is ready for cron, to save a query could we setup this through the scheduler from vbulletin?
|
Quote:
|
I've been meaning to make an update fixing the bugs discussed so far, but just haven't had the time.
Probably at the weekend I will do so. Do the trimming of the thread title mentioned here, and hopefully that erases some duplicate threads that are only off by whitespace. This hack checks for threads of the same title that already exist, and if they do, it wont post them again. Unless there is a bug. ;) |
Quote:
C. |
Quote:
Code:
chdir('/path/to/forums/'); |
Yes I have...
If this path (chdir) is incorrect, the error is in line 42... But it is correct... If I set the full path to the global.php , I get this error: Code:
Warning: main(./includes/init.php) [function.main]: failed to create stream: No such file or directory in /xxx/html/board/global.php on line 18 |
Well I installed it. I went on add bot and entered the user ID 1.
After it I got following message: Database error in vBulletin 3.0.3: Invalid SQL: SELECT articlebot.userid, articlebot.articlebotid, user.username FROM articlebot LEFT JOIN user USING (userid) WHERE articlebot.userid = 0 mysql error: Table 'help.articlebot' doesn't exist mysql error number: 1146 Date: Tuesday 20th of July 2004 12:12:16 PM Script: http://www.spiritual-connections.com...ebot_admin.php Referer: http://www.spiritual-connections.com...min.php?do=add Username: xxx IP Address: xxxx every time if I am trying to open my forum this appears. Can anybody help me, please |
Quote:
please provide: - where is your forum located? (full path!) you can xxx some chars to mask your path - where is your articlebot.php located? (full path!) - how do you call articlebot.php? cron? direct? Quote:
|
All times are GMT. The time now is 11:52 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:
|