Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exclude forums from recent topics and RSS

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic