BNS SMF Feeds

Plugin with multi-widget functionality that builds an SMF Forum RSS feed url by user option choices; and, displays a SMF forum feed. The widget includes the additional option to include in the feed: specific boards and/or specific categories. There are also check boxes to include the feed item date and the item summary, too.

NB: If updating from a version before 1.1 please make sure to re-save your widget options (check your feed type) for each instance after upgrading. This will set the feed type correctly using the new feed drop-down selection option. Thanks! ~cais

Download

Latest version: Download BNS SMF Feeds v1.5 [zip]

Installation

This section describes how to install the plugin and get it working.

  1. Upload bns-smf-feeds.php to the /wp-content/plugins/ directory
  2. Activate through the ‘Plugins’ menu.
  3. Place the BNS SMF Feeds widget appropriately in the Appearance | Widgets section of the dashboard.
  4. Set options to personal preferences:
  • Widget Title
  • Specify the full URL to the SMF Forum (e.g.: http://www.simplemachines.org/community/)
  • Choose feed type from drop-down menu (RSS, RSS2, Atom, RDF)
  • The default is by recent Topics, or choose to display recent posts
  • The default displays all items able to be seen by a “guest”.
  • Choose specific boards (or categories of boards) to include only.
  • Choose the maximum quantity of items to display (varies by SMF user permissions)
  • Choose to display the item date and/or item summary

– or -

  1. Go to ‘Plugins’ menu under your Dashboard
  2. Click on the ‘Add New’ link
  3. Search for BNS SMF Feeds
  4. Install.
  5. Activate through the ‘Plugins’ menu.
  6. Place the BNS SMF Feeds widget appropriately in the Appearance | Widgets section of the dashboard.
  7. Set options to personal preferences:
  • Widget Title
  • Specify the full URL to the SMF Forum (e.g.: http://www.simplemachines.org/community/)
  • Choose feed type from drop-down menu (RSS, RSS2, Atom, RDF)
  • The default is by recent Topics, or choose to display recent posts
  • The default displays all items able to be seen by a “guest”.
  • Choose specific boards (or categories of boards) to include only.
  • Choose the maximum quantity of items to display (varies by SMF user permissions)
  • Choose to display the item date and/or item summary

Reading this article for further assistance: http://wpfirstaid.com/2009/12/plugin-installation/

FAQ

Q. Can I use this in more than one widget area?
A. Yes, this plugin has been made for multi-widget compatibility. Each instance of the widget will display, if wanted, differently than every other instance of the widget.

Q. How can I style the plugin output?
A. The plugin uses a variation of the WordPress RSS Output that assigns several rss related classes, such as: rssSummary, rss-date, and rsswidget. A wrapping class of ‘bns-smf-feeds’ has also been added to the widget for more fine tuning.

Q. How can I get the RSS feed url?
A. Once the widget is activated and placed into a widget ready area, there will be a standard RSS icon displayed beside the feed title. This icon will have the url anchored to it, simply click on it to subscribe to the feed directly.

Changelog

1.5

  • released: June 13, 2010
  • code clean up to meet WP Standards
  • corrected error with setting quantity of items displayed from the RSS feed

1.4

  • compatible with WordPress version 3.0
  • updated license declaration

1.3.1.2

  • compatible with WordPress version 2.9.2
  • updated license declaration

1.3.1.1

  • clarified the plugin’s release under a GPL license

1.3.1

  • tied all links in the widget to use the “option to open links in new window”

1.3

  • removed unnecessary (commented out) code
  • added option to open links in new window as suggested
  • added new screenshot of option panel

1.2

  • added feed refresh frequency (in seconds) option
  • added new screenshot of option panel

1.1.1

  • compatibility check for 2.9.1 completed

1.1

  • added drop-down menu to option panel to choose feed type, default set to RSS2
  • updated the Option Panel screen shot

1.0.1

  • minor corrections to description and screenshot

1.0

  • Initial Release.

42 Comments

  • Azari says:

    Hi, I just installed your plugin on my site and it works great. Only one thing though, it doesn’t seem to update as soon as the a post is made on SMF. I was wondering if there’s a way around this, or to increase the frequency of the feed made from SMF? Is there any disadvantage of increasing the frequency? Thanks!

    • @Azari – Thanks for choosing BNS SMF Feeds. I have not reviewed any sort of feed polling, yet. The frequency of updates is also generally related to where and how the feed is being generated. Increasing the frequency via SMF would be fine, I see no reason or potential disadvantages except possibly a small server resource usage increase.

  • Azari says:

    Hello again, thanks for your reply.

    Website: http://www.tanggam.com

    How do I control where and how the feed is being generated? Currently I’m using WordPress as the frontpage of my community forum (SMF), and I have full access to both. I’m not particularly fluent in programming, as I’m learning this on the go. So excuse me if I don’t quite catch certain terms that you use ;) .

  • Azari says:

    Thanks again for your reply and for pointing me in the right direction.

  • Azari says:

    You know what, that is EXACTLY the thing I need. I’m sure others will to!

    Rep up!

  • Manu says:

    Hi,

    I have just installed your plugin and it works like a charm!!!! I just want to ask one question.
    Is there a way to open the forum in a new window instead of the same, when the links will be clicked?

    Thx in advance for your help

    Greetings from the snowy Germany
    Manu

  • Manu says:

    Thx a lot for your help and the update of the plugin! :D
    Just a little note, is there a way to open the the link of the wiget-title in a new window too?
    For example at my site the title is “Recent Forum Posts” – I don’t know to explain it better. :-s

    • @Manu – I will look into it …

      PS: After further review it made sense to make all links within the widget follow the same rule to open in a new window or not. Version 1.3.1 will now have the widget title and the RSS icon follow the same “open in new window” option as the feed items.

  • Phat^Trance says:

    Just installed this plugin and it works great!

    on thing tho! im running two wordpress blogs (with the same SMF forum), My blogs url is: http://dailymobile.se/ and http://dailyiphoneblog.com/ this plugin works fine on dailymobile and it shows the latest 10 posts, but the same plugin wont work on the iphone blog. it doesnt display any of the feed url / latest posts. its just empty.

    Any idea on how i can fix this? would be nice to use this plugin on both my blogs.

    thx

  • Andrea says:

    Hi,
    very good pluginf. After same problem with RSS i have solved and now work fine.

    Thank you. The only plugin wich work fine!

    Andrea.

  • JennyD says:

    Hi, Edward! I’m presently testing an SMF/WordPress solution on a “dead” site belonging to a friend. I’m using your great plugin (love it!) and the WordPress Post to SMF(I’ll call it WP2SMF) plugin (also works!).

    With WP2SMF, when I add a new WP post, a new SMF topic/post is automagically added, in the category I specify. The SMF post has an excerpt of my WP post (as long as I want it to be, up to full text) and a link back to the WP post.

    I can add a link to the WP template which suggests commenting in the forum, and which takes the user directly to that WP post’s thread in SMF.

    Problem: If users can’t see the SMF comments for that post, they likely won’t want to go exploring the SMF forum. They’ll use the WP commenting if it’s available, or not comment at all.

    Your plugin pulls the most recent posts from all or specified topics or boards in SMF.

    I’m after a slight modification, which would require me to insert code in my template to replace the existing comments section. Here’s what I’m looking to do:

    Once I publish my new WP post and it has been created in SMF, I find at the bottom of my post a link to the topic with the number of comments (that is, number of SMF posts) on that specific topic. Below this, a modification of your plugin provides excerpts (or full text) of the first, say, 5-10 comments on that specific topic. (Dynamically generated variable.)

    All commenting would be carried out in the SMF, but there would be visible “commenting action” shown on the individual WP post pages, enough to draw users into the discussion and leave them wanting more.

    Any thoughts on how to get there?

    I tried doing this with bbPress (WordPress’s integratable forum software) but it just doesn’t get adequate development attention, and there’s nothing that works to get where I want to be (there once was, but now it’s broken). And I’m a writer, dammit, not a programmer!

    This could be a great way to really build community on a website.

    Looking forward to hearing your thoughts!

    • @JennyD – This line of thought sounds very interesting to build additional internal linking for your blog, but I do not believe the BNS SMF Feeds plugin offers the immediate functionality you are looking for. As you stated:

      Your plugin pulls the most recent posts from all or specified topics or boards in SMF.

      The plugin cannot manage topic related feeds, it only works to display board and category feeds, the SMF software does not generate a feed expressly for Topics.

      Besides the issue above, incorporating the necessary code into a theme as you describe it above would be a significant re-working of the current plugin.

  • Teemu says:

    Awesome work with this plugin! I love it.

    I have two feature requests:
    1) I’d like to have “Click here to participate” or similar link at the bottom after topics. It’d be nice to have the ability to change this text to whatever I like from the widget settings

    2) There should be an option to remove the RSS-picture and link. I know I can hide them with CSS but removing it would be better ;)

    Thanks!

    • @Teemu – Thank you for the compliments. I will add your ideas to my suggestions list for this plugin. A couple of related questions:

      1) Are you describing a link to the forum in general or the specific link to the topic?
      2) The RSS icon is tied to the feed “Title”, are you suggesting to have just a simple text title that is not linked to anything as the alternative?

      Feel free to write these code changes yourself and submit them for inclusion, just use the form on our Contact Us page, or email me directly if you are interested.

  • Crono says:

    Yes I was curious if there was a way i can shorten the forum titles that shown up in the WP sidebar so they fit one line and if there was a way to better organize how the displayed forum links in the widget are displayed. For example, have each featured forum title right under eachother…no paragraphs.

  • Crono says:

    Oh and if there was a way to edit the title itself. It’s centering in the sidebar for me (when all all widgets are aligned to the left) and maybe hide the RSS icon? Check my site for an example (URL is in my name).

    • @Crono – I would suggest “hiding” the RSS icon and removing the padding to see how that changes your layout. Look at adding additional lines in your style.css file such as these:

      li.bns-smf-feeds h2 a img {
        display:none;
      }
      li.bns-smf-feeds h2 a {
        padding-left: 0;
      }
      
  • Crono says:

    One more question. How do I shorten the forum post summary that is shown in the widget?

  • Spel says:

    I get an error –

    Warning: gzinflate() [function.gzinflate]: data error in D:\xampp\htdocs\Armyblog\wp-includes\http.php on line 1787

    [Removed core code sample]

    Any idea is where the problem – Plugin works – but above widget i get above mentioned error

    Thanks in advance

  • Spel says:

    Another one issue –

    Is there any option to get slider – I have forum which aggregate lots of new topics whole day (every one connected to our area of interest) – is it possible that for instance I write that I want 200 rss feeds (only names of topics with link to the smf forum), but only first 10-15 will be visible – others will be visible using slider

    • @Spel – That option does not exist but you are welcome to modify the plugin to add a “slider” if you wish. Feel free to submit the code back to me and I will review it for inclusion into future versions. At this time I do not have plans to add one myself.

  • Hugo Jesus says:

    Hi.

    I have a wordpress site at http://www.centralcomics.com and a SMF at http://www.centralcomics.com/forum

    So, the plugin pulls the WP comments instead of SMF topics.
    Why is this happening?

    Thanks,
    Hugo

    • @Jesus – I check the feed from your forums and it appears to be requiring a session_id be part of the feed. Unfortunately the plugin does not include that functionality, yet. Beyond that difference I cannot say why the plugin is returning your comments in place of the forum entries. When I tested it using your forum URL it returned NULL, which is very odd by itself.

  • Slayer says:

    Hi!

    This plugin is really great ;)
    i have different website with WP+SMF.. in all i have pick the smf feed (with the ?type=rss%3baction=.xml%3bsa=news string) and in some cases, convert it in feedburner feeds. In both cases, the feeds works perfectly, with an adeguate refresh rate etc, but when i added the feeds in the blog with the WP RSS widget.. i have found some problem with the refresh of the WP widget (missing topic after refresh, and very long time from one refresh to another).

    This until 2 days ago :D :D

    Now, with this plugin all works fine, and i have “eliminated” the standard WP rss widget ;)
    Like the user “Crono”, i have removed the little rss icon, because i have already one rss icon in the forum, with the feedburner link. ;)

  • I have a website at http://batmanarkhamcity.org, with the forum at http://batmanarkhamcity.org/forum.

    The plugin seems to be pulling my recent blog posts into it rather than recent forum posts. Any idea on this? Do I need to have my forum and wp site bridged for this to work?

    • @BAC – I just tested this on one of my servers and was able to pull in your forum posts correctly.

      Please review your setting for the plugin; it appears you are missing the last “/” of the forum address. This will point the rss feed reader back to your own website and you will see your recent posts as you noted.

  • Thanks Ed, that fixed it.

    Btw, for anyone looking to get rid of the RSS icon, I just removed the img on line 467 of bns-smf-feeds.php and that did it.

    • @BAC – You’re welcome! As to removing the RSS image, my preference would be to add a line to the end of the theme style.css file, like this:

      a.bns-smf-feeds img { display:none; }

      That way when the plugin is updated you won’t have to edit it; of course that will not help if the theme you are using is updated …

  • Thanks Ed, that worked as well! Great plugin you’ve got here!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Copyright © 2009-2010 BuyNowShop All rights reserved.
Custom v1.0.2 a child of the Desk Mess Mirrored v1.7 theme from BuyNowShop.com.