Quote:
Originally Posted by Lynne
I get redirected to your site with this url - http://afterworld.ru/rss.xml
I don't think you need to globalize $vbulletin there, I know I don't on the couple of cron jobs I've written. Do you have a table prefix? You should probably write the query as?
PHP Code:
$vbulletin->db->query_write("UPDATE ".$TABLE_PREFIX."post SET showsignature = 1");
And I think it will only log if you have Log Entries set to Yes.
|
Hi Lynne,
You get redirected? That's strange. For me, it links to the RSS file I want to pull news from.
I've been trying to play around with it for a bit, but keep getting the darn error. Would I be better off asking over at the official vB.com site, you think?
Update: I just played with some other RSS feeds I want to grab, and all of those seem to work. There must be something wrong with this particular one, but for the life of me, I cannot seem to pinpoint it. It works in a browser, and when I add it to IE rss. Just vB doesn't seem to eat it.
As for the scheduled task, I found what was wrong. The filename field apparently has a 50 character limit, which cut off the last two characters of the path to the cron job. I renamed my file to something a bit shorter, and now that works, at least
In the words of Homer: "D'OH".
Thanks for your time
Peter