• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Exclude forums from recent topics and RSS

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
reply
    Bookmark Topic Watch Topic
  • New Topic