Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Exclude forums from recent topics and RSS

Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 by inzide]
Migrated From
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 by monroe]
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic