Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 24, 2013, 04:24:11 am

Login with username, password and session length
Members
Total Members: 10768
Latest: CayoTTe
Stats
Total Posts: 32395
Total Topics: 5480
Online Today: 48
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 51
Total: 52
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 2 3 [4] 5 6 ... 13 Go Down Print
Author Topic: [Mod] RSS Feed Poster  (Read 117220 times)
RWL
Full Member
***
Offline Offline

Posts: 100



View Profile WWW
« Reply #45 on: June 30, 2007, 10:08:49 am »

Hi Wolfenrock,

No luck I'm afraid - see the attached screenshots  Sad

One is how it formats in a Tiny Portal PHP article, the other in the forum via the RSS Feed Poster mod.

Regards,

Wilsy.
Logged

RewindLancs.com Management

thunder15
Inline PM Customer
*****
Offline Offline

Posts: 1


View Profile
« Reply #46 on: July 12, 2007, 07:57:15 pm »

 Hi, I've installed this Mod, but in the Admin menu there is just a space where "RSS Feed Poster" should be and the error log has a bunch of errors line this one.  What's up?

Thunder
 
8: Undefined index: smfrssposter_admin
File: C:\Domains\thunderhosting.net\wwwroot\forum\Sources\Subs.php
Line: 2742
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11003


View Profile
« Reply #47 on: July 12, 2007, 08:05:19 pm »

Copy text from themes/default/languages/modifications.english.php
To
themes/yourtheme/languages/modifications.english.php

Repeat if you have more than one language to every
themes/default/languages/yourlanguage.english.php
Logged
COOLover
Inline PM Customer
*****
Offline Offline

Posts: 1


View Profile WWW
« Reply #48 on: July 15, 2007, 05:19:31 pm »

Hello together,

i have translate the FeedPoster language to German.

Modifications.german.php
Code:
$txt['smfrssposter_admin'] = 'Feed Poster-Einstellungen';

FeedPoster.german.php
file is in the Attachments (no UTF-8 it's ISO-8859-1)

Didn't Translate
Code:
$txt['feed_updatepostcount'] = 'Bots update post count';
I have not found where do you used that to create a good German sentence.
Logged

>>Greetz COOLover<<
Sorry for my bad english.
DrizzCat
Inline PM Customer
*****
Offline Offline

Posts: 2


View Profile
« Reply #49 on: August 04, 2007, 09:35:17 am »

Ok I need a hand.

Ok, What does the below mean and how do I fix it?

Quote

Warning: fopen(): URL file-access is disabled in the server configuration in /home/content/B/o/o/BoomCEO/html/forum/Sources/Subs-RSS.php on line 314

Warning: fopen(http://myeve.eve-online.com/feed/rdfnews.asp?tid=1): failed to open stream: no suitable wrapper could be found in /home/content/B/o/o/BoomCEO/html/forum/Sources/Subs-RSS.php on line 314

Warning: fopen(): URL file-access is disabled in the server configuration in /home/content/B/o/o/BoomCEO/html/forum/Sources/Subs-RSS.php on line 314

Warning: fopen(http://myeve.eve-online.com/feed/rdfnews.asp?tid=2): failed to open stream: no suitable wrapper could be found in /home/content/B/o/o/BoomCEO/html/forum/Sources/Subs-RSS.php on line 314

Warning: fopen(): URL file-access is disabled in the server configuration in /home/content/B/o/o/BoomCEO/html/forum/Sources/Subs-RSS.php on line 314

Warning: fopen(http://myeve.eve-online.com/feed/rdfnews.asp?tid=3): failed to open stream: no suitable wrapper could be found in /home/content/B/o/o/BoomCEO/html/forum/Sources/Subs-RSS.php on line 314

Warning: fopen(): URL file-access is disabled in the server configuration in /home/content/B/o/o/BoomCEO/html/forum/Sources/Subs-RSS.php on line 314

Warning: fopen(http://myeve.eve-online.com/feed/rdfnews.asp?tid=5): failed to open stream: no suitable wrapper could be found in /home/content/B/o/o/BoomCEO/html/forum/Sources/Subs-RSS.php on line 314

Warning: fopen(): URL file-access is disabled in the server configuration in /home/content/B/o/o/BoomCEO/html/forum/Sources/Subs-RSS.php on line 314

Warning: fopen(http://myeve.eve-online.com/feed/rdfnews.asp?tid=6): failed to open stream: no suitable wrapper could be found in /home/content/B/o/o/BoomCEO/html/forum/Sources/Subs-RSS.php on line 314

Warning: fopen(): URL file-access is disabled in the server configuration in /home/content/B/o/o/BoomCEO/html/forum/Sources/Subs-RSS.php on line 314

Warning: fopen(http://myeve.eve-online.com/feed/rdfnews.asp?tid=7): failed to open stream: no suitable wrapper could be found in /home/content/B/o/o/BoomCEO/html/forum/Sources/Subs-RSS.php on line 314

Warning: fopen(): URL file-access is disabled in the server configuration in /home/content/B/o/o/BoomCEO/html/forum/Sources/Subs-RSS.php on line 314

Warning: fopen(http://myeve.eve-online.com/feed/rdfnews.asp?tid=4): failed to open stream: no suitable wrapper could be found in /home/content/B/o/o/BoomCEO/html/forum/Sources/Subs-RSS.php on line 314
Feed Poster Configuration

Soruce of feeds is this page: http://myeve.eve-online.com/feed/
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11003


View Profile
« Reply #50 on: August 04, 2007, 06:34:23 pm »

If you have php access allow fopen to open remote files.
Logged
DrizzCat
Inline PM Customer
*****
Offline Offline

Posts: 2


View Profile
« Reply #51 on: August 05, 2007, 12:04:34 am »

That fixed it.  Thanks.  I was worried that they were strange RSS Formats or something.
Logged
greyer
Inline PM Customer
*****
Offline Offline

Posts: 1


View Profile
« Reply #52 on: August 06, 2007, 11:23:00 am »

My forum is installed in iso. I dont have problem with the Iso code's rss but the utf8 is not going in right. If i install the forum in utf8 then its the opposite.what can i do?
Logged
vipmoney
Inline PM Customer
*****
Offline Offline

Posts: 4


View Profile
« Reply #53 on: August 20, 2007, 02:54:10 am »


The MOD is good

Any chance to solve the problem with the character encoding ?
Logged
vipmoney
Inline PM Customer
*****
Offline Offline

Posts: 4


View Profile
« Reply #54 on: August 20, 2007, 03:18:21 am »

I changed this line on subs-RSS.php

Code:
// Create the Post
$msg_title = $feed['html'] ? $context['feeditems'][$i]['title'] : strip_tags($context['feeditems'][$i]['title']);

$msg_body =  $feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link']  : strip_tags($context['feeditems'][$i]['description'] .  "\n\n" . $context['feeditems'][$i]['link']);


and still have the problems with special characters...

any idea how to solve this issue ?
« Last Edit: August 20, 2007, 03:30:30 am by vipmoney » Logged
vipmoney
Inline PM Customer
*****
Offline Offline

Posts: 4


View Profile
« Reply #55 on: August 20, 2007, 10:05:03 pm »

I found a solution for the problem with characters encoding Wink

(in my case I was using ISO-8859-1)

Go to Subs-RSS.php and find:
Code:
// Create the Post
$msg_title = $feed['html'] ? $context['feeditems'][$i]['title'] : strip_tags($context['feeditems'][$i]['title']);

$msg_body =  $feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link']  : strip_tags($context['feeditems'][$i]['description'] .  "\n\n" . $context['feeditems'][$i]['link']);

Replace with this one or change it according to your enconding needs (this one converts to ISO-8859-1):

Code:
// Create the Post
$msg_title_ = $func['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['title'] : strip_tags($context['feeditems'][$i]['title'])), ENT_QUOTES);
$msg_title = iconv("UTF-8", "ISO-8859-1", $msg_title_);  //// NEW added Code

$msg_body_ =  $func['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link']  : strip_tags($context['feeditems'][$i]['description'] .  "\n\n" . $context['feeditems'][$i]['link'])), ENT_QUOTES);
$msg_body = iconv("UTF-8", "ISO-8859-1", $msg_body_);  //// NEW added Code

Its working now Wink
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11003


View Profile
« Reply #56 on: August 20, 2007, 10:15:54 pm »

Nice fix
Logged
vipmoney
Inline PM Customer
*****
Offline Offline

Posts: 4


View Profile
« Reply #57 on: August 20, 2007, 10:23:04 pm »

Nice fix

Thanks Wink

Your mod is cool, just one thing, is there any fix already for the problem showing feeds with html code ? I have my SMF with HTML in posts enabled and its not working.
Logged
imrie
Inline PM Customer
*****
Offline Offline

Posts: 9


View Profile
« Reply #58 on: August 21, 2007, 02:47:55 am »

Hey,

After eventually getting this mod working, i get an internal server error when i try to edit and add feeds, i have one feed working and the other is not, its set 30mins and they are both by different users,

fsockopen - disabled
fopen - enabled
CURL - enabled

mysimtractor.com/forum

(news category at the bottom)

Thanks!
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11003


View Profile
« Reply #59 on: August 21, 2007, 06:45:37 am »

Sources/Subs-RSS.php
chmod that file to 755
Logged
Pages: 1 2 3 [4] 5 6 ... 13 Go Up Print 
« previous next »
Jump to:  

Recent
[May 23, 2013, 08:29:56 pm]

[May 23, 2013, 04:50:21 am]

[May 22, 2013, 10:03:30 pm]

[May 22, 2013, 03:00:09 pm]

[May 22, 2013, 03:03:31 am]

[May 21, 2013, 03:27:16 pm]

[May 21, 2013, 02:11:10 pm]

[May 21, 2013, 01:18:58 pm]

[May 21, 2013, 12:22:02 am]

[May 21, 2013, 12:20:41 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.24 seconds with 20 queries.