News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

RSS Feed Poster

Started by SMFHacks.com Team, January 11, 2007, 07:46:04 PM

Previous topic - Next topic

GazOutEast

Quote from: Neelay on January 26, 2008, 08:12:52 AM
Hello. I had this mod working until two days ago;
I've set up a cron job for http://forums.indianforums.co.in/cronrss.php .

Neelay - I had the same problem and had my hosting's techs take a look at it

The URL given in the mod are incorrect !

The correct path for the cronrss.php that you have to set in the cron job is -

localhost/username/public_html/smf-folder/cronrss.php

in your case, this would appear to be -
localhost/server-access-user-name/public_html/forums/cronrss.php

If you have cpanel software - click on file manager, then in file manager, navigate to the cronrss.php file and the nav path bar at the top of the folder list will give you the correct path.

the http://site/folder/file URL given in the mod, is really only for windows hosting (I am told)

Gaz
I have 20:20 vision - I can see anything bigger than 20" x 20"

Neelay

#661
Thanks for reply. Yeah, I'm aware of the correct url; the one which works on my host is php -q  /home/<some password>/public_html/forums/cronrss.php. I have another forum at http://freegames.ind.in , the cron is working fine there. Even this was working fine until a few days ago. I think the the cron job that I've set up is still working fine, as I do get an empty email confirming that the cron has executed as scheduled. The mod also is working fine as fake cron is working. Can it have to do with the code inside cronrss.php ? Right now cronrss.php says<?php
*/
RSS Feed Poster
Version 1.0.0
by
:vbgamer45
http
://www.smfhacks.com
*/

// SSI needed to get SMF functions
require('SSI.php');

// For the rss functions
require_once($sourcedir '/Subs-RSS.php');

UpdateRSSFeedBots();
die(
$txt['smfrssposter_admin']);
?>
. Thanks

Edit : Solved - I don't know how ! I replaced the cronrss.php file on the server with the one on my notebook from the mod package, and it again started working. Thanks for all the help

Randy A.

I just wanted to offer some 'constructive' feedback to the owner of this mod.

I installed this MOD yesterday.  Unfortunately, very little details are included in the readme file on how to properly to sit things up and a description of what field does what within the configuration.

I have not been successful in getting anything to post and I don't have the time to read thru many (many, many) pages of solution info to make it work correctly.

If the owner would take a few short hours of their time and create a readme file of good, solid information; I think it would be great.

Until then, I will be disabling this MOD and looking for other options.

Just my .02 cents, your mileage may vary.

-Randy

TJTELLEZ9

Randy,

It's fairly straight forward once you actually take the time to read the thread.  You can also SEARCH. 

But instead you chose ot ocome on here and shw just how lazy you are....:)  I will enjoy my mod working while you don't

Randy A.

Why would I want to read a 34 page thread (by my settings)?  Why would anyone?

When I create something that others are going to have to implement, I always create a very detailed user document.  I create them based off people being complete ignorant of tech stuff.  I walk them thru it very slowly.

My feedback was only to make the MOD better. 

Chriss Cohn

What i see so far, this must be a great mod.... lets see if it works on my server  ;D

Regards, Christian

Chriss Cohn

Ok, installed it and it works out-of-the-box without any errors - just as expected

GREAT MOD!!! ;D ;D ;D

Randy A.

That's awesome Chris.  I'm happy for you.  It's always cool when MODS install without error. 

Chriss Cohn

IMPORTANT IF YOU ENCOUNTER VERY LONG LOADING-TIMES FOR FRONTPAGE, RECENT-POSTS AND/OR BOARD-VIEW IN WHICH FEEDPOSTER POSTS IN:

Just disable "HTML enabled" inside of the certain feeds configuration. After you done this, delete all posts your "bot" has made and your forum should run as before.

Regards, Christian

HelloWorld

Quote from: Randy A. on January 30, 2008, 03:58:39 PM
Why would I want to read a 34 page thread (by my settings)?  Why would anyone?

Agreed.

TrueSatan

If you are expecting people to assist you then an unwillingness to read the topic is a good way to discourage them from doing so...often to assist members other members here will read entire topics.

canadiancray

Is it normal for the forum to lagg like crazy when the Cron Job setting is turned on????? As soon as I turn it off everything is back to normal.

vbgamer45

I highly suggest using a normal cron job instead of fake crons otherwise it checks on every page load.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Chriss Cohn

Quote from: canadiancray on February 03, 2008, 08:55:30 PM
Is it normal for the forum to lagg like crazy when the Cron Job setting is turned on????? As soon as I turn it off everything is back to normal.
Yes, use real cronjob instead of fake one.
Its pretty easy, if you have root-acces or ask hoster type: "crontab -e" and add in a new line this:* */2 * * * php -q /path/to/your/smf_forum/cronrss.php and you have the cronjob every two hours running.
But please NEVER type in "crontab -r" (deletes the entire crontab - uh-oh) what can happen more often than you think as these letters are next to each other on keaboard.

Regards, Christian

canadiancray

LOL what the heck is a cron job & how would I do that??? Complete amature cronjobist LOL

TrueSatan

Please use Google or other search engines for such queries...there are many cron tutorials available such as on the following link:

http://www.unixgeeks.org/security/newbie/unix/cron-1.html

Chopper

Hi, after inputting my feed url i get an error message - Unable to download the feed.

Any ideas how to fix?

TrueSatan

Do any feeds work for you or is this an error only with one feed? If it is an error with only one feed please test the feed with a feed validator (there are a number available...do a search online for one.)

Chopper

Quote from: TrueSatan on February 06, 2008, 06:15:16 AM
Do any feeds work for you or is this an error only with one feed? If it is an error with only one feed please test the feed with a feed validator (there are a number available...do a search online for one.)

Hi, yes i checked and the feed is ok so im unsure where the problem lies?

vbgamer45

What is the feed url that you are trying to use?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: