I am using the xml interface for posting and retrieving, so the user will not always no which forum the topic is in.
I have a small set of normal forums. If a topic does not belong in any of them it should be placed in another forum (e.g. called "etc") automatically. Later, when I ask for a list of forums i want all forums except this "etc"-forum. Hence, the only way to see a topic in "etc" is to ask for it specifically.
Currently I am using http://..../jforum/rss/forums.page, but this returns everything.
Does anyone have a magic trick that will solve this problem? For instance ask for a list of forums including og excluding certain categories...
I don't believe it's currently possible to have a forum like this. If you can post, you can read what's there.
One thing you might be able to do is to restrict the category but allow access to the forum. The logic *might* make this a "hidden" category. But I may be wrong, I seem to remember that category and forum rights get checked for a bunch of stuff (like posting?).
Just curious why you would need such functionality? A support drop box? [originally posted on jforum.net by monroe]
Here are the places to start looking at the code to make it do what you want.
rss/forums.page is processed by:
recentTopics/list.page is processed by :
One other thought that may apply here is that it's not a big deal to run two jforum instances on the same server. Maybe it would be easier to have a public forum webapp and a private forum web app? [originally posted on jforum.net by monroe]
I made a visible forum in a category which only admin has access to.
When I do .../jforum/rss/forums.page
the "kvasihidden" forum listed. Tanks for your help, but it did not seem to work.
Do you know where if there is a place where all the urls for xml and rss retrieval is listed? And which jforum-class that interperets these urls?
I know this seems like a paculiar feature. I use jforum to discuss articles on the web site. In some (rare) cases I only want the topic to be listed with the article. Its forum should never be visible, and the topics and entries should never be returned in "recent"-listings.
context URL is the web app context URL, e.g. /jforum
module is a property key that is mapped to a class in the config/modulesMapping.properties file. (Generally in the net.jforum.view package tree).
action is the name of a public void no argument method in that class, e.g. public void list(). Note that some of the no argument methods, may not work as main actions but are called by the main functions...
[/<parameters>...] is a 0..n list of action specific parameters. E.g., a forum id number.
From this, I guess you could get "A list of URLs".
Just to confuse matters as well. There is an optional (older?) format that can be used that calls the common JForum servlet and redirect the call to actions based on module= and action= parameters. E.g. something like jforum?module=forums&action=show&forumId=4