This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JForum and the fly likes Exclude forums from recent topics and RSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Exclude forums from recent topics and RSS" Watch "Exclude forums from recent topics and RSS" New topic
Author

Exclude forums from recent topics and RSS

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi,

It would be very nice if you could configure per forum if its topics should or shouldn't be included in the "recent topics" listings and rss feeds. A simple checkbox would be perfect.

We've defined a few closed forums, but all topic headers are still visible to everyone through the "recent topics" page.

Any way to quick-fix this? Otherwise I think it would be a nice feature to have.

[originally posted on jforum.net by inzide]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
This is always a problem with trying to combine a secure site with an unsecure protocol. Ideally the RSS code should do a check to see if a user id is available (e.g. the call is being made inside jForum). Then do a security check. If it's outside, then check rights using the anonymous user. But then you've got answers that change depending on context and that can confuse users. E.g., my RSS reader didn't show a new article!

Anyway, a quick fix might be to edit the underlying query used to generate the topic list to exclude the forum id's you want to. The query for all topics is PostModel.selectHotForRSS and can be found in either the generic_queries.sql or your db specific queries.sql file under the config directory.
[originally posted on jforum.net by monroe]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exclude forums from recent topics and RSS
 
Similar Threads
RSS for Recent Topics
How to put JFrom in my site???
RSS feeds of author contributions
rss for recent topics
RSS feed for recent topics