![]() |
I have 1.1 though, and am noticing that there isn't a log created for this file. Is there anyone else that is working with the scheduled tasks that is getting the logs to work properly for articlebot.php? Must I put this in the Includes/cron folder for it to work that way?
|
I am seeing a problemn though when running articlebot.php from the scheduled task manager. It does not send the posts, just check and reteives. I have to click the "Run Now" button on the scheduled tasks for it to actually send the posts to the news server.
I've sent several messages and waited since yesterday for them to appear on the same news server that I sent them to - they never did. I just posted a message on my forum and manually click the run now button, and they sowed up on the news server perfectly. Anyone else run into this? Any suggestions? |
Well i tried and tried, added lots of feeds but the bot will not post at all, no DB errors but it just will not post... Any ideas? I also had this with the other RSS feed hack :(
|
OK, I know, dumb question but I'm still learning. Where do I put the template? In my default style, all styles, or someplace else?
Problem #2: I get the following error message..... Quote:
Thanks, Kevin |
KW802, add the template to your default style.
As for that error, check articlebot.php, and make sure you configured the absolute paths correctly. Quote:
For those using vB's scheduled tasks, I'll look into making Article Bot more integrated with it (the hack was not built for it).. although I can't guarantee it'll be anytime soon. I do recommend you use a real cron setup anyway (if you're on a NIX server, via your cPanel or shell), instead of vbulletin's system. |
Quote:
I tried the directory name in articlebot.php first, even ended up hard-coding the full path and still get the same error. Below is what the code at http://www.farpointstation.org/forum...articlebot.php currently is but is still producing the same error. Code:
chdir('/home/farpointstation/www/forums/'); Any thoughts appreciated. :nervous: Thanks, Kevin |
Mine's working great on Apache/Redhat. I just added it to the cron job that is getting the Usenet mail in the other hack :)
|
Quote:
|
hhmmm got this error
Quote:
Line 43 to 45 PHP Code:
|
Snowbot, chdir needs to be pointing to your forums, not the articlebot directory.
As printed in the code. Code:
// Provide absolute server path to forums. |
Any chance we can have a Thread prefix to each posted thread - with a Title for each Feed ? - it would involve a new field for each Feed with a Short Title, but I reckon it would be worth it :)
What do you reckon VeloCD ? |
Quote:
The one hack that I really wanted to install and of, of course, Murphy's Law has to intervene. :tired: |
I just changed the top one and left the other two the way they came.
|
Quote:
The newest version does that already silly goose! |
Quote:
|
Quote:
BUT it still doesnt post :( No errors when i run the file, its set up on google RSS feed and has been set to post every 120m, its been active for 5h and still no post. Any suggestions? |
Snowbot, do you have a cron setup to execute the script every 120 minutes?
Even though each feed has a period in minutes at which it's posted, all feeds wont be posted if the articlebot.php script isn't executed every now and then. What you should do is get an average in minutes from all your rss feeds, and then set a cron script to execute the articlebot.php at that average. For me, most of my RSS feeds are at a period from 400 minutes to 600 minutes. So I have a cron script to execute articlebot.php every 500 minutes. If this still doesn't work, try a more active RSS feed, like a Yahoo! news one. I don't recall Google updating it's RSS feeds very often (although, this shouldn't be a factor to why it isn't posting...) |
Yes! Got it working....... I.... am... so... f'ing... happy! :banana:
This morning it struck me -- It wasn't the path that it wasn't liking but the actual PHP command it was issuing. Big item there. Did a little poking and found a few things.... The command "array_change_key_case" is only available as of PHP 4.2.0 and above. Well, turns out that my hosted provider is running 4.0.6! AAaaaaaggghhh!!!!! The same with "html_entity_decode" -- only available as of 4.3.0 and above. I commented out those two commands, ran the articlebot.php from my browser, and it worked. Now I have to go harass my provider about updating their PHP. :ermm: |
Quote:
Sorry for the messing around and thanks for pointing me in the right direction :) All works great. |
I installed the hack and set the bot timer to 1 min just to see if it will post something.
I am using this feed: http://www.religionnewsblog.com/b2rss.php but I didn't set any contrab thing b/c I have no idea what that is, I just want the bot to post every damn 120 min but it won't post even after 1 min. What could I be doing wrong? |
when I run /articlebot/articlebot.php I get this :
Warning: chdir(): No such file or directory (errno 2) in /home/rexb2/public_html/forum/articlebot/articlebot.php on line 42 Warning: main(./global.php): failed to open stream: No such file or directory in /home/rexb2/public_html/forum/articlebot/articlebot.php on line 43 Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rexb2/public_html/forum/articlebot/articlebot.php on line 43 |
fixed .. I'm an idiot.
|
ok I ran the articlebot.php and it posted 1 article. So I changed the fetch in the admincp to 5 per interval and ran the articlbot.php again and nothing happend.
Any guesses? |
Try changing the interval to less that it is. I have a special forum for the articles so I just cranked the fetch to 15 and the interval to 1 minute.
Speaking of this, is there a way I can just have it get ALL the articles and post them immediately? |
I was checking out the posting times of the bot and realized that my cron isn't working but the scheduled task in VB admin is working. So I'll just go with the one in the control panel I guess.
|
Quote:
Since the adminCP works for me I'll be waiting for this. It's way easier for most people if you can do it from the admin menu. at least it works so that's what really matters. |
This is the greatest MOD ever made. I love you.
See mine in action here: www.thepokerpost.com For anyone using PHP 4.3.0 are earlier add this function to the top of articlebot.php. PHP Code:
|
installed this with no errors and on the surface everything seems to be ok
but no posts are being made by the blogs etc ive used cron and the include in the php end template the forum room isnt live - eg its display order is set to 0, but that shouldnt make a difference what are the first things to check if posts arent being made any help would be appreciated:) |
I installed this and it is fantastic. Thanks alot. I did have a problem with some code in the feed I am parsing. As well as keeping bold charecters intact. But I solved it by adding the following code.
I found PHP Code:
PHP Code:
|
Hi, I will give this hack a try in order to update my forum with the new entries in my blogs. I am not sure about the HTML support, most of my blog entries have links, will these still work?
|
Hi, same problem as some of you in this thread, running articlebot.php manually does not give me any error, I followed exactly all the steps in the instructions but no post is being made by the bot. My feed is one generated by a Wordpress blog: http://www.ventanazul.com/weblog_en/feed/rss2/
Any ideas about what should I check? Thanks! Updated: It worked, just had to wait a few minutes, I did not understand the interval concept very well at first. Now it's working and it's great. My blog entries are being fed to my forum :) Thanks a lot for this. Nice work! |
alexis - everything is fine but unlike you i cant get the blogs to be imported to my forum
ive left the interval at the default of 120 - however, ive had articlebot up for a few days so im not sure how this can play any part in it? |
Running /forums/articlebot/articlebot.php only brings up a white screen for me. Also, whenever I try to add an RSS feed I get an error:
Error: There is no file located at http://rss.news.yahoo.com/rss/topstories |
Quote:
Can't help ya' on the Yahoo thing, appears to be a good link. |
Thanks... So the white screen means it's working correctly? So now I just have to figure out why it's not accepting any RSS feeds as being legitimate. :(
|
White screen is ok for articlebot.php, in fact is a good sign that main settings are ok.
It's always good to confirm if your feed is ok with a feed reader (I use www.bloglines.com). I was not getting any post into my forums and I did this: Put the interval to 1 minute and the number of entries to be retrieved at 50 (I had like 28 entries in my blog but I read that articlepost.php can detect if there is less entries than you enter). I run articlebot.php manually, got the white screen and after a few minutes my posts started to appear. You can refresh the bots manager page in your admincp and you will see when the next update will be. After getting my blog entries I configured articlebot to 120 minutes interval and getting posts 1 by 1 again. I hope it helps. |
I keep getting an error saying there isn't a file at any of the links I put in.
|
Quote:
https://vborg.vbsupport.ru/showpost....&postcount=145 Make sure your cron script is set accordingly. Quote:
(although I think there is already vB3 code for it somewhere) |
The problem I'm having is that it's not accepting any of the links I'm entering for feeds. It keeps saying there isn't a file there when they are good urls.
|
Can you post a sample link?
Also, what version of PHP is installed on your server? |
All times are GMT. The time now is 05:20 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:
|