Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ CPG-BB (forum) ⇒ RSS feed for individual forums


RSS feed for individual forums
Please post bugs in the Projects Module.
Post anything and everything else about CPG-BB in this forum.
Formerly known as phpBB but no longer compatible.

Go to page 1, 2  Next
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & BlocksCPG-BB (forum)

View previous topic :: View next topic  
Author Message
macavity
Heavy poster
Heavy poster

Offline Offline
Joined: Jun 23, 2004
Posts: 199

PostPosted: Fri Apr 02, 2010 7:45 am
Post subject: RSS feed for individual forums

Some of my moderators are clamouring for separate RSS feeds for their individual forums. I'm far from an expert in this but could creating a file based on rss/forums.php for each forum (where I somehow specify just one particular forum within the code) be a solution? Just want to check I'm not heading up a blind alley before I start experimenting. Thanks for any thoughts.

_________________
Note: WWW Private Listing - Staff Only

macavity's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FreeBSD/Apache 2.0/MySQL 5.0.77/PHP 5.2.10/Dragonfly 9.2.1
Back to top
View user's profile
layingback
Forum Admin
Forum Admin

Offline Offline
Joined: Apr 19, 2004
Posts: 1040

PostPosted: Fri Apr 02, 2010 1:32 pm
Post subject: Re: RSS feed for individual forums

I'd add a parameter to the url, like f=10. Then $_GET that value, do an intval() check on it, then modify the SELECT by adding ....

Wait a minute, line 30 of /rss/forums.php? Looks as if someone beat you to it. Wink

As in http://layingback.net/rss/forums.php?f=26

_________________
Pro_News: The complete module for Dragonfly - now available as version 3.3

layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1
Back to top
View user's profile Visit poster's website Photo Gallery
macavity
Heavy poster
Heavy poster

Offline Offline
Joined: Jun 23, 2004
Posts: 199

PostPosted: Fri Apr 02, 2010 2:21 pm
Post subject: Re: RSS feed for individual forums

Thanks for the pointer, I'll have a look at that. Appreciate the quick reply!

_________________
Note: WWW Private Listing - Staff Only

macavity's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FreeBSD/Apache 2.0/MySQL 5.0.77/PHP 5.2.10/Dragonfly 9.2.1
Back to top
View user's profile
earth
Heavy poster
Heavy poster

Offline Offline
Joined: Mar 01, 2006
Posts: 268

PostPosted: Tue Jun 29, 2010 12:00 am
Post subject: Re: RSS feed for individual forums

macavity wrote:
Thanks for the pointer, I'll have a look at that. Appreciate the quick reply!
You could also try forumspro, that has the RSS option built in to toggle on or off for each one, if that helps, anyone!

_________________
dfaddons.com

earth's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
OS/Apache/Mysql/php/9.2.X/
Back to top
View user's profile Visit poster's website Photo Gallery
layingback
Forum Admin
Forum Admin

Offline Offline
Joined: Apr 19, 2004
Posts: 1040

PostPosted: Thu Jul 01, 2010 8:33 pm
Post subject: Re: RSS feed for individual forums

earth? As indicated above the requested feature is already provided in Forums, so why would anyone change to ForumsPro for just that? Also ForumsPro is a long dead development project, with little ongoing maintenance/support ... So no-one ought to be converting to it at this stage.

_________________
Pro_News: The complete module for Dragonfly - now available as version 3.3

layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1
Back to top
View user's profile Visit poster's website Photo Gallery
earth
Heavy poster
Heavy poster

Offline Offline
Joined: Mar 01, 2006
Posts: 268

PostPosted: Thu Jul 01, 2010 11:03 pm
Post subject: Re: RSS feed for individual forums

layingback wrote:
earth? As indicated above the requested feature is already provided in Forums, so why would anyone change to ForumsPro for just that? Also ForumsPro is a long dead development project, with little ongoing maintenance/support ... So no-one ought to be converting to it at this stage.
the parameter may be provided, in forums, in forums pro, you have option to just select yes or no for each forum, is that in the regular forum, or do you have to manually do it, as in for say you want forum 1, 2 and 3 to show and not 4, 5 and 6, so when you have your forumspro RSS, you view 123 and not 456 and not need to do a specific feed for say each forum, as combined forums, specific, maybe not what was requested, just something was not aware of being in the default forums, along with lots of other features that are not included and who knows, things change and possibly someone may pick up forums pro and if DF 10 is planning on having some new forum that can out perform forums pro, whooohoo!

the regular forums btw has been dead since day one, not one new feature, and support for it is equally the same as forumspro, imho!

_________________
dfaddons.com

earth's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
OS/Apache/Mysql/php/9.2.X/
Back to top
View user's profile Visit poster's website Photo Gallery
layingback
Forum Admin
Forum Admin

Offline Offline
Joined: Apr 19, 2004
Posts: 1040

PostPosted: Fri Jul 02, 2010 8:04 am
Post subject: Re: RSS feed for individual forums

earth wrote:
the regular forums btw has been dead since day one, not one new feature, and support for it is equally the same as forumspro, imho!

Not so. Please read up on Forums Plus.

ForumsPro was declared dead by its developer, who subsequently folded his tent completely leaving a non-working version. Phoenix did 1 update, generously, so that ForumsPro users had a way forward. There is/was no commitment to repeat this in the future.

Forums Plus not withstanding, BB Forums *has* been maintained to work with each version of DF, and obviously will be in the future. (Unless it is replaced by Forums Plus.)

Anyway, I just did not want anyone reading your post and feeling that they should upgrade/side-grade to FP. 'Cos once done there is really no way back for the average user!

_________________
Pro_News: The complete module for Dragonfly - now available as version 3.3

layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1
Back to top
View user's profile Visit poster's website Photo Gallery
Kendle
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Dec 16, 2004
Posts: 552

PostPosted: Fri Jul 02, 2010 8:49 am
Post subject: Re: RSS feed for individual forums

layingback wrote:
Anyway, I just did not want anyone reading your post and feeling that they should upgrade/side-grade to FP. 'Cos once done there is really no way back for the average user!

Agreed, I wouldn't advise anyone to use ForumsPro now. Forums Plus is plenty good enough and getting back to the standard forum from FP is a real pig.

I consider myself an fairly expert user, not to mention a competent PHP coder and database administrator and I recently did a FP -> standard forum conversion. It was NOT the sort of thing I'd expect a normal user to be able to undertake.

Going down the FP route is a dead end, I'd strongly advise against it.

_________________
Gaming League / Cup - www.leaguecms.co.uk :: Other DragonFly modules - www.cmsdreams.co.uk

Kendle's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
earth
Heavy poster
Heavy poster

Offline Offline
Joined: Mar 01, 2006
Posts: 268

PostPosted: Fri Jul 02, 2010 1:44 pm
Post subject: Re: RSS feed for individual forums

when ya say dead end route, in reference to forumspro, why did your client choose to switch back to the regular forums, if you do not mind me asking?

Is there a phpBB bridge or whatever you call it available here, for DF or one of the other more diverse, shall we say, forums, that offer the users, a little more, of what they may expect, as personally find all 3 forums a dead end here, with forumspro offering more features than the others, and even if it is a hog, least it has some phat on it, that can live with...

Now as far as a new forum for df or bridging others, like vB, the one that is hands down the best, we all agree, as far as features and live in the water, so to speak, even if it is $$$, and with the vBcms, very nice stuff, and forums pro, is closer than the others to vb and if can get the multi option and who voted for what hack intergrated, then forums pro, would have the best polling system, or a survey pro, however going off topic some now, as love to discuss forums with you more and other options, for us all to consider, as I love the way forumspro and pronews work together, as far as module to module goes and rather than us have 3 forums or more, rather DF have one that is being worked on all the time and made better, by implementing members requests, etc., like forumspro, as forums+ is ok as well, just not as feature rich, from my recollection, no matter how much less of a hog it is


Not sure what is in store for df10 as far as forums, read some words on it, and whatever forums is the default, if there is even one, doubtful, it would be or will be, what we all desire, as far as comparison features wise. etc.

So when the end of the road is upon us, we will all know!

_________________
dfaddons.com

earth's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
OS/Apache/Mysql/php/9.2.X/
Back to top
View user's profile Visit poster's website Photo Gallery
macavity
Heavy poster
Heavy poster

Offline Offline
Joined: Jun 23, 2004
Posts: 199

PostPosted: Mon Nov 01, 2010 11:56 am
Post subject: Re: RSS feed for individual forums

layingback wrote:
I'd add a parameter to the url, like f=10. Then $_GET that value, do an intval() check on it, then modify the SELECT by adding ....

Wait a minute, line 30 of /rss/forums.php? Looks as if someone beat you to it. Wink

As in http://layingback.net/rss/forums.php?f=26

Admittedly when I said back in April that I'd give this a go shortly I didn't mean 6 months later! Anyhoo...

For some reason this doesn't seem to work with my 9.1.2.1 setup - using the f=[forum id] syntax appears to have no effect, I'm still just pulling the latest threads from across all forums. Any ideas of what I should check or what I might have missed?

_________________
Note: WWW Private Listing - Staff Only

macavity's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FreeBSD/Apache 2.0/MySQL 5.0.77/PHP 5.2.10/Dragonfly 9.2.1
Back to top
View user's profile
layingback
Forum Admin
Forum Admin

Offline Offline
Joined: Apr 19, 2004
Posts: 1040

PostPosted: Mon Nov 01, 2010 12:18 pm
Post subject: Re: RSS feed for individual forums

Then I guess you need to update...

Check in CVS to see when the lines in question were added - presumable since 9.1.2.1.

_________________
Pro_News: The complete module for Dragonfly - now available as version 3.3

layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1
Back to top
View user's profile Visit poster's website Photo Gallery
macavity
Heavy poster
Heavy poster

Offline Offline
Joined: Jun 23, 2004
Posts: 199

PostPosted: Mon Nov 01, 2010 12:35 pm
Post subject: Re: RSS feed for individual forums

Maybe I'm reading it wrong (very possible) but I think the line in question is already there, I see this at line 30:

Quote::
$forum = isset($_GET['f']) ? 't.forum_id='.intval($_GET['f']).' AND ' : '';

Is that the one you had in mind? Thanks for the reply.

_________________
Note: WWW Private Listing - Staff Only

macavity's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FreeBSD/Apache 2.0/MySQL 5.0.77/PHP 5.2.10/Dragonfly 9.2.1
Back to top
View user's profile
layingback
Forum Admin
Forum Admin

Offline Offline
Joined: Apr 19, 2004
Posts: 1040

PostPosted: Mon Nov 01, 2010 1:28 pm
Post subject: Re: RSS feed for individual forums

Yeah, that's the line, so I think you'll have to dig deeper. Tricky on rss as the SQL calls are not displayed by the browser, even with diagnostics on.

Soo... I would try and construct the SQL statement - basically substitute the correct prefixes - and then try that resulting command directly in phpMyAdmin and see what it is returning, and go from there.

It may be that it doesn't support sub-forums?

_________________
Pro_News: The complete module for Dragonfly - now available as version 3.3

layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1
Back to top
View user's profile Visit poster's website Photo Gallery
macavity
Heavy poster
Heavy poster

Offline Offline
Joined: Jun 23, 2004
Posts: 199

PostPosted: Mon Nov 01, 2010 1:41 pm
Post subject: Re: RSS feed for individual forums

Thanks, that's very useful advice, I'll have a play around with the SQL queries as suggested and see what I can find.

Appreciate the replies - I'll post back here if/when I can figure it out!

_________________
Note: WWW Private Listing - Staff Only

macavity's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FreeBSD/Apache 2.0/MySQL 5.0.77/PHP 5.2.10/Dragonfly 9.2.1
Back to top
View user's profile
macavity
Heavy poster
Heavy poster

Offline Offline
Joined: Jun 23, 2004
Posts: 199

PostPosted: Thu Nov 18, 2010 5:29 pm
Post subject: Re: RSS feed for individual forums

Bah! I've looked into this a little further but my SQL knowledge is just so pitiful I can't make any headway. If anyone wants to take this on as a mini-project please PM me and I'm sure we'll be able to sort out a suitable fee.

_________________
Note: WWW Private Listing - Staff Only

macavity's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FreeBSD/Apache 2.0/MySQL 5.0.77/PHP 5.2.10/Dragonfly 9.2.1
Back to top
View user's profile
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & BlocksCPG-BB (forum)
Page 1 of 2
All times are GMT
Go to page 1, 2  Next



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy