• 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

Write only forums

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible to have a "write only" forum?

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...

[originally posted on jforum.net by frankern]
 
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
Hmm, like Unix "drop box" directories?

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]
 
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
Here are the places to start looking at the code to make it do what you want.

rss/forums.page is processed by:

net.jforum.view.forum.RSSAction.recentTopics()

recentTopics/list.page is processed by :

net.jforum.view.forum.RecentTopicsAction.list()

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]
 
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
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.

Suggestions are welcome!

[originally posted on jforum.net by frankern]
 
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
Tanks,

Is there also a more general way of finding out which class that will process a given rss or xml url?

And is there a place where I can find a list of supported urls?

Your two-instance-idea sounds interesting, but now the workaround is almost done
[originally posted on jforum.net by frankern]
 
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
Here's how to read the basic jForum URL. The syntax is:

<context url>/<module>/action[/<parameters>..].page

Where:

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

[originally posted on jforum.net by monroe]
 
passwords must contain 14 characters, a number, punctuation, a small bird, a bit of cheese and a tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic