![]() |
Quote:
Thanks, Layne |
Quote:
Quote:
HTML Code:
$article[description] If your template was somehow not getting accessed, you would see exactly what you're describing--everything works except the post itself. Also, check the spelling of the template name and make sure you haven't botched that accidentally. Quote:
The database error you saw when you tried to reinstall occurred because your old articlebot tables were still on your database. I should have mentioned that you need to drop those tables before reinstalling. However, if you're not that familiar with phpyadmin or MYsql, I would be careful and be sure to make a backup of your DB before you "fix" it ;) Anyway, I still think the best lead may be the template. Let me know if you get it. Kenny |
Quote:
For the time being, I'm hand-deleting, which sucks big time. I'm looking for (At least) a piece of code that can delete identical posts, but ideally I'd like to work out this crappy doubleposting problem. PS I checked out your page. Your work is outstanding. |
Quote:
Quote:
In phpMyAdmin, I see three tables clearly labeled articlebot.
Are these the ones to delete? I'm going to back up my databases now ... Quote:
|
Quote:
Glad to have been of help with the post trouble. Now, if I could only get one of these PHP geniuses around here to do some work for me . . . . |
Kenny! My man, Kenny!
Hot Damn! Look what just started working! My feeds are coming in loud and proud. Apparently the reinstall did enough without having to monkey with the database. For you people having problems out there, MAKE SURE YOU NAME YOUR STUFF EXACTLY AS THE INSTRUCTIONS TELL YOU! That's right I yelled it. Thanks again Kenny! |
I just want to check... does this work with 3.0.7? If so, I'll install. But, it hasn't been updated in months.
|
Quote:
|
Quote:
|
Can I see? I don't see a demo anywhere. Thanks.
|
Quote:
Boom. The site is still being constructed (aren't they all . . .) but the articlebot is working. I am using a custom template for the articlebot forum, that's why you don't see all the reply buttons, post numbers, etc. |
Is there a reason why the vBullein scheduled tasks aren't working for this? I used ./articlebot/articlebot.php and tried to run it, but there were no results.
|
Quote:
|
I'll look into that. It did start working, however.
I see there are like 15 scheduled tasts by other hacks. They haven't caused any load problems like you mention...? |
Quote:
One other drawback of having them in your vbulletin cron is that if your forum isn't very busy, it won't get updated often. Someone has to use your vbulletin for your vbulletin cron to work. I guess the upside is that it's easy to set up. . . |
I noticed one of my feeds wasn't working and when I sent it through Feed Validator I got this error ...
Code:
Your feed appears to be encoded as "UTF-8", but your server is reporting "US-ASCII" Thanks, Layne |
Can someone please explain the difference between the cron and the post interval? Right now I created a custom RSS for certain Google News terms and its results are both ever-changing and unpredictable. I've set the cron for every hour and the interval for every 5 minutes or so. Also, I set the amount to process at each time for 1, the default and recommendation. Does this mean that if there's duplicates, they won't be posted and only 1 can be posted every 5 minutes?
|
Quote:
The amount to process I set to like 20 or something. For example, if your feed has 3 NEW posts and yours is set to 20, it will download only those 3 new posts. But if your amount is set to 1 and your feed gets 3 new ones, it will only grab one of them (each time it runs.) Confusing. Kenny |
Quote:
|
So, the postintervals tell the cron whether to process the threads at that time, correct?
Earlier today, my bot posted the same article 3 times. How can this be prevented? |
Quote:
|
In my case, it's because there is more than one instance of the article in the RSS :) The bot should be able to check if the title would be a duplicate; if so, don't post.
|
Quote:
PHP Code:
|
Quote:
Immunohistochemical Stains for p63 and alpha-Methylacyl-CoA Racemase, Versus a Cocktail Comprising Both, in the Diagnosis of Prostatic Carcinoma: A Comparison of the Immunohistochemical Staining of 430 Foci in Radical Prostatectomy and Needle Biopsy However, the feed itself gives the title as this (ignore the html characters): Immunohistochemical%20Stains%20for%20p63%20and%20 alpha-Methylacyl-CoA%20Racemase%2C%20Versus%20a%20 Cocktail%20Comprising%20Both%2C%20in%20the%20Diagn osis%20 of%20Prostatic%20Carcinoma%3A%20A%20Comparison%20o f%20 the%20Immunohistochemical%20Staining%20of%20430%20 Foci %20in%20Radical%20Prostatectomy%20and%20Needle%20 Biopsy%20Tissues. These are not identical. If you look, the last part of the feed's title has a few extra words. For some reason, the title is getting truncated as it is being written into the forum, which is why the script, which I believe uses the title and postdate to determine identical-ness, fails to see these as identical. Now to find the responsible code and drop a major load of hurt on this stupid bug. Update: The problem is that the title row in the post table (of vbulletin) is of type varchar(250), and some of the full titles are >250 characters. To include the full titles, I may need to change the column type to TEXT. I wonder if this will wreck my vbulletin due to unforeseen badness...I will ask around before I try it and will update the thread. Update: Fixed the doubleposting of articles with long titles issue. Go into PHPmyadmin and change the column type of the "title" row of the articlebot_rss_cache table from Varchar(255) to "text". That eliminates the 255 character limit for titles in the feed cache and stops the doubleposting. Note that the thread title ON THE POST will still be limited to 254 characters, but this shouldn't be a problem at all for most people. |
I'm using running the article bot in a cron tab. I receive this error when it runs:
/bin/sh: line 1: /usr/local/lib/php: is a directory The instructions state the php dir, well that is the php dir (i checked with my host). Any ideas what's wrong? |
Quote:
Give that a shot. |
Quote:
There would appear to be a limit of 250-255 characters or so in the forum titles. Maybe it's a limit set in the hack but probably it's a database limitation, too. Regards, Matt |
Yeah, it's a databse limitation. From my above post :)
Quote:
Kenny |
I am not sure my article bot is 100% up-to-date - I installed 10/15/04 and article bot has a comment in it dated articlebot.php, v1.1, 07/25/04
However each time the bot makes a post I get emailed the following error. I am 98% sure it is coming from my friend the 'bot. Q1: Does anyone else get these ( I mean obviously it is trying to add an array to a scalar - but why?) Q2: Any idea what could be the actual cause? Quote:
|
Are you running PHP5?
|
Quote:
Regards, Matt |
memobug
I don't have this installed so it would be a bit difficult to bugfix. So could you please temporary do the follwoing edit. Find: PHP Code:
PHP Code:
Remove these lines after you have the info and post it here. |
memobug,
I got that when I used the other option and not the server cron job. As soon as I set up a cron job I havent seen it again. Dont know if that really helps though. |
does it have to link to a .rss
or is linking it to http://blogs.msdn.com fine? mine are linked to things like the above link but im getting no news displayed? also when i goto articlebot.php i get the following Warning: chdir(): No such file or directory (errno 2) in /home2/tek/public_html/articlebot.php on line 42 |
1. No it doesn't need to have an .rss extension. It could be .xml or .cgi or most anything but it needs to be a valid rss feed. Try a search on RSS FEED VALIDATOR on Google - then submit your feed
2. You apparently have a path problem as your server is trying to tell you. Did you make the required change in articlebot.php? Regards, Matt |
Help please,
My host doesn't allow cpanel access for security reasons so I am running Article Bots with the include method and it works. Would like to find out how to set it up as a scheduled task and scanned the 43 pages but cannot see how to do it. Could someone please explain in step by step instructions how to do this. much thanks in advance!!! |
In the vBulletin control panel, at the bottom you can set up a Scheduled Task. Just fill out the form and point to the correct script.
cPanel access for your own shared account doesn't pose a security issue. |
Quote:
I know how to fill out the task except for the bottom box called file name. All my other various tasks have ./includes/cron/ and then whatever file you are pointing to, so would I need to have ./includes/cron/articlebot.php? And what do I need to put in articlebot.php for the forum server path? I appreciate the help as a newbie still but trying to learn. |
Quote:
|
Quote:
not using crontab check step 8 for required change to articlebot.php |
All times are GMT. The time now is 10:14 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:
|