SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
July 29, 2010, 04:05:10 pm

Login with username, password and session length
Members
Total Members: 8182
Latest: Laser077
Stats
Total Posts: 21474
Total Topics: 4005
Online Today: 43
Online Ever: 399
(March 21, 2008, 10:16:14 pm)
Users Online
Users: 0
Guests: 33
Total: 33
Sponsored Links
+  SMFHacks.com
|-+  Forum
| |-+  Modifications/Themes
| | |-+  Modifications Talk
| | | |-+  Latest Mods
| | | | |-+  [Mod] RSS Feed Poster
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 2 3 [4] 5 6 ... 10 Go Down Print
Author Topic: [Mod] RSS Feed Poster  (Read 80410 times)
RWL
Full Member
***
Offline Offline

Posts: 100



View Profile WWW Email
« 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
Newbie
*
Offline Offline

Posts: 1


View Profile Email
« 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: 7146


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
Newbie
*
Offline Offline

Posts: 1

294496920
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
Newbie
*
Offline Offline

Posts: 2


View Profile Email
« 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: 7146


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
Newbie
*
Offline Offline

Posts: 2


View Profile Email
« 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
Newbie
*
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
Newbie
*
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
Newbie
*
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
Newbie
*
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: 7146


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

Nice fix
Logged
vipmoney
Newbie
*
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
Newbie
*
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: 7146


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 ... 10 Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 05:27:30 am]

[July 28, 2010, 04:25:31 pm]

[July 28, 2010, 03:26:44 pm]

[July 28, 2010, 12:31:49 am]

[July 27, 2010, 01:13:37 pm]

[July 27, 2010, 11:53:36 am]

[July 27, 2010, 07:22:28 am]

[July 25, 2010, 12:18:25 am]

[July 24, 2010, 10:36:53 pm]

[July 24, 2010, 02:14:46 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
Page created in 0.293 seconds with 21 queries.