Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SMFHacks.com Team on July 17, 2006, 01:41:27 PM

Title: RSS Feed Icon for boards
Post by: SMFHacks.com Team on July 17, 2006, 01:41:27 PM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=376)



RSS Feed Icon

By vbgamer45 (http://custom.simplemachines.org/mods/index.php?action=profile;u=24876)


Compatibility
Works with both SMF 2.1.x, SMF 2.0.x and SMF 1.1.x

Description
Adds a feed icon on the board index for each forum.

Version 1.1
Added support for child boards.

Support Links
SMF Package Parser (http://sleepycode.com/PackageParser/)
Manual Installation Of Mods (http://docs.simplemachines.org/index.php?topic=402)
How Do I Modify Files? (http://www.simplemachines.org/community/index.php?topic=24110.0)

Title: Re: RSS Feed Icon for boards
Post by: PrizeLive.com on July 17, 2006, 02:04:43 PM
Cool mod.. but I already have this on my forum?   I don't remmeber how I got it if you just put this mod out now... ?
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on July 17, 2006, 02:07:45 PM
Had it on my other site for a while now I am to approve it here heh.
Title: Re: RSS Feed Icon for boards
Post by: PrizeLive.com on July 17, 2006, 02:11:02 PM
Had it on my other site for a while now I am to approve it here heh.

Congrats... Were any changes made to it?

Should I uninstall and re-download it?
Title: Re: RSS Feed Icon for boards
Post by: ArkServer on July 17, 2006, 03:12:38 PM
When i click on the rss icon i see a download file for "index.php" ??? not sure why..
www.happyserver.be can someoen check if its only me? using latest firefox.
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on July 17, 2006, 03:41:33 PM
I think you need an rss reader, happens to me as well. Before I just had xml in the url and it would download the xml feed. Added type=rss in the url that's how it should be for a proper rss feed.
Title: Re: RSS Feed Icon for boards
Post by: ArkServer on July 17, 2006, 05:18:49 PM
I think you need an rss reader, happens to me as well. Before I just had xml in the url and it would download the xml feed. Added type=rss in the url that's how it should be for a proper rss feed.

Hm.. could be me but i keep getting an error..

I'm using: RssReader 1.0.88.0 and SharpReader0960 and trying to import this link: http://atlantis.montecarlohosting.net/~arksvr/forum/index.php?action=.xml;board=504;type=rss
both applications doesn't let me import the rss link..

But when i validate the link: http://www.feedvalidator.org/check.cgi?url=http%3A//atlantis.montecarlohosting.net/%7Earksvr/forum/index.php%3Faction%3D.xml%3Bboard%3D504%3Btype%3Drss
it does says that it passed the check.
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on July 17, 2006, 05:21:08 PM
Tell me if it works with
http://atlantis.montecarlohosting.net/~arksvr/forum/index.php?action=.xml;board=504
same thing but with out type=rss
Title: Re: RSS Feed Icon for boards
Post by: ArkServer on July 17, 2006, 05:37:01 PM
Tell me if it works with
http://atlantis.montecarlohosting.net/~arksvr/forum/index.php?action=.xml;board=504
same thing but with out type=rss

Didn't work


(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Farkserver.servehttp.com%2FNope.png&hash=ef1e73bee6ccd98db55a731e742017d8)
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on July 17, 2006, 05:38:07 PM
I am not sure if it is an SMF issue I heard once that feeds weren't 100% valid but in your case it did pass so who knows.
Title: Re: RSS Feed Icon for boards
Post by: ArkServer on July 17, 2006, 05:41:15 PM
Ya its weird that it does pass the validation but the apps cannot import / use the rss file. oh well :(
Title: Re: RSS Feed Icon for boards
Post by: Anotheran on July 23, 2006, 06:49:42 PM
I've added the mod (1.1 RC2 running) but can't see the icons. I really like this idea, and would really like to get it to work. I switched back to the default theme too, still nothing there. Did I kill it by having a different theme running when I installed?
Title: Re: RSS Feed Icon for boards
Post by: playas-palace on July 26, 2006, 09:23:54 AM
Hello,
I got the same problem as ArkServer  :-[
Any help?
Title: Re: RSS Feed Icon for boards
Post by: denislici on July 28, 2006, 10:00:13 AM

what should i do after i click at rss icon ?
Title: Re: RSS Feed Icon for boards
Post by: denislici on July 29, 2006, 09:43:03 AM

i have installed a rss reader but when i click to the feed icon it doesnt add the link to my program... need help
Title: Re: RSS Feed Icon for boards
Post by: HecKel on August 24, 2006, 10:50:33 PM
This mod is compatible with RC3?

HecKel
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on August 24, 2006, 10:54:16 PM
Haven't tired yet or updated it but i think it should be ok.
Title: Re: RSS Feed Icon for boards
Post by: Lew Cipher on September 01, 2006, 02:14:09 PM
Haven't tired yet or updated it but i think it should be ok.

It's not [working on RC3], or at least the package is not. Error message received & it won't let you install.
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on September 01, 2006, 02:16:11 PM
Yeah haven't upgraded it yet to RC3
Title: Re: RSS Feed Icon for boards
Post by: ms_ukyankee on September 29, 2006, 08:48:22 PM
Nice mod, thanks. Is there a plan to have this working for child boards? I expected to see the icon when viewing the parent boards. ???
Title: Re: RSS Feed Icon for boards
Post by: NEMINI on October 11, 2006, 09:59:53 PM
Yeah haven't upgraded it yet to RC3

any plans to?
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on October 11, 2006, 10:06:22 PM
Updated to SMF 1.1 RC3
Title: Re: RSS Feed Icon for boards
Post by: NEMINI on October 12, 2006, 07:12:50 AM
thank you vb :D
Title: Re: RSS Feed Icon for boards
Post by: hidden on October 21, 2006, 11:55:47 PM
It would be nicer if it would also display the icon for sub-forums.

[edit]
For sub-forums, do the same edit on MessageIndex.template.php.
[/edit]
Title: Re: RSS Feed Icon for boards
Post by: RRasco on October 25, 2006, 04:22:06 PM
I've added the mod (1.1 RC2 running) but can't see the icons. I really like this idea, and would really like to get it to work. I switched back to the default theme too, still nothing there. Did I kill it by having a different theme running when I installed?

you need to install it manually.  apply the mod, then go to your FTP and edit:

'root/Themes/{YOUR_THEME}/BoardIndex.template.php'

Search For:
Code: [Select]
', $board['name'], '</a></b>
and immediately after inline add this to it:
Code: [Select]
&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a>
You also need to unzip the mod package and upload 'rss.png' to 

'root/Themes/{YOUR_THEME}/images/'
Title: Re: RSS Feed Icon for boards
Post by: duzins on November 05, 2006, 04:50:13 PM
This is what I get when I install this on SMF 1.0.9

Quote
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on November 05, 2006, 06:46:32 PM
This is what I get when I install this on SMF 1.0.9

Quote
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Only for SMF 1.1 RC3
Title: Re: RSS Feed Icon for boards
Post by: Xarcell on November 06, 2006, 11:35:37 PM
Nice mod.

I had to remove the type=rss part top get it to work properly. Otherwise it was trying to download a php file.
Title: Re: RSS Feed Icon for boards
Post by: Xarcell on November 06, 2006, 11:37:09 PM
If you want to enhance this simple mod some more, I would like to request a permission setting so that the admin can select which boards show the icon.
Title: Re: RSS Feed Icon for boards
Post by: axlarry on November 16, 2006, 04:00:05 PM
I just installed this mod on RC3, no errors, but there's no feed button also  ???
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on November 16, 2006, 04:27:16 PM
Installls on boardindex for the default theme only.
Title: Re: RSS Feed Icon for boards
Post by: axlarry on November 16, 2006, 04:42:32 PM
you mean I could only see it on the default theme?
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on November 16, 2006, 04:43:41 PM
Yup all mods only install on the default theme. You can install it manually on other themes if they are similar.
Title: Re: RSS Feed Icon for boards
Post by: axlarry on November 16, 2006, 04:58:58 PM
okay... I'll try to install it manually, thanks a lot :D
Title: Re: RSS Feed Icon for boards
Post by: Xarcell on November 17, 2006, 10:16:15 PM
Did you enable it in settings?
Title: Re: RSS Feed Icon for boards
Post by: axlarry on November 17, 2006, 10:24:48 PM
what setting? I see the button on the default theme, but when I clicked it, it downloaded "index.php"... did I miss something?
Title: Re: RSS Feed Icon for boards
Post by: Xarcell on November 21, 2006, 01:03:22 PM
what setting? I see the button on the default theme, but when I clicked it, it downloaded "index.php"... did I miss something?

If it isn't working properly, please open your "BoardIndex.template.php" file. Find the mod snippet. In tone of the lines you'll see a link code that looks something like this:

Code: [Select]
&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a>
Remove the "type=rss" from the link code.
Title: Re: RSS Feed Icon for boards
Post by: Laibeus Lord on December 04, 2006, 11:30:03 PM
Just curious.. it works for child forums/sub-forums right?

Also, does it update a page's auto-feed detection if the page being viewed is a specific forum?
Say I clicked on forum B, the auto-feed discovery will update its link to the Feed Link of that forum.

If not, any plans on adding it?  That'll be great to add, will also help forums get indexed better by SEBots if they find feed links from the auto-feed discovery ;)

Thanks!!

Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on December 05, 2006, 12:08:46 AM
Just curious.. it works for child forums/sub-forums right?

Also, does it update a page's auto-feed detection if the page being viewed is a specific forum?
Say I clicked on forum B, the auto-feed discovery will update its link to the Feed Link of that forum.

If not, any plans on adding it?  That'll be great to add, will also help forums get indexed better by SEBots if they find feed links from the auto-feed discovery ;)

Thanks!!


Just added support for child boards!
Title: Re: RSS Feed Icon for boards
Post by: Xarcell on December 05, 2006, 12:10:42 AM
thanks!
Title: Re: RSS Feed Icon for boards
Post by: Laibeus Lord on December 08, 2006, 05:31:28 AM
if you want to use RSS2 (the accepted 'latest' version of RSS - coz there's RSS2.0.1 and RSS2.0.2, but the lack of a centralize group for RSS made it impossible.  There's RSS3 in development now ;p  )

change
Code: [Select]
type=rss

to:
Code: [Select]
type=rss2

in this code:
Code: [Select]
&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a>

Now if you want to use Atom for your feeds, do the same thing as above but instead of type=rss2 put type=atom

enjoy!!


PS
If RSS/Atom are part of SMF Coding, why not integrate it to the forum distribution itself?  I don't get it hehe...  an Admin Panel for Feed will be good to, to give people an option between RSS0.92, RSS1, RSS2, and Atom.  ^_^  (I haven't tested SMF's Atom if it will produce Atom1.0 instead of the old Atom0.3.  I don't want to bother with it right now.)

And maybe add an option as to where they want to put the Feed Icon :D  Or if they want to use a different feed icon..

anyway, lolz, not that it matters to me  hehe...

gj :D

Title: Re: RSS Feed Icon for boards
Post by: [tiktaktok] on December 17, 2006, 07:23:52 PM
Hello, nice mod but how can i disable the display of email?
Title: Re: RSS Feed Icon for boards
Post by: Stasmi on December 19, 2006, 12:41:43 PM
I installed the mod with no problems.  The icons are showing up on the index page of the site.  However, whenever I try to take one of my rss links and add it to my Feedreader, it says it's an unsupported feed format.  I went in and manually removed the type=rss snippet.  I also tried changing it to rss2 before removing it.  At least now I can see the feed when I actually click on the rss link.  But it's still not showing up in my Feedreader.
Title: Re: RSS Feed Icon for boards
Post by: Laibeus Lord on December 20, 2006, 03:25:50 AM
Its with FeedReader.
There are feed reader services and applications out there that are too strict when it comes to detecting which is a valid feed link/URL and which isn't.

In this case:
Code: [Select]
http://boards.laibcoms.com/index.php?action=.xml;board=1;type=rss2

FeedReader do not like either one or all of the extra stuff in the URL like the '?', the '.', the ';' and the '='.


It's sad tho.  Try it with google reader, it works fine.  Also it will not work with MySpace and Friendster ;)  But will work with groovenet.ph/Laibcoms :p

Title: Re: RSS Feed Icon for boards
Post by: Stasmi on December 20, 2006, 07:23:15 AM
Its with FeedReader.
There are feed reader services and applications out there that are too strict when it comes to detecting which is a valid feed link/URL and which isn't.

In this case:
Code: [Select]
http://boards.laibcoms.com/index.php?action=.xml;board=1;type=rss2

FeedReader do not like either one or all of the extra stuff in the URL like the '?', the '.', the ';' and the '='.


It's sad tho.  Try it with google reader, it works fine.  Also it will not work with MySpace and Friendster ;)  But will work with groovenet.ph/Laibcoms :p



Thanks for the help!  I love my Feedreader and it's the only reader I use.  If I can't get it to work with the reader I use, then I probably won't use this mod.  No offense to the mod, I really wish I could use it.
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on December 20, 2006, 09:24:59 AM
Well heres an idea. If you have mod_rewrite you can try to rewrite the urls to something friendly without the ? and the ;
Title: Re: RSS Feed Icon for boards
Post by: Laibeus Lord on December 20, 2006, 10:51:10 PM
Its with FeedReader.
There are feed reader services and applications out there that are too strict when it comes to detecting which is a valid feed link/URL and which isn't.

In this case:
Code: [Select]
http://boards.laibcoms.com/index.php?action=.xml;board=1;type=rss2

FeedReader do not like either one or all of the extra stuff in the URL like the '?', the '.', the ';' and the '='.


It's sad tho.  Try it with google reader, it works fine.  Also it will not work with MySpace and Friendster ;)  But will work with groovenet.ph/Laibcoms :p



Thanks for the help!  I love my Feedreader and it's the only reader I use.  If I can't get it to work with the reader I use, then I probably won't use this mod.  No offense to the mod, I really wish I could use it.

Well, don't you want your forum members to take benefit of the your Feeds?  I mean, if you will remove the mod just because you can't use it yourself, it appears now that you are the only one in your SMF forum ;)  You know what I mean? ^_^

Title: Re: RSS Feed Icon for boards
Post by: [tiktaktok] on December 21, 2006, 12:24:38 AM
Display of emails within feed - only occurs when you enable display of email or disable it and access your own topic feeds.
So np about this :p

Sidenote - mozilla and iexplorer have trouble displaying the feed (as other reported here allready).
Works very good with opera.com

Cheers
Title: Re: RSS Feed Icon for boards
Post by: Laibeus Lord on December 21, 2006, 05:57:22 AM
I think everyone should update to Firefox 2 up (or its mozilla counterpart) and IE7.  Tested it under FF2 and IE7 and the two browsers render all feeds correctly - rss, rss2, atom - with the =rss part intact (ie, it doesn't download a file as others have reported).

Since I don't have FF1.x and IE6 anymore, it is safe to assume that the "file downloading" issue only occurs from the old versions of the two browsers mentioned, and I can attest that I did encounter some feeds like that, but not with FF2 and IE7.

Just a suggestion to those getting the "file download" thing.  In my opinion, it is better to leave the =rss2 or =rss or =atom part intact.  And right now, I strongly suggest you switch to rss2 ;)  Maybe in a year or two, atom will be at par with rss2 then we switch to atom :p

Title: Re: RSS Feed Icon for boards
Post by: Stasmi on December 21, 2006, 09:18:16 AM
Its with FeedReader.
There are feed reader services and applications out there that are too strict when it comes to detecting which is a valid feed link/URL and which isn't.

In this case:
Code: [Select]
http://boards.laibcoms.com/index.php?action=.xml;board=1;type=rss2

FeedReader do not like either one or all of the extra stuff in the URL like the '?', the '.', the ';' and the '='.


It's sad tho.  Try it with google reader, it works fine.  Also it will not work with MySpace and Friendster ;)  But will work with groovenet.ph/Laibcoms :p



Thanks for the help!  I love my Feedreader and it's the only reader I use.  If I can't get it to work with the reader I use, then I probably won't use this mod.  No offense to the mod, I really wish I could use it.

Well, don't you want your forum members to take benefit of the your Feeds?  I mean, if you will remove the mod just because you can't use it yourself, it appears now that you are the only one in your SMF forum ;)  You know what I mean? ^_^



I know what you mean, but I know already that people who are visiting my forum are not the most 'savvy' of Internet users.  I don't want to have something on the forum that isn't going to work for everyone.  I think it will just add confusion.  As I said, no offense to the mod.  I really wish I could use it, but I just don't think that if I can get it to work with what I like to use, then I can't expect my visitors to try to fumble their way through either.  I will certainly continue to watch this mod and see if I can use it in the future.  I love feeds. :)
Title: Re: RSS Feed Icon for boards
Post by: Laibeus Lord on December 22, 2006, 01:08:11 PM
Well, you got a point.  A mod that won't be used by the a reasonable percentage of your community is as good as not installing.

I think one way to overcome the problem, as was mentioned earlier, is the use of Rewrite_mod via .htaccess, though I haven't ventured deeper into that yet so I might not be able to give a sample at this point in time.  If I get a time, especially if the need arises on my end, I'll surely share it here.

The second option is for SMF to also include FEED (rss, rss2, atom) links to the readable URL feature of the board.  When I was doing some experiments, I noticed that the feature is actually built-in already with SMF1.1.x, so all that this MOD did is to provide a Feed Icon besides each every forum and sub-forum, and to add support per forum.  The feed feature is already there.  ^_^

Well, the Feed Community believes that 2007 will be the year where Feeds will be mainstream, so sooner or later, SMF will give full support or be left behind by other PHP-based BBSes.  ^_^

Title: Re: RSS Feed Icon for boards
Post by: howlerckc on December 22, 2006, 02:30:21 PM
I have added to the Feeds Mod Buttons for My Yahoo, and Google Home Page.  When they click the link it auto adds the feed to their Yahoo Home Page or Google Home Page.

Also it helps in having the SE's go to your Forum more often.
Title: Re: RSS Feed Icon for boards
Post by: doctoreast on January 08, 2007, 04:45:56 PM
Hi,
  Can someone tell me what to do to get this to work.
I click on the icons and get a download index file with no
file extension.  Also, how would I set the main content of
my website for an rss feed, namely the main page?
Plz and thks,
East
Title: Re: RSS Feed Icon for boards
Post by: Skunkie on January 10, 2007, 12:58:32 AM
doctoreast, you need to have an RSS reader installed.  You can try FeedReader (http://www.feedreader.com/), it is a nice free RSS reader for Windows.


vbgamer45, I already thanked you for your SMF Archive mod, so I feel a little funny thanking you again here.  But good work needs to be recognized.  So once again great work!  All the best.
Title: Re: RSS Feed Icon for boards
Post by: doctoreast on January 10, 2007, 09:25:42 AM
Skunkie,
  Since the majority of visitors are IE/Gates; this means that
the RSS icons mod isn't a real plus, is incomplete, until there
is a feedreader with it. 
east
Title: Re: RSS Feed Icon for boards
Post by: n1kki6 on January 10, 2007, 10:13:30 PM
Great mod, one question.  I accidently clicked remember this setting or whatever and now if i click the feed it always brings me to my.yahoo.com.  Can i get it set back to default.  I cleared my cookies and it didn't change.
Title: Re: RSS Feed Icon for boards
Post by: sparky33 on January 11, 2007, 01:51:18 AM
How do I get this to work with Babylon theme?
Title: Re: RSS Feed Icon for boards
Post by: Tanks on January 11, 2007, 09:08:42 AM
thanks for this  ;) very useful

Sparky you have to manual modify your templates boardindex.template.php and messageindex.template.php files.. its not very hard.. backup before modifying !

search for
Code: [Select]
', $board['name'], '</a></b>

ad before
Code: [Select]
&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a>

and remeber to add a rss.png icon to your templates image folder  8)
Title: Re: RSS Feed Icon for boards
Post by: sparky33 on January 11, 2007, 09:26:48 AM
Already done it after I asked, managed to work it out, only thing is, when I click on an icon, it downloads the index.php?
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on January 11, 2007, 10:01:15 AM
Already done it after I asked, managed to work it out, only thing is, when I click on an icon, it downloads the index.php?
That is currently how SMF does feeds at the moment.
Title: Re: RSS Feed Icon for boards
Post by: chep on January 11, 2007, 08:05:45 PM
http://mysite.com/smf/index.php?action=.xml;type=rss

Hello I think this would create and overall board feed. No?

I tried it and put it in my "News" rotation

http://www.chep-net.com/smf/index.php
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on January 11, 2007, 08:07:32 PM
Yes it would.
Title: Re: RSS Feed Icon for boards
Post by: chep on January 11, 2007, 08:20:58 PM
So a technical question...

If I offer a feed and a user subscribes to it; is the feed cached somewhere so that any arbitrary program does not flood my site\database with http gets every 10 seconds?
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on January 11, 2007, 08:26:00 PM
I might be sort off cached
Code: [Select]
// Get the associative array representing the xml.
if ($user_info['is_guest'] && !empty($modSettings['cache_enable']) && $modSettings['cache_enable'] >= 2)
$xml = cache_get_data('xmlfeed-' . $xml_format . ':' . md5(serialize($_GET)), 240);
if (empty($xml))
{
$xml = $subActions[$_GET['sa']][0]($xml_format);

if ($user_info['is_guest'] && !empty($modSettings['cache_enable']) && $modSettings['cache_enable'] >= 2)
cache_put_data('xmlfeed-' . $xml_format . ':' . md5(serialize($_GET)), $xml, 240);
}
Title: Re: RSS Feed Icon for boards
Post by: chep on January 11, 2007, 08:29:06 PM
I suppose I will have to go read what cache_put_data does.
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on January 11, 2007, 08:30:50 PM
It doesn't look like the feed itself is cached I took a quick look at it.
Title: Re: RSS Feed Icon for boards
Post by: chep on January 11, 2007, 08:39:50 PM
I suppose if anyone is malicious they could tank my board without a feed anyway. Unless I enforce stricter flood control.

Although having a cache might be a good idea to ease the load on the database.
Title: Re: RSS Feed Icon for boards
Post by: Tanks on January 13, 2007, 05:20:14 AM
http://mysite.com/index.php?action=.xml;type=rss

That wont work.. that was the reason my rss didnt work on most readers..

You have to go to server settings and change the URL for your site to http://www

After doin this your rss feeds will work fine

http://www.mysite.com/index.php?action=.xml;type=rss

Will work fine..

Hope this helps for some - That was the problem i had !
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on January 13, 2007, 11:26:36 AM
That's strange I would why in the world it would require www
Title: Re: RSS Feed Icon for boards
Post by: Tanks on January 14, 2007, 01:52:03 AM
That's strange I would why in the world it would require www

I dont know.. but i seen this problem a few times now..

If you dont use www.. it looks like its working because you can open the feed in your browser.. but when you put the feed into a RSS reader you get "No feed found at this URL"

When you add the www it seems to work perfect.. dont ask me why LoL

Even if your site works fine without www the feed wont work without it :-s
Title: Re: RSS Feed Icon for boards
Post by: dsanchez on January 19, 2007, 08:36:21 AM
Hello, this mod looks interesting but actually I would just love a single RSS icon in the bottom of my page that show the latest post. This mod is able to do this?

Title: Re: RSS Feed Icon for boards
Post by: zoki on February 01, 2007, 01:41:34 PM
I installed this mod but cannot see it anywhere. It just says it is installled. I am using different theme than default theme...  
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on February 01, 2007, 02:15:27 PM
Mods only installs on the default theme.
Title: Re: RSS Feed Icon for boards
Post by: genesteinberg on February 04, 2007, 07:00:06 PM
Mods only installs on the default theme.

And what's the good of that? Too many of these mods can't be extended to themes other than the default -- which means they can't be used. Thanks for nothing :(

Or can anyone suggest how I would adapt it to another theme?

Peace,
Gene
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on February 04, 2007, 07:07:05 PM
All mods that makes changes to a theme only install on the default theme since themes can have different coding the package manager would have no way to install it on them.
You can install mods maunally.
http://docs.simplemachines.org/index.php?topic=402
 
Title: Re: RSS Feed Icon for boards
Post by: genesteinberg on February 04, 2007, 07:22:21 PM
All mods that makes changes to a theme only install on the default theme since themes can have different coding the package manager would have no way to install it on them.
You can install mods maunally.
http://docs.simplemachines.org/index.php?topic=402
 

All right, this is greek to me. My Webmaster is on hiatus, so I need better guidance.

I'm using the Classic YaBB SE Theme. So where do I put what to make this work?

Step by steps will help.

Peace,
Gene
Title: Re: RSS Feed Icon for boards
Post by: genesteinberg on February 05, 2007, 05:31:39 PM
Isn't there anyone willing to help?

It'll probably take the PHP-experts amongst you five minutes to do this, and me five years :)

Peace,
Gene
Title: Re: RSS Feed Icon for boards
Post by: Sven0 on February 05, 2007, 05:57:11 PM
is it possible to feed only the first message of each thread in a news forum...?
Title: Re: RSS Feed Icon for boards
Post by: Tanks on February 06, 2007, 01:15:58 AM
Reply for Gene Steinberg, i am no php coder but i think i can help you:

In file Themes/[your theme]/BoardIndex.template.php
Find:

Code: [Select]
', $board['name'], '</a></b>Add after:
Code: [Select]

&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a>




In file Themes/[your theme]/MessageIndex.template.php
Find:

Code: [Select]
', $board['name'], '</a></b>
Add after:
Code: [Select]

&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a>


You can use vbgamers very nice tool to find out this: http://server.daniel15.com/smf/package.php

Good luck  ;)
Title: Re: RSS Feed Icon for boards
Post by: genesteinberg on February 06, 2007, 02:59:37 AM
Reply for Gene Steinberg, i am no php coder but i think i can help you:

In file Themes/[your theme]/BoardIndex.template.php
Find:

Code: [Select]
', $board['name'], '</a></b>Add after:
Code: [Select]

&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a>




In file Themes/[your theme]/MessageIndex.template.php
Find:

Code: [Select]
', $board['name'], '</a></b>
Add after:
Code: [Select]

&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a>


You can use vbgamers very nice tool to find out this: http://server.daniel15.com/smf/package.php

Good luck  ;)

I appreciate your advice. I'm using the Classic YaBB SE Theme, and I checked the classic/BoardIndex.template.php file and DID NOT find the first string. So I'm stuck unless someone can help me move beyond this.

Peace,
Gene
Title: Re: RSS Feed Icon for boards
Post by: Tanks on February 06, 2007, 02:08:58 PM
i am not 100% so please do a backup of your boardindex.template.php file

This is a reply for Gene Steinberg using the classic theme

add the code right after this code (before the <br /> tag)

Code: [Select]
<b>', $board['link'], '</b>
Title: Re: RSS Feed Icon for boards
Post by: genesteinberg on February 06, 2007, 02:27:18 PM
i am not 100% so please do a backup of your boardindex.template.php file

This is a reply for Gene Steinberg using the classic theme

add the code right after this code (before the <br /> tag)

Code: [Select]
<b>', $board['link'], '</b>


Now we're getting somewhere. This works.

Now is there a way to make one global RSS tag that covers the entire forum?

Peace,
Gene
Title: Re: RSS Feed Icon for boards
Post by: chep on February 06, 2007, 10:13:44 PM
Quote
Now is there a way to make one global RSS tag that covers the entire forum?

I put one in my "news"

Like this http://www.site.com/smf/index.php?action=.xml;type=rss;limit=20

Title: Re: RSS Feed Icon for boards
Post by: genesteinberg on February 06, 2007, 10:18:37 PM
Quote
Now is there a way to make one global RSS tag that covers the entire forum?

I put one in my "news"

Like this http://www.site.com/smf/index.php?action=.xml;type=rss;limit=20


There is another thread I was on which mentioned that if you don't use www. then it sometimes does not work..

OK, wonderful, but can you deliver an icon on the board that contains that link, say on the main board name or something?

Peace,
Gene
Title: Re: RSS Feed Icon for boards
Post by: chep on February 06, 2007, 10:24:31 PM
 ???
I don't understand exactly what you mean. It's not specific to any board. Just as you asked. If you want to
put some html and reference an image then try something like this:

Code: [Select]
<a href="http://www.site.com/smf/index.php?action=.xml;type=rss;limit=20"><img src="http://www.site.com/smf/Themes/default/images/rss.png" alt="feed" />&nbsp;Forum Feed</a>

Of course replacing the appropriate theme directory if necessary....
Title: Re: RSS Feed Icon for boards
Post by: genesteinberg on February 06, 2007, 10:27:54 PM
???
I don't understand exactly what you mean. It's not specific to any board. Just as you asked. If you want to
put some html and reference an image then try something like this:

Code: [Select]
<a href="http://www.site.com/smf/index.php?action=.xml;type=rss;limit=20"><img src="http://www.site.com/smf/Themes/default/images/rss.png" alt="feed" />&nbsp;Forum Feed</a>

Of course replacing the appropriate theme directory if necessary....

OK, right now at techbroadcasting.com/smf, I have a separate RSS feed for each board.

What I'd also like to do is have one, along with the icon, for the entire forum. Make sense now?

Take a look at the board and you'll see what I'm getting at.

Peace,
Gene
Title: Re: RSS Feed Icon for boards
Post by: chep on February 06, 2007, 10:31:13 PM
Well I think I just supplied you with the info you need. It's up to you to decide where you want it.

http://techbroadcasting.com/smf/index.php?action=.xml;type=rss;limit=25
Title: Re: RSS Feed Icon for boards
Post by: genesteinberg on February 06, 2007, 10:40:14 PM
Well I think I just supplied you with the info you need. It's up to you to decide where you want it.

http://techbroadcasting.com/smf/index.php?action=.xml;type=rss;limit=25


Check out this thread too --> http://www.simplemachines.org/community/index.php?topic=100074.msg943803#msg943803

OK, I'm not a PHP-type programmer, so I'd need to know where in the board templates to put this to have it appear, for example, the main title of the board, the navigation icons at the top, or whatever :)

My Webmaster right now is on hiatus so I'm struggling through this myself.

Peace,
Gene
Title: Re: RSS Feed Icon for boards
Post by: chep on February 06, 2007, 10:44:42 PM
If you put it in with the navigation icons it will look out of place. IMHO.

I am busy with kids but can reply later or send pm...
Title: Re: RSS Feed Icon for boards
Post by: genesteinberg on February 06, 2007, 10:56:58 PM
If you put it in with the navigation icons it will look out of place. IMHO.

I am busy with kids but can reply later or send pm...

Exactly. Replace the individual icons with just one, which covers it all :)

Peace,
Gene
Title: Re: RSS Feed Icon for boards
Post by: chep on February 06, 2007, 11:16:38 PM
Can you send me a copy of your index.template.php

I don't know what theme you are using...
Title: Re: RSS Feed Icon for boards
Post by: genesteinberg on February 06, 2007, 11:29:14 PM
Can you send me a copy of your index.template.php

I don't know what theme you are using...

I'll make it simple.

It's the standard Classic YaBB SE Theme, the one it ships with.

So I suppose any unaltered copy would be sufficient :)

Peace,
Gene
Title: Re: RSS Feed Icon for boards
Post by: chep on February 06, 2007, 11:46:01 PM
Try this - tested briefly  on my board... As I mentioned - I think it is a poor choice to place it there because it looks out of place. But if you changed it to another icon it might look better... I like it in the news section instead... Mostly because it is much easier to implement and edit there.


Look for this:
Code: [Select]
// If the user is a guest, show [login] and [register] buttons.
if ($context['user']['is_guest'])
{
echo '
<a href="', $scripturl, '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login.gif" alt="' . $txt[34] . '" border="0" />' : $txt[34]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register.gif" alt="' . $txt[97] . '" border="0" />' : $txt[97]), '</a>';
}
// Otherwise, they might want to [logout]...
else
echo '
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" border="0" />' : $txt[108]), '</a>';

Replace it with this:
Code: [Select]
// If the user is a guest, show [login] and [register] buttons.
if ($context['user']['is_guest'])
{
echo '
<a href="', $scripturl, '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login.gif" alt="' . $txt[34] . '" border="0" />' : $txt[34]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register.gif" alt="' . $txt[97] . '" border="0" />' : $txt[97]), '</a>
<a href="', $scripturl, '?action=.xml;type=rss;limit=25">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/rss.png" alt="' . 'Rss' . '" border="0" />' : 'Rss'), '</a>';
}
// Otherwise, they might want to [logout]...
else
echo '
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" border="0" />' : $txt[108]), '</a>
<a href="', $scripturl, '?action=.xml;type=rss;limit=25">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/rss.png" alt="' . 'Rss' . '" border="0" />' : 'Rss'), '</a>';
Title: Re: RSS Feed Icon for boards
Post by: genesteinberg on February 07, 2007, 02:03:52 AM
Try this - tested briefly  on my board... As I mentioned - I think it is a poor choice to place it there because it looks out of place. But if you changed it to another icon it might look better... I like it in the news section instead... Mostly because it is much easier to implement and edit there.


Well, it doesn't seem to find the rss.png file, which is in the proper location. Am I missing something here?

Peace,
Gene
Title: Re: RSS Feed Icon for boards
Post by: chep on February 07, 2007, 03:55:21 AM
You'll have to be more specific. I cannot troubleshoot something for you otherwise. A location to where it "thinks the image is" would be a start. Otherwise it's just a vague description...

At any rate finding where it he image is should be a trivial move for you to overcome. You can just either copy it to the location where it isn't or make a small edit to the code... 

My psychic powers suggest that the languages folder [english] is the culprit.
Code: [Select]
. $context['user']['language']That means I would try this (which basically removes the language folder from the equation):

Code: [Select]
// If the user is a guest, show [login] and [register] buttons.
if ($context['user']['is_guest'])
{
echo '
<a href="', $scripturl, '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login.gif" alt="' . $txt[34] . '" border="0" />' : $txt[34]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register.gif" alt="' . $txt[97] . '" border="0" />' : $txt[97]), '</a>
<a href="', $scripturl, '?action=.xml;type=rss;limit=25">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/rss.png" alt="' . 'Rss' . '" border="0" />' : 'Rss'), '</a>';
}
// Otherwise, they might want to [logout]...
else
echo '
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" border="0" />' : $txt[108]), '</a>
<a href="', $scripturl, '?action=.xml;type=rss;limit=25">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/rss.png" alt="' . 'Rss' . '" border="0" />' : 'Rss'), '</a>';
Title: Re: RSS Feed Icon for boards
Post by: genesteinberg on February 07, 2007, 09:16:41 AM
You'll have to be more specific. I cannot troubleshoot something for you otherwise. A location to where it "thinks the image is" would be a start. Otherwise it's just a vague description...

At any rate finding where it he image is should be a trivial move for you to overcome. You can just either copy it to the location where it isn't or make a small edit to the code... 

My psychic powers suggest that the languages folder [english] is the culprit.

It was in the images folder, but what you did fixed it.

Thanks for all the effort. I do appreciate it.

Check www.techbroadcasting.com/smf for the result.

Peace,
Gene
Title: Re: RSS Feed Icon for boards
Post by: chep on February 07, 2007, 01:01:42 PM
Cool.

I noticed there was a button generator. The generator is missing the RSS feed icon. However maybe you can contact the web page owner and see if it isn't too much of an inconvenience to add one for you. A bonafide button would make it look good.

http://www.yabb.nl/buttongenerator/generator19/index.php
Title: Re: RSS Feed Icon for boards
Post by: genesteinberg on February 07, 2007, 01:09:14 PM
Cool.

I noticed there was a button generator. The generator is missing the RSS feed icon. However maybe you can contact the web page owner and see if it isn't too much of an inconvenience to add one for you. A bonafide button would make it look good.

http://www.yabb.nl/buttongenerator/generator19/index.php

Wonderful. I wrote to the owner and asked for that button :)

Thanks again for all the help.
 
Title: Re: RSS Feed Icon for boards
Post by: chep on February 09, 2007, 03:04:28 AM
Looks like you got it (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.yabb.nl%2Fbuttongenerator%2Fgenerator19%2Fpics%2Frss.gif&hash=ebefce63f1417981364e9898311aa5ca)
Title: Re: RSS Feed Icon for boards
Post by: genesteinberg on February 09, 2007, 03:09:41 AM
Looks like you got it (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.yabb.nl%2Fbuttongenerator%2Fgenerator19%2Fpics%2Frss.gif&hash=ebefce63f1417981364e9898311aa5ca)

Yes, it worked. He can't duplicate it exactly, but we came close.
 
Title: Re: RSS Feed Icon for boards
Post by: Daniel15 on February 11, 2007, 03:02:00 AM
Quote
You can use vbgamers very nice tool to find out this: http://server.daniel15.com/smf/package.php
That's not vbgamers' tool - Look at the domain it's on, and guess who wrote it :D
Title: Re: RSS Feed Icon for boards
Post by: Tanks on February 11, 2007, 11:34:12 AM
Quote
You can use vbgamers very nice tool to find out this: http://server.daniel15.com/smf/package.php
That's not vbgamers' tool - Look at the domain it's on, and guess who wrote it :D

Woops, sorry dude - it is a nice tool you created. I just got confused about the names ;)
Title: Re: RSS Feed Icon for boards
Post by: chep on February 11, 2007, 06:11:06 PM
I just wanted to mention Feedburner. http://www.feedburner.com/fb/a/home

I have a small limit of how many SQL queries my service will allow in a day. Therefore I would like to take advantage of feedburner. I moved my blog over to it and redirection of board feeds might not be a bad idea too in this case. I have not tried it yet for board feeds but I don't see any reason it would not work. What I have happening is that some people have email clients fetching the feeds every 2 minutes, 24hrs a day. It must be their work computers or something.

Anyway that's all...
Title: Re: RSS Feed Icon for boards
Post by: spiros on February 12, 2007, 07:06:17 PM
I had RC3 and the Babylon theme, and although the mod said that it was installed happily, it did not work and had to modify code manually.


By the way, it would be great if you could also add rss icons for each topic, so someone could follow ONLY a specific topic if they want so.
Title: Re: RSS Feed Icon for boards
Post by: sparky33 on February 12, 2007, 08:02:41 PM
That's how mine works, take a look at my site, and you have to modify all themes except for the default for it to work (it's just one line of code in the board index template and the message index template)
Title: Re: RSS Feed Icon for boards
Post by: spiros on February 12, 2007, 08:57:37 PM
You mean your site http://www.coupe-club.org.uk?
And it works how exactly? I see no feed icons on boards and not on topics either.
Title: Re: RSS Feed Icon for boards
Post by: sparky33 on February 12, 2007, 09:25:36 PM
Take another look, I had changed themes and forgot to add the code.

I've noticed it follows boards as apposed to topics.
Title: Re: RSS Feed Icon for boards
Post by: spiros on February 13, 2007, 04:05:22 AM
I see, but this is standard functionality; I was inquiring about rss for topics.
Title: How to create feed for engtire Category (not board)?
Post by: ehansen on April 10, 2007, 11:00:02 AM
I'm using feed.zip package (very nice), but I'd like to enable feeds for each Category (group of boards).  Is this possible?  If so, how?

thanks!
Title: Re: RSS Feed Icon for boards
Post by: jorgejorge on May 23, 2007, 12:17:45 PM
I have the 4 documents in my computer, what I have to do to set up it in my forum??

Thank you.
Title: Re: RSS Feed Icon for boards
Post by: manudevil on June 01, 2007, 07:49:42 AM
Don't unzip the package. Go to your boad, in the Admin section. There is a way to upload zipped packages. Very user-friendly. :)
Title: Re: RSS Feed Icon for boards
Post by: cappadonna on June 24, 2007, 04:00:46 PM
Hi great mod. Was wondering. I have a main site that i would like certain topics to feed too. Have it show the posts name and then so many characters say 25 then they click to read the full thing in the forum.  I am using a wordpress mod that you plug in rss feeds and it makes posts. Your feeds work great with the wordpress mod but of course it also feeds the comments too. So it ends up making more and more posts just based on comments. I know this isnt your fault but wondered if you know away I can just feed the first post in these topics. If anyone has any ideas I would really apperciate it, thankyou.
Title: Re: RSS Feed Icon for boards
Post by: clubbuilder on September 05, 2007, 11:59:36 AM
Question, about RSS Showing emails:

In a previous post, you state to hide emails in the rss feed, to disable email. I have successfully done that for a guest, but don't know which button to check for a normal user. Under Admin>Permissions>Regular Members in the General Area I have: Send user email disabled. Yet the emails still show to regular members in the rss feed.

Do you know which setting will turn this off. As you know posting peoples emails through the rss feed is not a good idea. Please help me with this issue if you have some time.
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on September 05, 2007, 11:10:33 PM
That's a general SMF questoin. But it will show the email if the logged in user has permission to view the emails.
Title: Re: RSS Feed Icon for boards
Post by: bigjdunham on September 18, 2007, 07:46:59 PM
I second the idea for RSS for Topics.  I would find it extremely useful to have my users be able to follow only specific topics if they would like.
Title: Re: RSS Feed Icon for boards
Post by: GazOutEast on November 03, 2007, 01:39:22 PM
Hi I've got it in SMF 1.1.4 and done the remove "type=rss" hack so the url now shows me an xml list properly in the browser.
However, when I try to use that url for a WordPress sidebar rss widget, it tells me no such rss feed can be found at that url
- is this because the feed is xml?  I didn't think that mattered, because the rss feeds I'm running into SMF via FeedPoster are all xml url's
Really stumped now because I have 2 board that I really wanted to use for sidebar teasers in the blog to pull people into the forums (mainly because the WordPress SEO mod genuinely works whereas all the SMF ones just trash my forum).
I've tried using the url in WordPress with & without the type=rss, and have even tried switching roung the index.php and action=xml (that had an interesting effect - try it some time in a blank browser window  ;))
Anyone got any clues?
Gaz
Title: Re: RSS Feed Icon for boards
Post by: Aileen on November 28, 2007, 05:38:52 AM
Installation went well, but icons not showing on a dilber theme. Would it be easy to have it shown. thanks
Title: Re: RSS Feed Icon for boards
Post by: TrueSatan on November 28, 2007, 05:44:46 AM
Please consider not using themes that you appear to be unable to edit for yourself. Dilber MC in particular tends to be a problem for inexperienced users and I've already given you details of the SMF documantation regarding editing mods into themes in other replies.
Title: Re: RSS Feed Icon for boards
Post by: taurean on November 28, 2007, 06:10:07 AM
Hi,

is this link Ok with a particular board of my site?

http://mysite.com/smf/index.php?action=.xml;board=38;type=rss

As i have many boards can i submit all those board feeds as RSS. pls help
Title: Re: RSS Feed Icon for boards
Post by: Aileen on November 28, 2007, 06:56:00 AM
Please consider not using themes that you appear to be unable to edit for yourself. Dilber MC in particular tends to be a problem for inexperienced users and I've already given you details of the SMF documantation regarding editing mods into themes in other replies.
SO it would be difficult. Sorry for this dumb question since I am new to all of this
Title: Re: RSS Feed Icon for boards
Post by: TrueSatan on November 28, 2007, 08:25:45 AM
Difficulty depends on level of experience and ability...you can answer this for yourself better than I can
Title: Re: RSS Feed Icon for boards
Post by: mariolone on December 30, 2007, 10:24:03 AM
Hello,

I have installed this mod but I noted a problem.

I use SMF 1.1.4. and Mozilla Firefox as browser. First I made the login process and then tried to subscribe to a board feed in my forum. All ok (Mozilla asked me to add this feed to bookmarks) and after I made logout.

After few minutes, I came back to my forum and, after the login, Mozilla asked me if I would like to subscribe to a feed of my forum (that I have not selected before!) and, if I accepted, the page remained blank.
I noted that this happens only at the first login AFTER the one in which I subscribed to a feed in my forum. In fact, after the first login, all became ok and the forum works as usual.

Is it an error of the Mod? How to solve it? I am very interested in this feed and it should be usuful for me, but with this error is useless.

Thanks

Roberto
Title: Re: RSS Feed Icon for boards
Post by: blackstar on January 10, 2008, 06:02:17 PM
Code: [Select]
Warning: set_time_limit(): Cannot set time limit in safe mode in /var/www/vhosts/web.com/httpdocs/oyunlar.php on line 73
?
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on January 10, 2008, 09:58:22 PM
Code: [Select]
Warning: set_time_limit(): Cannot set time limit in safe mode in /var/www/vhosts/web.com/httpdocs/oyunlar.php on line 73
?

That's not coming fromt his mod.
Title: Re: RSS Feed Icon for boards
Post by: blackstar on January 11, 2008, 04:28:34 PM
Code: [Select]
<?php 
 
/* PHP RSS Reader v1.1 
 
By Richard James Kendall  
 
Bugs to richard@richardjameskendall.com  
 
Free to use, please acknowledge me  
 
 
 
Place the URL of an RSS feed in the $file variable. 
 
 
 
The $rss_channel array will be filled with data from the feed, 
 
every RSS feed is different by by and large it should contain: 
 
 
 
Array { 
 
[TITLE] = feed title 
 
[DESCRIPTION] = feed description 
 
[LINK] = link to their website 
 
 
 
[IMAGE] = Array { 
 
[URL] = url of image 
 
[DESCRIPTION] = alt text of image 
 

 
 
 
[ITEMS] = Array { 
 
[0] = Array { 
 
[TITLE] = item title 
 
[DESCRIPTION] = item description 
 
[LINK = a link to the story 
 

 

 

 

 

 

 
 
 
By default it retrives the Reuters Oddly Enough RSS feed. The data is put into the array 
 
structure so you can format the information as you see fit. 
 
*/ 
 
set_time_limit(30); 
 
$file "http://www.sitem.com/form/index.php?action=.xml;type=rss;limit=30"
 
$rss_channel = array(); 
$currently_writing ""
 
$main ""
 
$item_counter 0
 
function 
startElement($parser$name$attrs) { 
 
global 
$rss_channel$currently_writing$main
 
switch(
$name) { 
 
case 
"RSS"
 
case 
"RDF:RDF"
 
case 
"ITEMS"
 
$currently_writing ""
 
break; 
 
case 
"CHANNEL"
 
$main "CHANNEL"
 
break; 
 
case 
"IMAGE"
 
$main "IMAGE"
 
$rss_channel["IMAGE"] = array(); 
 
break; 
 
case 
"ITEM"
 
$main "ITEMS"
 
break; 
 
default: 
 
$currently_writing $name
 
break; 
 

 

 
function 
endElement($parser$name) { 
 
global 
$rss_channel$currently_writing$item_counter
 
$currently_writing ""
 
if (
$name == "ITEM") { 
 
$item_counter++; 
 

 

 
function 
characterData($parser$data) { 
 
global 
$rss_channel$currently_writing$main$item_counter
 
if (
$currently_writing != "") { 
 
switch(
$main) { 
 
case 
"CHANNEL"
 
if (isset(
$rss_channel[$currently_writing])) { 
 
$rss_channel[$currently_writing] .= $data
 
} else { 
 
$rss_channel[$currently_writing] = $data
 

 
break; 
 
case 
"IMAGE"
 
if (isset(
$rss_channel[$main][$currently_writing])) { 
 
$rss_channel[$main][$currently_writing] .= $data
 
} else { 
 
$rss_channel[$main][$currently_writing] = $data
 

 
break; 
 
case 
"ITEMS"
 
if (isset(
$rss_channel[$main][$item_counter][$currently_writing])) { 
 
$rss_channel[$main][$item_counter][$currently_writing] .= $data
 
} else { 
 
//print ("rss_channel[$main][$item_counter][$currently_writing] = $data<br>"); 
 
$rss_channel[$main][$item_counter][$currently_writing] = $data
 

 
break; 
 

 

 

 
$xml_parser xml_parser_create(); 
 
xml_set_element_handler($xml_parser"startElement""endElement"); 
 
xml_set_character_data_handler($xml_parser"characterData"); 
 
if (!(
$fp fopen($file"r"))) { 
 
die(
"could not open XML input"); 
 

 
while (
$data fread($fp4096)) { 
 
if (!
xml_parse($xml_parser$datafeof($fp))) { 
 
die(
sprintf("XML error: %s at line %d"
 
xml_error_string(xml_get_error_code($xml_parser)),   
 
xml_get_current_line_number($xml_parser))); 
 

 

 
xml_parser_free($xml_parser); 
 
// output as HTML 
 
print ("<html><head><title>PHP RSS Reader</title></head><body>"); 
 
if (isset(
$rss_channel["IMAGE"])) { 
 
print (
"<a href=\"" $rss_channel["LINK"] . "\" target=\"_blank\"><img border=\"0\" src=\"" $rss_channel["IMAGE"]["URL"] . "\" align=\"middle\" alt=\"" $rss_channel["IMAGE"]["TITLE"] . "\"></a>  <font size=\"5\">" $rss_channel["TITLE"] . "</font><br><br>"); 
 
} else { 
 
print (
"<font size=\"5\">" $rss_channel["TITLE"] . "</font><br><br>"); 
 

 
print (
"<i>" $rss_channel["DESCRIPTION"] . "</i><br><br>"); 
 
if (isset(
$rss_channel["ITEMS"])) { 
 
if (
count($rss_channel["ITEMS"]) > 0) { 
 
for(
$i 0;$i count($rss_channel["ITEMS"]);$i++) { 
 
print (
"\n<table width=\"100%\" border=\"1\"><tr><td width=\"100%\"><a href=\"" $rss_channel["ITEMS"][$i]["LINK"] . "\" target=\"_blank\"><h2>" $rss_channel["ITEMS"][$i]["TITLE"] . "</h2></a></b>"); 
 
print (
"<i>" html_entity_decode($rss_channel["ITEMS"][$i]["DESCRIPTION"]) . "</i>"); 
 
print (
"</td></tr></table><br>"); 
 

 
} else { 
 
print (
"<b>There are no articles in this feed.</b>"); 
 

 

 
print (
"</body></html>"); 
 
?>


problem

Code: [Select]
Warning: set_time_limit(): Cannot set time limit in safe mode in /var/www/vhosts/sitem.com/httpdocs/oyunlar.php on line 73

RSS Feed mod

help pls..
Title: Re: RSS Feed Icon for boards
Post by: TrueSatan on January 11, 2008, 04:57:31 PM
The code you have quoted has absolutely nothing to do with this mod!
Title: Re: RSS Feed Icon for boards
Post by: mwmconsulting on January 12, 2008, 04:09:58 PM
Hey vbgamer45,

Love this mod.  Thanks heaps!

I thought you might make one edition.  There needs to be an icon for the overall Recent Posts of the forum.  I added one myself manually as follows:

On line 265 of the /Themes/default/BoardIndex.template.php file:

Change this:

Code: [Select]
<td class="titlebg" colspan="2">', $txt[214], '</td>
To this:

Code: [Select]
<td class="titlebg" colspan="2">', $txt[214], '&nbsp;<a href="http://<SITEURL>/index.php?type=rss;action=.xml" target="_blank"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a></td>

Where <SITEURL> is the URL of your particular SMF website (i.e. www.myforum.com).

Just my thoughts...

Cheers!

- MWM
Title: Re: RSS Feed Icon for boards
Post by: mariolone on January 13, 2008, 03:52:51 PM
Hello,

I installed your great Mod and it works great.

I copied and pasted an RSS link to one website of mines to see how the Mod works.

I would like to control which part of the content visible on the website where I attached the RSS code. At this moment, 6-7 rows of the RSS link are visible on the website with my RSS feed: how to control them (for example to display on one website only the board title)?

Which file or code have I to modify? How?

Thank you
Title: Re: RSS Feed Icon for boards
Post by: videoed on February 12, 2008, 06:47:35 PM
Simple, but effective. Thanks! :D
Title: Re: RSS Feed Icon for boards
Post by: ACE844 on February 18, 2008, 07:54:17 PM
Hello, I have a board with SMF114, TP.09X and using the 'classic' theme installed. I added the following mod : http://custom.simplemachines.org/mods/index.php?mod=376

to the board, and the install went without any displayed errors. I t seems though  that the 'child boards' aren't being updated  on the individual boards RSS feed but posts in them do appear in the 'MAIN-Forum' RSS-XML feed.

Could someone please help me to get this functionality enabled for the'child boards' so that it both updates, and allows an individual to subscribe to that 'child board' much like the mod allows for the main ones?

I'm not sure if it will help but here is the XML code from the mod

Code: [Select]
<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>vbgamer45:FeedIcon</id>
<version>1.1</version>


<file name="$themedir/BoardIndex.template.php">
    <operation>
        <search position="before"><![CDATA[', $board['name'], '[/url]]]></search>
        <add><![CDATA[&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" />[/url]]]></add>

    </operation>
</file>
<file name="$themedir/MessageIndex.template.php">
    <operation>
        <search position="before"><![CDATA[', $board['name'], '[/url]]]></search>
        <add><![CDATA[&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" />[/url]]]></add>

    </operation>
</file>

</modification>

Thanks in advance for your help,
ACE844
Title: Re: RSS Feed Icon for boards
Post by: No.Body on February 18, 2008, 08:39:33 PM
THis one this great. Sad though that it shows only when im using the default theme.

Anyone knows how to put it in theme " Black22 " ?
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on February 18, 2008, 08:44:42 PM
For the last two posts you have to do a manual install
http://www.smfhacks.com/smf-package-parser.html
Title: Re: RSS Feed Icon for boards
Post by: ACE844 on February 18, 2008, 08:54:06 PM
I actually did install it manually, but it doesn't seem to show the feed for the child board on it's associated 'parent board feed'. It does however show up on the 'global-Forum feed'. I tried to add the code to the 'child board' in the same manner and it caused all sorts of errors. That is why I'm asking as this is outside of my expertise.
Title: Re: RSS Feed Icon for boards
Post by: No.Body on February 18, 2008, 09:11:00 PM
For the last two posts you have to do a manual install
http://www.smfhacks.com/smf-package-parser.html

Works perfectly! Thank you very much!
Title: Re: RSS Feed Icon for boards
Post by: ACE844 on February 18, 2008, 11:13:38 PM
VBGamer,

Do you have any suggestions on how to solve this issue?
Thanks,
ACE844
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on February 18, 2008, 11:22:13 PM
I would need to see the templates file for the custom them you are editing to look at the child boards code
Title: Re: RSS Feed Icon for boards
Post by: ACE844 on February 19, 2008, 09:25:41 AM
alright, just let me know which ones you need, just the board and message indicies, or are there others?.
Title: Re: RSS Feed Icon for boards
Post by: Kender on February 19, 2008, 11:16:09 AM
i installed this mod, works great from the go...

the only change i made was in the 2 edited files i moved the rss feed to the front of the forum name, instead of following the forum name.. to me more pleasing to look at that way
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on February 19, 2008, 09:04:50 PM
alright, just let me know which ones you need, just the board and message indicies, or are there others?.
I belive just boardindex.template.php and messageindex.template.php
Title: Re: RSS Feed Icon for boards
Post by: ACE844 on February 20, 2008, 10:18:20 AM
"VBgamer,"

Here they are as requested the message index template .php and board index template.php
Thanks for your help and assistance with this,
ACE844
Title: Re: RSS Feed Icon for boards
Post by: ACE844 on February 25, 2008, 03:39:32 PM
"VBGamer,"

Have you had any luck in finding a soution?
Title: Re: RSS Feed Icon for boards
Post by: Sincere on April 03, 2008, 09:29:11 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=376)

Adds a feed icon on the board index for each forum.

Version 1.1
Added support for child boards.

Place all bug reports and feature requests on this site:
http://www.smfhacks.com/index.php?action=modtracker

I congratulate you. It is an excellent mod. so simple and so efficient.

I only regret that it only installs to the default theme, and I had to manually look to find out what it changed and copy the changes to the used themes...

Title: Re: RSS Feed Icon for boards
Post by: denzil69 on April 13, 2008, 06:41:36 PM
this mod failed to install.

using default theme and version 1.1.4

error message:
\Themes\default/BoardIndex.template.php Test failed
\Themes\default/MessageIndex.template.php Test failed
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on April 13, 2008, 06:59:59 PM
I would try installing the mod manually.
Title: Re: RSS Feed Icon for boards
Post by: Sincere on April 13, 2008, 07:02:15 PM
this mod failed to install.

using default theme and version 1.1.4

error message:
\Themes\default/BoardIndex.template.php Test failed
\Themes\default/MessageIndex.template.php Test failed



surprising...... this went very smoothly for me..... I did not even need to do manual changes.....
Title: Re: RSS Feed Icon for boards
Post by: Sincere on April 15, 2008, 08:12:05 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=376)

Adds a feed icon on the board index for each forum.

Version 1.1
Added support for child boards.

Place all bug reports and feature requests on this site:
http://www.smfhacks.com/index.php?action=modtracker


Hello vbgamer

I am a big fan of this great mod. I would be very happy to see it updated for smf2.0.

Thank you in advance.


note: It is your very right not to give away for free any work you did, even as little as any one single line of code . You are fully entitled to sell this mod. If you do, I am your first customer.



Title: Re: RSS Feed Icon for boards
Post by: forummaker on May 01, 2008, 08:52:45 PM
Is there a way to rss select boards and not all of them? Not sure why someone would want to rss and admin board.
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on May 01, 2008, 08:54:54 PM
Not currently
Title: Re: RSS Feed Icon for boards
Post by: sorosh1 on May 10, 2008, 08:37:28 AM
Can someone maby help me? The mod works on default theme but I use Dilber Multicolor theme.
Can someone tell me where to manualy ad to see the mod working on Dilber Multicolor theme?!

Awesome mode by the way, i have only this problem...anybody?
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on May 10, 2008, 10:42:35 AM
Use the Package Parser found here
http://www.smfhacks.com/smf-package-parser.html
Title: Re: RSS Feed Icon for boards
Post by: sorosh1 on May 10, 2008, 09:16:07 PM
Thanks vbgamer45!
Title: Re: RSS Feed Icon for boards
Post by: MaXiForum.cz on June 08, 2008, 09:30:40 AM
Hi,
its working on 1.1.4 perfectly!
THX for child boards  ;D
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on June 08, 2008, 10:35:14 AM
Don't forget to upgrade to SMF 1.1.5
Title: Re: RSS Feed Icon for boards
Post by: MaXiForum.cz on June 08, 2008, 04:44:42 PM
Don't forget to upgrade to SMF 1.1.5

;) THX
Title: Re: RSS Feed Icon for boards
Post by: esp350z on June 19, 2008, 02:42:22 PM
anyone have this running for feeds from a gallery mod???  O:) O:)
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on June 21, 2008, 11:54:20 AM
This mod just adds icons next to each board to access the rss feeds.
Title: Re: RSS Feed Icon for boards
Post by: Larathiel on June 28, 2008, 08:32:57 PM
vbgamer, I have several private forums on my site. I would like for members who have permission to see those forums to be able to subscribe to them as well. However, when I add the RSS URL for such a forum to Google Reader, it simply returns feed results for the very first forum on the site rather than the one I was trying to subscribe to.

I already confirmed that Google Reader can successfully subscribe to any of the public forums on my site so it just seems to be the private ones that are causing a problem.

I still need the private forums to be secure, but even a feed that says, "A new topic has been posted at the following URL at such-and-such-day-and-time by user-so-and-so," would be exceptionally handy. (Basically, I need a way for project team member to know when others have posted updates, but e-mail notifications are not working for all of them.)

Any suggestions?
Title: Re: RSS Feed Icon for boards
Post by: jimvy on August 06, 2008, 12:02:18 PM
Is there some way to get this feed to display when a board has a new post, but not a to display one for every post... like how when you click the option to be alerted of replies to your post you are alerted once no matter how many replies are made until you visit the topic.
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on August 06, 2008, 10:10:35 PM
Not that I know of
Title: Re: RSS Feed Icon for boards
Post by: dbasetrinity on August 08, 2008, 09:04:41 PM
Has anyone else have any issue with the rss feed validating.

I had a friend install the mod on our default theme. and it works or least outputs in rss information from the site

So anyways i went and installed a theme never checking the default for validation errors

and on the new theme i installed the rss feed to that. and on both i get the same validation errors
and i have know clue as to where to look to solve this

My Site (http://technogeeks.homelinux.org/smf/index.php)

Any help would be greatly appreciated Thanks

Code: [Select]
&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a>
This is what i get when validate the page

Line 162, Column 191: document type does not allow element "a" here; missing one of "object", "span", "bdo", "applet", "iframe", "tt", "i", "b", "u", "s", "strike", "big", "small", "font", "em", "strong", "dfn", "code", "q", "samp", "kbd", "var", "cite", "abbr", "acronym", "sub", "sup", "label", "ins", "del" start-tag.

…ex.php?action=.xml;board=14;type=rss"><img src="http://technogeeks.homelinux.
Title: Re: RSS Feed Icon for boards
Post by: dbasetrinity on August 19, 2008, 05:39:35 PM
i got my site to validate after a friend of mine edited the code

Everything works great now

Code: [Select]
echo '</a>
    </td>
    <td class="windowbg2">
     <a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a> &nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a><br />
      ', $board['description'];
Title: Re: RSS Feed Icon for boards
Post by: bjraines on September 10, 2008, 12:07:59 PM
my icons do not show, just a link that says rss

is there a settings menu, i can't find

see www.mychemistrytutor.com/forums
Title: Re: RSS Feed Icon for boards
Post by: Panache Web on September 10, 2008, 03:02:16 PM
is this going to be upgraded to smf 2.0 or is it done for?
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on September 10, 2008, 09:41:51 PM
Will be upgraded once SMF 2.0 goes final.
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on September 13, 2008, 11:47:08 PM
Changed my mind Updated for SMF 2.0beta4
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: Panache Web on September 14, 2008, 02:28:52 PM
Changed my mind Updated for SMF 2.0beta4

thank you.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: wowyahoo on September 14, 2008, 05:41:28 PM
i was looking for something like this. thanks!
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: JoshieDaMan on September 26, 2008, 01:22:26 PM
Nice mod, thanks. Is there a plan to have this working for child boards? I expected to see the icon when viewing the parent boards. ???
It works for child boards. I just checked.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: JIROO on September 27, 2008, 12:57:30 AM
please help
I want rss show only topic (no reply)  ?
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: JIROO on September 27, 2008, 01:20:52 PM
 :) Ok I found topic show only topic   :)
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: Bugpac ™ on October 05, 2008, 08:45:14 AM
Works great on mine, But is there anyway to make the icon align right?
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: evolution06 on October 06, 2008, 03:49:29 PM
To align the feed icon to the right add align="right" into the feed and feed2 xml files
Example: www.prestigegaming.net > is that how you wanted it?
Tested on Internet explorer and Firefox

I have attached the feed and feed2 xml files modified to align the image to the right hope this is ok. In my opinion the feed icon looks much better to the right like that and not crowding the forum name/description



Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: Bugpac ™ on October 06, 2008, 05:25:19 PM
exactly, it dont look clutteres then.... were are the files located?
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: evolution06 on October 06, 2008, 06:29:52 PM
what I did is uninstalled the mod redownload it and edited the files then reinstalled it.. because I could not find those files anywhere..

1) Uninstall the mod (very simple)
2) Download the 2 files I attached or edit your own
3) Redownload the Feed Icon mod
4) Drag the edited files inside the Redownloaded Feed Icon mod (No need to unzip the download) Should overwrite the ones in there
5) Reinstall the mod via acp

Takes a couple of minutes.. I could not find those XML files in my cPanel.. So this was the fast solution. I am sure there is another way to edit them but I am new to SMF so yeah I will figure it out eventually.

Cheers,
Scott
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: Bugpac ™ on October 06, 2008, 06:48:42 PM
Ah Perfection, thank ya much...
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: evolution06 on October 06, 2008, 07:04:12 PM
my icons do not show, just a link that says rss

is there a settings menu, i can't find

see www.mychemistrytutor.com/forums

It is showing RSS text only because you need to upload the image to your current theme folder. The mod only uploads the image to SMF's default theme. I.E I am using Diablo3 theme so I had to upload the RSS icon to the Diablo3 template folder.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: Pwn Kyuubi on October 26, 2008, 09:58:25 PM
To align the feed icon to the right add align="right" into the feed and feed2 xml files
Example: www.prestigegaming.net > is that how you wanted it?
Tested on Internet explorer and Firefox

I have attached the feed and feed2 xml files modified to align the image to the right hope this is ok. In my opinion the feed icon looks much better to the right like that and not crowding the forum name/description

How can i add by myself this code :S. these files dont work for me in my smf2.0 beta4, i got an error in the before the install
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: Nibogo on November 14, 2008, 09:33:18 PM
vbgamer maybe you can add the rss icon to the linktree
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: ganzua on December 09, 2008, 01:16:33 PM
Hi!

I'm using this mod with sms 1.1.7 and default template. All works fine except for one of my boards that it's not showing nothing. Rest of boards works ok.
You can see it at www.laganzua.net/foro_musica/

Board with problem is: "Busco la música del anuncio de... " (id=5.0).

Thanks...
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: searchgr on December 21, 2008, 05:52:19 AM
Is there anyway to increase the RSS  from the current 5 feeds to 15 feeds?
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: 2sanstef on January 22, 2009, 06:12:14 PM
Hi installed the RSS feed using the package manager but keep getting the following error message:

http://www.sanstefanos.co.uk/smf/index.php?action=.xml;board=1;type=rss 
2: smf_main(/www.sanstefanos.co.uk/smf/Sources/News.php) [<a href='function.smf-main'>function.smf-main</a>]: failed to open stream: No such file or directory
File: /www.sanstefanos.co.uk/smf/index.php
Line: 350

Have I missed something?

Thanks
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on January 22, 2009, 08:16:48 PM
That is an issue with SMF looks like your Sources/News.php file is missing reupload that file from the SMF's package.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: 2sanstef on January 23, 2009, 06:28:19 PM
Thanks for your response you were exactly right the file was missing and the RSS feed works perfect since uploading

Ta
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on January 23, 2009, 08:44:49 PM
No problem glad you got it working
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: Realinfo on February 01, 2009, 12:52:42 AM
Please tell me what is use of FEED.............
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on February 01, 2009, 12:56:06 AM
Used for RSS Readers
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: T@by on February 19, 2009, 06:57:13 AM
Which RSS Reader/Aggregators can be used?
Google Reader for example doesn't work.

giving an address like
http://www.mysite.com/smf/index.php?action=.xml;board=1;type=rss
it is stored as
http://www.mysite.com/smf/index.php?action=.xml;type=rss

id_board parameter is removed. This happen with all rss reades I tryied (client software or web based).
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on February 22, 2009, 10:48:22 AM
Should work with all readers unless it is a bug with SMF. Since it is just an xml link to the rss feed of the board.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: TDNY on March 08, 2009, 04:13:13 PM
Loaded this onto my forum, it's a 1.1.8 with the default-core. Seamless install with no edits to make or errors reported 8). Thanks for this Mod.

TD
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: computel on March 09, 2009, 01:42:34 PM
I was wondering what the command is to get the topic only and not the replies can this be done?


Thanks
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: dextrous on March 30, 2009, 07:01:24 PM
Hello,
1. I want to display more text in the description then it currenty is in the feed--anyway I can edit it?
2. Some posts have spaces and it shows up in the feed as well. Any way to elimiate this?

Thanks
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on March 30, 2009, 07:42:14 PM
Hello,
1. I want to display more text in the description then it currenty is in the feed--anyway I can edit it?
2. Some posts have spaces and it shows up in the feed as well. Any way to elimiate this?

Thanks
Not supported by this mod. This mod just adds an icon.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: 2sanstef on July 01, 2009, 07:44:36 PM
Hi I installed this on my forum via the package manager after a re-install due to a hack.

Functions ok but the RSS icon doesn't appear, its in the .zip file where should the package manager have installed this image file?

Thanks
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on July 01, 2009, 08:11:33 PM
In the themes/default/images folder
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: MF30 on July 04, 2009, 01:01:33 PM
Almost the benefits of using this mod? ???
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on July 04, 2009, 02:42:47 PM
Easy to access rss links for users.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: MF30 on July 04, 2009, 03:02:53 PM
Easy to access rss links for users.

thanks. ;)
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: 2sanstef on July 06, 2009, 07:43:20 PM
I have managed to install this mod manually but have a bizarre problem with it. The feed works on all boards apart from the first one "Sanstefanos news and views"?

http://www.sanstefanos.co.uk/smf/index.php (http://www.sanstefanos.co.uk/smf/index.php)

Any clues??
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: InsaneneSs on July 13, 2009, 12:36:05 PM
Hi guys, i wanted to know who can I put the RSS image before the board name instead after.

I'm using SMF 2 RC.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: TheListener on July 21, 2009, 07:10:28 PM
How do I stop boards such as the staff area being added to the rss feeder?

Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on July 22, 2009, 08:53:07 AM
Can't at this time no setting to control what boards it is displayed on
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: rosspet on August 02, 2009, 07:50:36 AM
How do I stop boards such as the staff area being added to the rss feeder?

I've hacked vbgamer's code to only show the rss icon against one board. I don't know the ethics of posting the code, I've PM'd vbgamer to see if he objects. :-X
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on August 02, 2009, 10:26:56 AM
Fine with me
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: rayosx on August 03, 2009, 03:08:03 AM
guys,
I installed this mod succesfully and it does not display any rss feed icon on my forum, do I need to enable it somewhere, any instructions ?  thanks

BTW, I am using  SMF 2.0 RC 1.2    thanks
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: Nibogo on August 03, 2009, 03:29:13 PM
guys,
I installed this mod succesfully and it does not display any rss feed icon on my forum, do I need to enable it somewhere, any instructions ?  thanks

BTW, I am using  SMF 2.0 RC 1.2    thanks


You have to upload the rss icon to the images directory of your theme and do the Boardindex.template.php edit in the file of your theme
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: rayosx on August 05, 2009, 12:51:25 AM
NIBOGO
Can you tell me step by step,    What name should be named the icon that I need to upload in the  Images directory?   

Also, what do I need to modify in the board.index ?

thanks
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: rayosx on August 16, 2009, 01:35:52 AM
Anyone around?  Do I need to go to another thread?
Thanks
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on August 16, 2009, 11:12:24 AM
Check out the package-info.xml file should be in there should be either rss.png or rss.gif i forget which
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: hellboy78 on September 13, 2009, 03:56:40 AM
what setting? I see the button on the default theme, but when I clicked it, it downloaded "index.php"... did I miss something?

If it isn't working properly, please open your "BoardIndex.template.php" file. Find the mod snippet. In tone of the lines you'll see a link code that looks something like this:

Code: [Select]
&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a>
Remove the "type=rss" from the link code.

I have the same problem, when I click the Feed icon, it download index.php  file, I've tryied to delete "type=rss",
and it just desappear the icon,

what can I do?
I use SMF 1.1.10,  blackthefuture theme.

ty
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: chucklebutte on September 13, 2009, 04:29:47 AM
 Apply Filter: Only show the error messages of this URL  http://chucklebutte.exofire.net/forums/index.php?action=feedsadmin;sa=editfeed2
Apply Filter: Only show the errors with the same message
8: Undefined offset: 24
File: /home/chuckles/public_html/forums/Sources/Subs-RSS.php
Line: 141


I get this error when I set feeds to auto post, the bot is setup to use my account to make posts in my forums, it worked when I first installed it but hasnt since. Clicking on that link gives me a page that says no feeds selected but in the config the feed is enabled. Any ideas?


**EDITED**

Crap wrong section.... my problem is for RSS feed bot not for feed icon can a mod move this please? and sorry for the mistake.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: Shannar on October 08, 2009, 06:24:11 AM
This mod just adds an icon.

How about add option on profile, where users, who don't want see this icon's, can remove it?
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on October 13, 2009, 07:40:24 PM
Maybe but the icon is kind of small I haven't heard of users complaining about that icon before
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: vbgamer45 on November 08, 2009, 09:20:11 PM
Updated to support SMF 2.0 RC2!
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: ZUMZUM on November 10, 2009, 12:40:56 PM
please help

i downloaded this mo and on all boards it had 2 boxes with red x in it i uninstalled the mod and now on all boards on home page i hve 1 box with red x in it i then deleted the mod and still have 1 box with red x in it

please i need to remove this from the boards

can anyone help please
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: vbgamer45 on November 10, 2009, 12:45:07 PM
Full manually remove instructions found on the mod site.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: ZUMZUM on November 10, 2009, 12:56:09 PM
it must be me

i see manuall installation instructions but nmot removal instructions

can u help cos the forum is a mess :(
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: vbgamer45 on November 10, 2009, 01:12:20 PM
How do I stop boards such as the staff area being added to the rss feeder?


Wrong mod? This just adds an icon after each board name
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: ZUMZUM on November 10, 2009, 06:33:23 PM
i still d not know how to dlete this

can some one please help

i can not find removal instruction and i still have rss all over my sites boards
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: vbgamer45 on November 10, 2009, 07:30:38 PM
Removal instructions can be found on the mod site under the mod follow the uninstall insructions
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: Bob Perry of Web Presence Consulting on November 10, 2009, 10:53:48 PM
VBGamer,

Good job on the mod, but you need to take a lesson from me here about file naming conventions, you can't put just any special characters or spaces in a filename and expect satisfactory results...

All I did was change the .zip filename from feed+icon.zip to feed_icon.zip.... problem solved, SMF 2.0 RC2 won't recogognize your currently named file as a legitimate module...
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: vbgamer45 on November 10, 2009, 10:56:45 PM
Fixed thanks removed the space in the zip filename.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: rayosx on December 05, 2009, 12:38:18 AM
Guys,
Can anyone help me to solve my problem?   It installs properly,  I checked the  *.png and it is in ./images    and it does not show the RSS icon,    Please help, I am very frustated, 

I am using   smf 2.0 1.2,   I can not see what my problem is

Please check my forum website.

www.all-google-android.com

and let me know what could be my problem?  maybe is a mod that it is not being compatible with this one?
 
Thanks


If I uninstall   I get this

Uninstall Actions
Uninstall Actions "RSS Feed Icon":
Installing this package will perform the following actions:
Type   Action   Description
   1.   Execute Modification   ./Themes/default/BoardIndex.template.php   Test successful
   2.   Execute Modification   ./Themes/default/MessageIndex.template.php   Test successful
3.   Execute Code   UnInstall.php   


then

Uninstall
Extracting Package
The package has been uninstalled, it should no longer take effect.


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

If I install ,  I get all of this

Package uploaded successfully
Package has been downloaded successfully

RSS Feed Icon   [ Apply Mod ] [ List Files ]

When I press     Apply Mod

I get this

Apply Mod
Please remember to always make regular backups of your sources and database before installing mods, especially beta versions.

Installation Readme
*******************************
Feed Icon Board Index
By: vbgamer45
http://www.smfhacks.com
*******************************

Mod Information:
For SMF 2.0.x AND SMF 1.1.x

Adds a RSS Feed Icon to the Board Index for each board. Allows users to easly subscribe to an RSS feed.

Version 1.1
Added support for child boards.


Other mods can be found at SMFHacks.com
Include:
SMF Gallery
SMF Store
SMF Trader System
SMF Archive
SMF Staff
Reg Bar
Avatar Select
SMF Email System
SMF Store
SMF Classifieds
Newsletter Pro

SMFHacks package server address is:
http://www.smfhacks.com

Install Actions
Installations actions for "RSS Feed Icon":
Installing this package will perform the following actions:
Type   Action   Description
   1.   Execute Modification   ./Themes/default/BoardIndex.template.php   Test successful
   2.   Execute Modification   ./Themes/default/MessageIndex.template.php   Test successful
3.   Extract File   ./Themes/default/images/rss.png


then I press   <install now>

and I get this

Extracting
Extracting Package
The package was installed successfully. You should now be able to use whatever functionality it adds or changes; or not be able to use functionality it removes.

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


So what my problem is?  other mod that is going crazy incompatible with this mod?     

any hints?

thanks
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: nax on January 01, 2010, 11:38:53 AM
The mod installed OK SMF 2.0 RC2! but there are no icons on my board and no links.  I'm using a theme called Brightforest.  Where do I start with this one?
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: vbgamer45 on January 01, 2010, 12:58:50 PM
For custom themes you will need to follow the instructions manually to install it on the theme. Or you can uninstall and then reinstall use the package manager's install on other themes option.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: nax on January 02, 2010, 05:53:41 AM
I unistalled the mod ok, I then tried to install using the Package manager to apply it to other themes, it said it had completed sucessfully but the RSS icon still did not show on my boards.  I'll have to trawl through these 12 pages to find the manual instal instructions.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: nax on January 02, 2010, 07:33:10 AM
OK I have the RSS icon against each board and IT WORKS!

Is there any way I can create a feed that is a composite of the last 20 posts in the forum so that members can subscribe to a "Daily digest" so they can get an idea of which topics are active.  Just one compostie file rahter than 20 individual items.  I can then create an RSS icon in one of my "read only threads - Members news" and use this feed property as the url.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: eg208 on January 04, 2010, 06:23:33 AM
How to remove rss icons on redirected board? thanks
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: vbgamer45 on January 04, 2010, 08:48:24 AM
How to remove rss icons on redirected board? thanks
I would need to code that in not supported yet.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: playdiune on February 03, 2010, 09:00:23 PM
is it possible to chose the boards to show the icon ?

thanks
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: vbgamer45 on February 03, 2010, 09:05:09 PM
No it is not. It is shown on all boards
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: playdiune on February 03, 2010, 09:09:22 PM
No it is not. It is shown on all boards

even on child boards ?
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: vbgamer45 on February 03, 2010, 09:10:17 PM
Yes includes child boards as well inside each category
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: TheListener on March 04, 2010, 12:23:33 PM
Does the showing of the icon on the board mean that particular board will show as an rss?

Ie staff board and technical section.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: vbgamer45 on March 04, 2010, 12:24:38 PM
It shows on every board by default

RSS only works if they have access to that board. And for staff only boards the would need to be logged in.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC2!)
Post by: TheListener on March 04, 2010, 12:27:18 PM
Thanks VB.

EDIT:

Some of the icons show next to the board name others are under the board name.

Is there a way of making all the icons go next to the board names?
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on March 08, 2010, 07:06:13 PM
Updated for SMF 2.0 RC3 support
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: TheListener on March 08, 2010, 07:08:12 PM
Hey VB can ya refer to my last post please bud.

Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on March 08, 2010, 07:09:32 PM
Will check it out in a bit have to update mods first.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: TheListener on March 08, 2010, 07:11:05 PM
No rush. See ya in however many days  ;D
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on March 12, 2010, 01:34:22 AM
Is the boardname super long? That could cause it to go to the next line.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: TheListener on March 12, 2010, 01:36:57 AM
You will see what I mean if you click on the banner in my sig.

My planned upgrade over the weekend may help. (shudder)
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on March 12, 2010, 01:41:39 AM
Another mod edited that code looks like twitter mod?
Code: [Select]
<div style="float: right; width: 8%; text-align: right">
                <a href="http://twitter.com/parascifi" target="_blank" title="All new topics in this board will be published on Twitter"><img alt="" src="http://www.parascifi.net/Themes/default/images/admin/twitter.gif" style="margin-right: 3px; margin-bottom: 3px;" /></a>
            </div>
            <div style="clear: both"></div><b><a href=""></a>&nbsp;
Which caused rss to be pushed down.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: TheListener on March 12, 2010, 01:44:30 AM
Would I be better to see what happens when upgrading?
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on March 12, 2010, 01:44:57 AM
I don't think it will matter if the same mods are installed.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: TheListener on March 12, 2010, 01:50:29 AM
OK Thanks.

Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: GohighVoltage on March 20, 2010, 11:52:41 AM
Something is wrong,  the feed icon is on the wrong side and out of place.  Please help.

forum.gohighvoltage.com
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on March 20, 2010, 12:09:29 PM
You have another mod that is causing that to occur mostly like I seen this happen with the twitter mod inserts other code
Code: [Select]
<div style="float: right; width: 8%; text-align: right">
               
            </div>
            <div style="clear: both"></div><h4 style="padding-top: 0px"><a href=""></a>
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: GohighVoltage on March 20, 2010, 12:27:27 PM
Do you know how I fix it?   I do have the twitter / facebook mod
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on March 20, 2010, 01:01:19 PM
I would uninstall both mods. Install rss board icon first then twitter.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: GohighVoltage on March 20, 2010, 01:05:44 PM
ok tried,  no luck
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: luuuciano on April 03, 2010, 04:19:59 PM
nice mod! thanks for it...

question for people using it...
it would be better to serve a "new replies" feed? or maybe a "new topics" feed?

(Im just in doubt about what to do...)
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: Tyme on June 22, 2010, 11:52:11 AM
I installed this for v2 RC3 on the Blackrain V3 skin, and the RSS Feed Image .png does not come through. It just says "rss" next to each board name. When I clicked uninstall, it did not remove that name. If I click install again, it will add yet another "rss" next to the existing "rss" text link.

Can you please tell me how to manually edit the template so I can use the .png you provided, or can you tell me how to get rid of it altogether if that's not possible? It's really annoying to have a text link called "rss" next to every board name, because people accidentally click that.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on June 22, 2010, 11:53:57 AM
Right click on the RSS text it should tell you the image path of the broken image then just upload it there.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: Tyme on June 22, 2010, 12:03:06 PM
Right click on the RSS text it should tell you the image path of the broken image then just upload it there.

Fixed, thanks. If I ever want to get rid of the package for whatever reason (maybe upon a board upgrade), how would I do that? The uninstall is no longer available because it didn't work the first time.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on June 22, 2010, 12:27:58 PM
You have to check the modsite and grab the manual install instructions for the mod then follow that to reverse it.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: sparky33 on August 27, 2010, 03:38:22 PM
Hi, I use this mod on my old site, and I moved the icons to the left as they look much tidier, I can't remember how I did this and wondered if you would, if you agree,  could you possibly change the script so the icons are on the left by default?

See attachment
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on August 27, 2010, 07:40:15 PM
Requires edits to the boardindex.template.php just move the icon code before the title.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: PPowerHouseK on February 10, 2011, 02:29:54 PM
I would like to use this to detect any new posts made in any section of my forums. It only picks up the post in the specified thread, and not from its child boards, how could I accomplish this?
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on February 10, 2011, 02:30:57 PM
This mod will not do that. Only adds an icon.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: PPowerHouseK on February 10, 2011, 03:13:25 PM
Just so I am clear on this...
My forum has 3 levels, like most: Main>Sub>Child and all the subs and child boards have that icon.
I can use an rss feed on a Sub forum, but it won't pick up any new posts in the Child forum. I have to use the rss link for that specific child forum.
So, is it possible to have it detect new posts in the child forum from a Sub rss feed link? Or better yet, is there a way to put a rss feed link on the Main forum page that would detect new posts in the Sub and Child section? That is my current issue.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on February 10, 2011, 03:20:36 PM
Yeah that is something this mod does not do or look into only adds the icon. Sounds like a general smf feed issue.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: ontime on February 27, 2011, 07:38:15 PM
Hi all
for the ones that have the rss show up as just text on modded themes, I just copied the rss.png from themes/default/images   to modded theme/image directory now the rss icon shows on the forums .

http://www.fweclan.com/smf/index.php?action=forum (http://www.fweclan.com/smf/index.php?action=forum)
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on February 27, 2011, 07:44:01 PM
That's a good tip! Thanks for post
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: doughboy99 on March 21, 2011, 11:13:26 AM
Is there anyway to use this as a feed for Calendar Events?
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on March 21, 2011, 11:16:21 AM
This just adds an icon next the boards this mod does not add feeds.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: doughboy99 on March 21, 2011, 11:39:32 AM
Thanks yes just had a proper look at this(and installed it). I'll just have to carryon looking for a mod that allows me to have a feed of Calendar events for use by our users.
Title: Re: RSS Feed Icon for boards (Need SMF 1.1.13)
Post by: matt3006 on May 12, 2011, 07:26:49 PM
Do you have any advice on how to get the RSS icon to display if I am on SMF 1.1.13? I tried manually copying the icon file to the new modded theme/images directory but that doesn't work. In fact, I copied that file into multiple places but it isn't taking.  All I keep getting is the "rss" text.

I read this single mod is supposed to work for both 1.1 and 2.0. But that does not seem to be the case.

Any clues?  Thanks.

Matthew


Hi all
for the ones that have the rss show up as just text on modded themes, I just copied the rss.png from themes/default/images   to modded theme/image directory now the rss icon shows on the forums .
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on May 12, 2011, 08:20:14 PM
Link to board with issue or right click and goto properites on the rss image to get the image path
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: matt3006 on May 12, 2011, 10:58:04 PM
Yes, that was quite helpful. I feel stupid for not thinking of it. The problem was I thought the file was actually being copied into the directory when it really wasn't.  I actually had to gain root access to copy the file inside.

All is well and it looks great!
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on May 12, 2011, 11:08:46 PM
Glad you were able to get it working!
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: rightofatilla on June 01, 2011, 09:32:24 PM
Do you have an RSS reader that can spawn a new thread when clicked?
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: vbgamer45 on June 01, 2011, 09:33:38 PM
This mod just adds an icon to access SMF's feeds
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0 RC3!)
Post by: mwine on June 16, 2011, 05:46:44 PM
Having an issue using the package manager to install this mod on 2.0 Gold.  It uploads the zip file but when I click install,  it gives me  "500 Internal Server Error".  I have quite a few mods installed so it may be effected by the others, I will do a manual install since it's only a couple changes. 



***Update***

Did manual install and works great.  Thanks for the Mod!!
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: katmai on October 05, 2011, 05:48:26 AM
i have a question regarding this mod. sorry vbgamer, i just love a bunch of your mods.

is there any way the RSS would update with the new TOPICS instead of the posts? i find it a bit weird that i get my reader filled with the new posts, and i would just like to change it to new topics only.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on October 05, 2011, 08:50:04 AM
Possibly if the SMF feeds supports topics only then it could be switched to that link instead.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: luuuciano on October 05, 2011, 10:48:23 AM
http://wiki.simplemachines.org/smf/XML_feeds
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: ddabcd277 on October 17, 2011, 03:23:42 AM
Hello guys,

Have a problem. My rss icon seems to stop working. When clicked over it just an empty white screen appears. The code seems to be ok in Board.index and Massage.Index. Anyone faced similar problem.  :-\

Many Thanks,
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: rihsano on October 17, 2011, 04:07:01 AM
why rss feed icon not show in my theme
www.kutass.tk
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on October 17, 2011, 09:13:12 AM
Make sure you apply the edits to your theme and copy the rss.png file to theme too
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: rihsano on October 20, 2011, 08:44:08 AM
not work  :'(
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on October 20, 2011, 01:01:15 PM
Try manual install
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: Chalky on February 29, 2012, 05:29:36 PM
This looks great, thank you!!  Only where do I edit the buttons to customise the feed (I want to show topics rather than posts)?  I'm on SMF 2.0.2,

Thanks  :D
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: GlitchPC on February 29, 2012, 08:20:56 PM
Great mod...

All that's needed is an admin setting to choose which boards to apply this feature to.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on February 29, 2012, 09:04:22 PM
Great mod...

All that's needed is an admin setting to choose which boards to apply this feature to.
One day I might that feature just requires some edits then database entry for boards.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: Chalky on March 01, 2012, 02:31:27 AM
This looks great, thank you!!  Only where do I edit the buttons to customise the feed (I want to show topics rather than posts)?  I'm on SMF 2.0.2,

Thanks  :D

It's ok, I've done it!  Love the mod :)
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on March 01, 2012, 11:17:20 AM
Glad you were able to get it figured out
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: luuuciano on March 01, 2012, 11:23:05 AM
This looks great, thank you!!  Only where do I edit the buttons to customise the feed (I want to show topics rather than posts)?  I'm on SMF 2.0.2,

Thanks  :D

It's ok, I've done it!  Love the mod :)

So... what about sharing your finding/solution? maybe others find it useful
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: Chalky on March 01, 2012, 01:22:38 PM

It's ok, I've done it!  Love the mod :)

So... what about sharing your finding/solution? maybe others find it useful

Sorry, I was afraid it was just me being thick...  I identified the two files where this mod made changes from the parse thing: ./Themes/default/BoardIndex.template.php and ./Themes/default/MessageIndex.template.php then edited the RSS looking bit in both files adding ;sa=news after the type=rss as per this marvellous topic (http://www.simplemachines.org/community/index.php?topic=25009.0).  I was rather pleased with myself when I was finished  8).  I'd still like to find a way to show the most recently updated topics rather than recently created, but it's looking good :D
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: snyperthugs on May 02, 2013, 03:29:39 PM
I have smf 2.0.4 and this mod doesnt show anything after installing
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on May 02, 2013, 03:34:18 PM
Did it make the file changes? Also did it copy the rss feed icon where it was needed.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: snyperthugs on May 02, 2013, 03:39:52 PM
I just uploaded it, and it said installed successfully. But no rss icons.   It worked on my 1.1.4 form, but not this one
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on May 02, 2013, 04:25:26 PM
Double check the file edits and make sure the rss image file copied over correctly.
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: snyperthugs on May 02, 2013, 10:15:43 PM
I got it to work now, thanks
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: vbgamer45 on May 02, 2013, 11:11:40 PM
Glad you have it working!
Title: Re: RSS Feed Icon for boards (Updated for SMF 2.0!)
Post by: luuuciano on November 14, 2013, 08:32:20 AM
Nice hack by Diego Andres, to allow forum selection in this mod
http://www.simplemachines.org/community/index.php?topic=514203.msg3636075#msg3636075
Title: Re: RSS Feed Icon for boards
Post by: Rock Lee on July 17, 2016, 07:34:21 PM
A question Can exclude certain forums? ... The amendment seems excellent but I would like some forums were not affected ...


Regards!
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on July 17, 2016, 09:13:30 PM
No not a feature that is built in.
Title: Re: RSS Feed Icon for boards
Post by: Rock Lee on July 17, 2016, 09:25:06 PM
No not a feature that is built in.

Oh well thank you very much also @vbgamer45 ;D


Regards!
Title: Re: RSS Feed Icon for boards
Post by: luuuciano on July 17, 2016, 11:42:03 PM
A question Can exclude certain forums? ... The amendment seems excellent but I would like some forums were not affected ...


Regards!

Look #294, just before your question...
Title: Re: RSS Feed Icon for boards
Post by: Rock Lee on July 18, 2016, 12:59:57 PM
Look #294, just before your question...

Thank you @luuuciano I had not seen, you look fast just saw had failed to install so no scrolling down my mistake :-[

Regards!
Title: Re: RSS Feed Icon for boards
Post by: SMFHacks.com Team on March 06, 2019, 03:27:34 PM
Update
+Added support for SMF 2.1.x
Title: Re: RSS Feed Icon for boards
Post by: TurtleKicker on March 12, 2019, 06:36:46 PM
Might have found a bug (SMF 2.1 RC1)

The board index normally lists the board names inside of an anchor. Like this:

Code: [Select]
<div class="info">
     <a class="subject mobile_subject" href="https://www.forumname.com/index.php?board=2.0" id="b2">
Board title
<p class="board_description mobile_display"></p>
     </a>
    <p class="board_description"></p>
</div>

Note where the anchor closes. When you ad this mod, it puts the RSS icon and its link right after the "board title", before the "<p class" but importantly, before the anchor closes. So it's an anchor inside an anchor, which is invalid HTML.

I'm seeing inconsistent results (one FF instance shows the RSS icons, another on another computer doesn't) and was trying to troubleshoot, and came across this.

A second, weirder thing that is most certainly me not understanding how things work: the modifications to BoardIndex.template.php are "taking", but not the modifications to MessageIndex.template.php. I mean, the changes are done to the file on the server, but not appearing in the resulting source when viewing the messages inside of a given board. So even on the Firefox computer that is showing the RSS iconds for theboard index, there are none on the message index. Now, you're going to ask me: are you using a non-default theme? And yes, I am (Cleo). So here's where you educate me and I become smarter: in the files for the theme, there is neither a MessageIndex.template.php nor a BoardIndex.template.php file. So I assume then just the default ones are used...? And the default/MessageIndex.template.php is getting modified, so.... *scratches head*.  Another theme I have installed.... Lunarfall... does have both of those files, and when you go to install the RSS mod you're given the option to apply to that theme's files as well, so it makes sense.

Anyway, feel free to pull a Ygritte, tell me "you know nothing", beat me with a cluestick and hopefully I learn something in all this. Thanks!

(PS: don't waste time worrying about why this one Firefox isn't displaying the RSS icons... I'm sure it's a boneheaded add-on blocking it... I'll figure it out eventually).
Title: Re: RSS Feed Icon for boards
Post by: TurtleKicker on April 19, 2019, 12:20:59 AM
Any updates on the before mentioned bug or an update for SMF 2.1 RC2?
Title: Re: RSS Feed Icon for boards
Post by: vbgamer45 on April 24, 2019, 04:44:20 AM
Haven't had time to look into it yet will do so when I return from vacation