I am trying to use JForum as a discussion board for my already developed application� all is going well.
However, when I come across delete permission I could not find the way to assign forum-based permission for �delete post� or �delete comment� option. Can some body tell me that in which way I should use permission that one should be able to delete only those posts or comments that he wrote himself and cannot delete other posts on the same Forum?
so how can i add such feature. as it seems a very basic feature.
i did not explored much the JForum code so can you pleas guide me where to start ... if i would like to add these type of delete permissions [originally posted on jforum.net by ahmad]
1.First, you need to adjust the permission for General group to allow deleting post to true in Control Panel.
2.Then, you need to modify the templates/default/post_show_action_buttons_inc.htm, line 22:
its fine to delete single comment/ reply
but if want to delete the whole topic (as administrator can ) i need to assign isAdmin Group permission to the user and he can delete but the problem is that once a user is mentioned as isAdmin=yes he can any post on any forum where his rights are read only. [originally posted on jforum.net by ahmad]
1. I created a forum and a user group, eg: NewTest with the same name. only this UserGroup has the read\write rights where as i assigned General group(default user group for all users) read only rights to the NewTest Forum. Now any user who is the member of NewTest user group can create new post, edit them and delete also.
where as other all members who are by default members of general group can only view the post and replies on a NewTest Forum topic ....
2. I created another Forum , eg TestOnly, again the same thing only members of TestOnly can post comment in this Forum, where as members of TestOnly can not post\delete any message on NewTest but can view (due to General Group Membership), and voice versa....
now if i want to add the capability for the members of the TestOnly members to be able to delete the whole topic i need to change group permission to isAdmin=yes and it works fine.
but now members of TestOnly can also delete post on NewTest. that is not appropriate (this is because both the members of TestOnly and NewTest are members of General group and general group has read only access to both Forums).
sooo ..... any suggestions that how to restrict NewTest members to delete topics of NewTest Forum only and cant delete Topics on TestOnly. [originally posted on jforum.net by ahmad]
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop