Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 182
Total: 182

Author Topic: [Mod] RSS Feed Poster  (Read 230711 times)

0 Members and 3 Guests are viewing this topic.

Offline imrie

  • Member
  • *
  • Posts: 9
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #60 on: August 21, 2007, 09:37:39 am »
No i am still getting the 500 internal server error when i try editing the feed.
However i can edit it fine when there is only 1 feed.
Now the 1 working feed is not woriking at all, what should i do?
Where is the .xml file saved because i dont think it is on my server?

Offline neforum

  • Member
  • *
  • Posts: 12
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #61 on: August 21, 2007, 10:54:23 am »
Hi, good mod, but i'm seeing the following in my error logs. How can I solve this please?

http://www.neforum2.co.uk/smf/index.php?action=feedsadmin;sa=editfeed2 

8: Undefined offset: 42
File: /customersites/1/home/httpd/vhosts/neforum2.co.uk/httpdocs/smf/Sources/Subs-RSS.php
Line: 130

That part of the file seems to be about where it executes the function UpdateRSSFeedBots()

This would seem correct as it's an error I get when I update my feeds.

Any ideas?

Thanks.
« Last Edit: August 21, 2007, 12:23:51 pm by neforum »

Offline imrie

  • Member
  • *
  • Posts: 9
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #62 on: August 21, 2007, 12:59:14 pm »
No i am still getting the 500 internal server error when i try editing the feed.
However i can edit it fine when there is only 1 feed.
Now the 1 working feed is not woriking at all, what should i do?
Where is the .xml file saved because i dont think it is on my server?

Was not working so i unistalled it and installed it again, deleted all feeds and got a new 1. Whats the minium time to update?

Offline imrie

  • Member
  • *
  • Posts: 9
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #63 on: August 22, 2007, 02:08:34 am »
I left overnight and it hasent posted at all. Should i re-install it? where is the .xml file located?

i think i will chmod to 777 all files.

Offline imrie

  • Member
  • *
  • Posts: 9
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #64 on: August 22, 2007, 03:52:15 am »
After chmodding all of this mods files to 777 i dont get the error. When you choose the user to post should it be like this? Still no posts...

: "Member"
or
: Member

Thanks,

Offline imrie

  • Member
  • *
  • Posts: 9
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #65 on: August 22, 2007, 05:35:46 am »
A have loads of these errors in the error log.

8: Undefined offset: 23
File: /home/fhlinux164/m/mysimtractor.com/user/htdocs/forum/Sources/Subs-RSS.php
Line: 130

Every time i create/edit a feed i get this ^

Line 130:

Code: [Select]
function startElement2($parser, $name, $attrs)
{   
global $depth; 
$depth[$parser]++;
}

line 130: $depth[$parser]++;


This is driving me mad!
« Last Edit: August 22, 2007, 06:53:21 am by imrie »

Offline imrie

  • Member
  • *
  • Posts: 9
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #66 on: August 22, 2007, 06:47:17 am »
The above error is actually when i edit/create the feed.

I also get this error:

2: fopen(http://digg.com/rss/index.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: HTTP request failed!
File: /home/fhlinux164/m/mysimtractor.com/user/htdocs/forum/Sources/Subs-RSS.php
Line: 25
« Last Edit: August 22, 2007, 06:52:45 am by imrie »

Offline neforum

  • Member
  • *
  • Posts: 12
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #67 on: August 22, 2007, 07:44:15 am »
The above error is actually when i edit/create the feed.


That error at Line 130 is the exact one I get. Anyone know the significance of the Offset Number? I've found that I also get duplicate postings when I enable the feed. That is with a pseudo-chronjob set up. This is actually more annoying than the error as it starts a new thread for each one, even though the messages are identical.

Can I ask smfhacks to come back on this one please? Is there a way around it? What should be set in the 'importevery' field to optimise things? 

Thanks

Dave
« Last Edit: August 22, 2007, 08:01:49 am by neforum »

Offline imrie

  • Member
  • *
  • Posts: 9
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #68 on: August 22, 2007, 07:53:04 am »
I seem to still getting that error when i create/edit feeds, there are not even posting! It used to work but i unistalled it and installed it again and now it does not. The strange thing is that the .xml file in the download is not on the sever, should it be?

Offline imrie

  • Member
  • *
  • Posts: 9
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #69 on: August 23, 2007, 02:13:05 pm »
BUMP

Offline foobs

  • Member
  • *
  • Posts: 2
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #70 on: September 11, 2007, 03:28:28 am »
Great mod, but it doesn't seem to do anything automatically, I have to click the Cron Job link for new news to be posted. Is this how it should be, or is it just not working?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #71 on: September 11, 2007, 07:35:52 am »
You need to either make a cron job to that file or enable fake crons.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline foobs

  • Member
  • *
  • Posts: 2
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #72 on: September 11, 2007, 10:38:49 am »
Edit: Doesn't matter, I've got it working
« Last Edit: September 11, 2007, 12:53:54 pm by foobs »

Offline rickou812

  • Member
  • *
  • Posts: 1
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #73 on: September 18, 2007, 12:13:19 pm »
Any news on a html fix yet?
I tried to mod the code in the sub-rss.php file to add the html tag to the post, but it only half works..lol

What I mean by that is it does in fact add the html tag, but for some reason SMF will not display the post correctly unless I click "modify post" and "save" at which time it is diplayed correctly...

This tells me that SMF is not seeing the "Feed poster" as having permissions to post html even though it is utilizing a members name that does in fact have those permissions...

I hope this info will help develop a fix..

Thanks
Rick

Offline allumius

  • Member
  • *
  • Posts: 1
    • View Profile
Re: [Mod] RSS Feed Poster
« Reply #74 on: October 03, 2007, 04:43:40 am »
Sorry for my english

I'm using 1.1.3

Using Real Cron jobs no post and if i try http://losamigotes.homelinux.org/forum/cronrss.php
Quote
Feed Poster Configuration
nothing more

If i use fake cron jobs, I have three problems:

1º i have Update every x minutes 100
But every 5-10 min. a feedpost is write in the forum

2º i have post duplicated (see imagen)

3º in to the feedpost i have bizarre text. example:

Quote
Merck cerrará el Laboratorio de Investigación


La decisión deja a España sin uno de los pocos centros no dependientes de los fondos públicos que se dedicaba a la investigación básica.&nbsp;


 

Related Topics

  Subject / Started by Replies Last post
1 Replies
5077 Views
Last post February 28, 2013, 07:14:10 am
by simple_joe
2 Replies
5268 Views
Last post June 12, 2012, 12:37:28 pm
by graaywolf
3 Replies
6147 Views
Last post July 15, 2013, 01:21:24 pm
by SMFHacks
2 Replies
1426 Views
Last post March 14, 2022, 04:07:42 am
by ke
2 Replies
1400 Views
Last post August 21, 2022, 02:50:37 pm
by Saftek

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal