MyBB Community Forums

Full Version: feed for news in a forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I noticed that on Dale Hay's forum he is using some sort of plugin which posts news from a website/feed.

what is this plugin?

here is the link to his site - http://www.convoworld.com/forumdisplay.php?fid=77


many thanks

dave.
That's the RSS-to-Post plugin by our DennisTT, it's so annoying when a user does the "View New Posts" link though, so here's what I did after I installed that plugin.

Open 'search.php'

Find: (Around line 694 - 701)
	$where_sql = "t.lastpost >= '".$mybb->user['lastvisit']."'";

Replace With:
	$where_sql = "t.lastpost >= '".$mybb->user['lastvisit']."' AND t.uid != '22'";
** Note: Replace the '22' with the user ID of the "bot" account if you're using a dummy account for the RSS Bot **

My little extra above modification is mainly IF you have a seperate account showing the RSS feeds on your forum. Otherwise it'll hide ALL the new posts of which ever user you told it to hide. Smile
cheers mate, nice modification Smile