• Welcome to Simple Machines Community Forum. Please login or sign up.
September 18, 2021, 03:18:10 PM

News:

Check out the SMF Function DB!


RSS Feed Poster

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

Previous topic - Next topic

fir4t

What İs The Sql Query Code ? :S

Ninoslav

Quote from: lexhair on January 22, 2007, 09:02:43 AM
As a follow up to my post above, if you don't want to write a perl script, this php script should work:
<?php
include ('http://www.yourforums.com/cronrss.php');
?>
, save it as something like 'crontabrss.php', change the permissions to 755 and run it from the cron tab as:

php -q /home/username/public_html/folder/crontabrss.php >/dev/null 2>&1

Works fine now, thanks!
∑∆T M∑! :)

Asgard

I get this error on install:

Column count doesn't match value count at row 1
File: /var/www/html/foros/Packages/temp/FeedPostersql.php
Line: 34

Any ideas?

Xarcell

Quote from: Ninoslav on January 21, 2007, 06:06:03 AM
this mod is great... however I ran into some problems...

* with fake cron job on

a LOT of errors, around 30 pages per minute, all of them with "undefined offset: 9" in them

* without fake cron, cron turned on in cPanel

...erm, no posts at all..

when I try to access cronrss.php it gives me this:

QuoteFatal error: Cannot redeclare ssi_viewblogs() (previously declared in /home/metalham/public_html/forum/SSI.php:1627) in /home/metalham/public_html/forum/SSI.php on line 1699

any hint?

It sounds like your mod installed the code twice, ON EVERYTHING(only the files the mod effects, check your mod install instructions). Check all of your files for the duplicate code.

L.G.S

any chance of knowing how to stop them from appearing in unread topics.. much be a way
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Xarcell

Ya, I think that's a feature needed. It's flooding the unread topics area.

Asgard

Quote from: Asgard on January 22, 2007, 04:21:17 PM
I get this error on install:

Column count doesn't match value count at row 1
File: /var/www/html/foros/Packages/temp/FeedPostersql.php
Line: 34

Any ideas?

I solved the problem, seems like at some point i have added an extra field to settings that was causing the problem. I have also changed REPLACE with INSERT, since the SQL command used was REPLACE INTO settings, i changed to INSERT INTO Settings

Working fine now. Thanks

ketchup

Can you tell me what this means after I pressed "install"

Fatal error: packageinstall() [function.require]: Failed opening required '/home/ag8090/domains/blahblahforums.com/public_html/forums/Packages/temp/./FeedPostersql.php' (include_path='.:/usr/local/lib/php') in /home/ag8090/domains/blahblahforums.com/public_html/forums/Sources/Packages.php on line 549

vbgamer45

Create a folder called temp in the packages folder and make sure it is writable
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

L.G.S

Quote from: L.G.S on January 22, 2007, 04:34:42 PM
any chance of knowing how to stop them from appearing in unread topics.. much be a way

any idea for this :(
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


ketchup

Ok thanks! that worked, it said it would redirect me to settings but just redirected me to the board index. So then I went back to the admin panel and what am I supposed to do now? I don't see anything about rss feeds  :-\

ketchup

Actually it takes me to this url

blahblahforums.com/forums/index.php?action=feedsadmin


which is just my board index  :-\

vbgamer45

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

ketchup

so what should I do? it says it's installed and I can list the files and stuff

maxprofit

L.G.S many of us waiting on that one lol.

Re: the unread posts flooding and FORUM members getting upset. I reduced the number of feeds and delete the feed boards daily until a way to block them from being included in unread posts

L.G.S

Yeah same with me, my members are also getting upset. This settings should be a basic option imo
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


ketchup

Hi 3 questions:

1) I got this to work on another host just fine...so what can I do about the host that it's not working on? I have a full server and can make changes to confiuration but I need to tell the host what is wrong


2) This is how one of the yahoo feeds looks....great...except I dind't enable html because it was all just code showing up AND  the url to the actual news story isn't cliable...but the yahoo news is see
--------------------------------------------------------------------------
3 killed as protesters paralyze Lebanon
    (AP)



AP - Hezbollah-led protesters paralyzed Lebanon Tuesday, clashing with government supporters and burning tires and cars on roads in and around the capital to enforce a general strike aimed at toppling U.S.-backed Prime Minister Fuad Saniora. Three people were killed and dozens injured.


http://us.rd.yahoo.com/dailynews/rss/topstories/*http://news.yahoo.com/s/ap/20070123/ap_on_re_mi_ea/lebanon_protests

--------------------------------------------------------------------------
So what did you guys do?


3) Are having all these rss feeds important? I mean is this more imortant for search engines thena having memebrs be able to use recent posts? ...Just asking your opininon

webfan

That are my problems too. The mod is still posting some doubleposts and I would like to exclude its postings from recent posts, unread posts, and if possible from the forums rss feed (the most news feed providers dont want you to deliver their news as rss feed too !)

Maybe someone has a hint where I find some infos about to change this?

maxprofit

Yes, yahoo generates that * .. scroll back some posts, someone here explained how to filter words or symbols in this case that * .

I just used reuters feeds instead of yahoo .. Do a search for feeds, then test them out

L.G.S

January 23, 2007, 03:23:12 PM #219 Last Edit: January 23, 2007, 03:25:03 PM by L.G.S
IMO just do this:

Filtered Words > /*

Change "/*" so that it filters into /*

(there is a space after the asterisk, don't forget that) then it should be alright.

-------------------



daaaaaaam waitin for help..
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Advertisement: