miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /   

RSS per forum

Author Lunisneko
Guest
#1 | Posted: 1 Nov 2006 21:19 
I am hacking up my miniBB for the sake of giving the option to have an RSS feed per forum. I will probably share the code once I'm done, but there's one critical thing I can't seem to spot: where is the html that's generated per forum title? I need to be able to add a link to an RSS page prior to the name of every forum title, but I can't find the file holding the HTML that's rendered. Could someone point me in the right direction?

Author Paul
Lead Developer
#2 | Posted: 2 Nov 2006 04:21 
The template is main_forums_cell.html if you mean the first page.

You may use the current general rss2.php file for generating the feed for each forum, separately, just modifying the code a bit. Look at the example I provided in Storage:

http://www.minibb.com/forums/storage/mods/rss2-forum.zip

It can be used BOTH for generic feeds and separated by forum feeds.

So in main_forums_cell.html you need then to paste the link like

<a href="{$main_url}/rss2.php?forum={$forum}">RSS</a>

Author Lunisneko
Guest
#3 | Posted: 2 Nov 2006 14:10 
That's the exact train of thought I was using! Thanks for the help. I didn't know this had already been partially done but I'll still share my results once I'm finished with the hack.

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications / RSS per forum Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB