I am having a problem with forum_access module. When one browses the forums and, access permitting, go to post a new topic or comment, the select box where they can choose the forum to submit it under is not displaying the first container that can
post and its children.
For instance, on my site I have it set up like this:
Public
-Forum 1
-Forum 2
-Forum 3
Alliance
-Forum 1
-Forum 2
-Forum 3
...
Officer
-Forum 1
-Forum 2
-Forum 3
However, the select box itself displays:
Alliance
-Forum 1
-Forum 2
-Forum 3
Member
-Forum 1
-Forum 2
-Forum 3
Officer
-Forum 1
-Forum 2
-Forum 3
My permissions are as follows:
Permissions: (Alliance/Anonymous/Authenticated/Officer/Member)
Public (same for all sub forums) All users can view, even anon, only registered users may post, officers may edit and delete.
Alliance (same for all sub forums) Only alliance, members, and officers may view and post, only officers may edit and delete.
Members (same for all sub forums) Only members and officers may view and post, only officers may edit and delete.
Officers (same for all sub forums) Only officers may view and post, only administrator may edit and delete.
If I disable this module and only this module the correct forums display. This means the problem could be in either ACL or forum_access. I have checked, double checked, and triple checked my permissions. They are correct. Also I have been going through the source trying to pinpoint the error, but I'm not certain which function handles populating that particular select box. While messing around with it, I switched the weight of Alliance and Public. Sure enough, Alliance didn't show up and public did. It's as though it's skipping the first X Forums. (I think it's three).
This is a major bug as it prevents entire forums from being posted to.
Should I file a bug report, or are you aware of this?
Comments
Comment #1
dgnova3 commentedI have a similar problem to this although it is not isolated to the weighting of forums.
If I have both Forum Access (and the reqd ACL) active, when I post a forum topic, I do not see the option to assign it to the forum in the active container. There is no menu for this. After completing the post, the item shows up in the recent posts list as a forum topic. The forum list does not count the new item and the item does not appear in any forum.
If I deactivate the Forum Access module, the post can be edited and it appear to be associated with the container rather than the forum. At that point I do get the menu to asign it to the forum and doing so, increments the count and makes it visible in the forum.
I have a fresh install of 5.0 beta with ACL and Forum Access loaded. New MySQL DB.
Comment #2
dgnova3 commentedOK I installed the last version of forum_access-5.x-1.x-dev.tar.gz (Nov 11) and no longer have the problem previously described about forum menu not being displayed. However when posting a topic I do not get the list of forums showing. Usually its just one or two and not in the right container.
Comment #3
Rafajafar commentedI had the latest version up on the day I posted the original message. I just reinstalled the module again to the dev version and am still having the same problems described.
Comment #4
joncli commentedI have the exact same problem.
I found a temp remedy, go to (Post new forum topic.) - (/?q=node/add/forum/0) You will get acces denined, scroll down, and you will se a clone of your webpage and there you can enter new topics in any of the forums. And then when I go the forum I get this error,( but the new post is in the forum.)
warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\drupal-5.0-beta1\includes\common.inc:375) in C:\Program Files\xampp\htdocs\drupal-5.0-beta1\includes\common.inc on line 301.
Comment #5
merlinofchaos commentedThis is, I hope, all fixed in forum_access-5.x-1.1
Comment #6
dgnova3 commentedI installed the 21-11 version. All the forums now display for posting but the topics do not post to the correct forum. Also, it appears annonymous users can post to forums to which they should not have access. This generates and sql error but the result is saved
Comment #7
rallycivic commentedThe forum listbox on the forum post page had the wrong numbers in it.
I changed line 86 of forum_access.module to say $options[$sub_tid] = $sub_name; intead of [$tid] and posts go to the correct forum now.
Comment #8
dgnova3 commentedI agree this seems to have fixed the posting issue and the security issue. Thanks
Comment #9
merlinofchaos commentedFixed in dev; will go out in 1.2
Comment #10
(not verified) commented