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: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 283
Total: 283

Author Topic: RSS Feed Mod  (Read 16837 times)

0 Members and 1 Guest are viewing this topic.

Offline Jump1979man

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
    • Midwest Motorcycles Forum
Re: RSS Feed Mod
« Reply #15 on: January 15, 2007, 10:20:22 pm »
yeah somethings up....it just happened again.
Midwest Motorcycles Forum
http://www.mwmotorcycles.com

Riverway Racing
https://www.riverwayracing.com
Motorcycle parts, gear, and accessories.

Offline tane

  • Member
  • *
  • Posts: 3
    • View Profile
Re: RSS Feed Mod
« Reply #16 on: March 12, 2007, 05:32:49 pm »
Here's the xml file for it
Code: [Select]
<file name="$languagedir/Modifications.english.php">
<operation error="ignore">
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';

// END  RSS FeedPoster
]]></add>
</operation>
</file>

<file name="$boarddir/index.php">
<operation>
<search position="before"><![CDATA[loadPermissions();]]></search>
<add><![CDATA[
// RSS Feed Poster run fake cron job
if (!empty($modSettings['rss_fakecron']))
{
require_once($sourcedir . '/Subs-RSS.php');
UpdateRSSFeedBots();
}

]]></add>
</operation>
<operation>
<search position="before"><![CDATA['sticky' => array('LockTopic.php', 'Sticky'),]]></search>
<add><![CDATA[
'feedsadmin' => array('FeedPoster.php', 'FeedsMain'),]]></add>
</operation>
</file>
<file name="$sourcedir/Subs.php">
<operation>
<search position="before"><![CDATA['edit_settings' => '<a href="' . $scripturl . '?action=serversettings;sesc=' . $sc . '">' . $txt[222] . '</a>',]]></search>
<add><![CDATA[
'feeds_settings' => '<a href="' . $scripturl . '?action=feedsadmin;sesc=' . $sc . '">' . $txt['smfrssposter_admin'] . '</a>',
]]></add>
</operation>
</file>

Hi, I'm  very new to all of this forum stuff, and I've just installed  the RSS Feed mod (and very cool it is!), but I'm having the same trouble as the other guy on here... the Admin options are just blank, and the only time I get to actually add  RSS feeds is on the initial installation, so I have to re-install  RSS Feed every time I want to add a new one... anyway, I think that this bit of XML is probably going to help me, however whereabouts do I copy n paste that XML... which file should it go into, or whatever?

Sorry for being a noob, but I really like this mod, and I hope to get it running properly.

I'm using SMF 1.1.2

Offline tane

  • Member
  • *
  • Posts: 3
    • View Profile
Re: RSS Feed Mod
« Reply #17 on: March 12, 2007, 05:44:23 pm »
aaah, I've found a way around it... by going to

www.myforumwhatever.com/forum/index.php?action=feedsadmin

that takes me to the feeds admin, naturally  ;)

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: RSS Feed Mod
« Reply #18 on: March 12, 2007, 06:56:04 pm »
You need to add the text strings from modifications.english.php of all your themes modifications.english.php files.
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 tane

  • Member
  • *
  • Posts: 3
    • View Profile
Re: RSS Feed Mod
« Reply #19 on: March 13, 2007, 01:56:26 pm »
ah brilliant, thank you  ;D

Offline 2bz2p

  • Member
  • *
  • Posts: 9
    • View Profile
    • Flop Dogg
Re: RSS Feed Mod
« Reply #20 on: May 15, 2007, 06:40:31 pm »
Hello,

     I copied the block from above and added to were I think it should have gone and my problem is probaly that fact the I thought, so I am not sure what is wrong with the code. I know that it didnt work out the way it was supposed to  ;D So any help would be greatly appreciated. The file is Modifications.english.php

Also I grabbed a feed from New Egg (daily deals) and it posted with The title and then its was written in code and not like a normal post. The Fox News one work great.

Thanks
2B

PS. This isnt were I am supposed to post this, but it reminded me when I posted this.  How do I enable the spell checker.

Code: [Select]
<?php
// Version: 1.1; Modifications

// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';

// END  RSS FeedPoster
]]></add>
</operation>
</
file>

<
file name="$boarddir/index.php">
<operation>
<search position="before"><![CDATA[loadPermissions();]]></search>
<add><![CDATA[
// RSS Feed Poster run fake cron job
if (!empty($modSettings['rss_fakecron']))
{
require_once($sourcedir '/Subs-RSS.php');
UpdateRSSFeedBots();
}

]]></add>
</operation>
<operation>
<search position="before"><![CDATA['sticky' => array('LockTopic.php''Sticky'),]]></search>
<add><![CDATA[
'feedsadmin' => array('FeedPoster.php''FeedsMain'),]]></add>
</operation>
</
file>
<
file name="$sourcedir/Subs.php">
<operation>
<search position="before"><![CDATA['edit_settings' => '<a href="' $scripturl '?action=serversettings;sesc=' $sc '">' $txt[222] . '</a>',]]></search>
<add><![CDATA[
'feeds_settings' => '<a href="' $scripturl '?action=feedsadmin;sesc=' $sc '">' $txt['smfrssposter_admin'] . '</a>',
]]></
add>
</operation>
</
file>

// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';

// END  RSS FeedPoster

?>

« Last Edit: May 16, 2007, 08:15:51 am by 2bz2p »

 

Related Topics

  Subject / Started by Replies Last post
6 Replies
6757 Views
Last post February 03, 2007, 11:57:03 am
by exit
RSS Feed

Started by marcbkk Support

1 Replies
3481 Views
Last post March 04, 2007, 09:39:02 pm
by SMFHacks
8 Replies
5018 Views
Last post September 18, 2010, 01:31:41 am
by TeeJay
48 Replies
21646 Views
Last post August 25, 2015, 12:58:40 pm
by SMFHacks
2 Replies
2986 Views
Last post April 18, 2017, 07:39:26 am
by hippieboy123

+- 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