I'm a newbie to jForum who would like to have a forum pagelet in one of my own webpage. I wonder if this is possible using jForum ?
The forum pagelet must only allow features that pertains a single topic. The user can post, reply and does anything to that particular topic only. He cannot go a level up to other forums or to other topics. I think I should call it a "topic" pagelet rather than a forum pagelet.
The user arrives to the current topic by clicking on a link on my own webpage.
I wonder if the above can be realized using jForum ?
Any info would be very much appreciated. [originally posted on jforum.net by kenlohwh]
Migrated From Jforum.net
Joined: Apr 22, 2012
No, it isn't. JForum does not have a funcionality like this (restrict users to single topic only). You an create new security roles for that, but then you'll need to change JForum's source code.
The roles are defined in the file WEB-INF/config/permissions.xml, which then is automatically processed when you edit permissiosn through the Admin Panel. As for example, you can add a permission sections like
and then, in the class net.jforum.view.forum.ForumAction.java, in methods like list() and show(), you use the class SecurityRepository, calling the method canAccess(String) (passing the role name) to see if the user can do the action..
The basic idea is something like this ;)
Rafael [originally posted on jforum.net by Rafael Steil]