I was using the CVS version of the module 1.11.2.8 and then i just updated to the newer version, but I find there are more problems with this newer version than the older version.
for one the newer version was missing a patch
http://drupal.org/node/127036
http://drupal.org/node/141103
and it was missing a few whole functions
"theme_og_forum"
So i went through and tried to fix it as best i could,
however I think there are still some problems with the function og_forum_db_rewrite_sql() function. I am having problems where the user ==1 can view all the forums, but then users who are joined into groups can not see any forum.
so I will attach the module that I use with some success.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | og_forum.module.cvs_.1.11.2.11.private_forums.patch | 551 bytes | markDrupal |
| #2 | og_forum.module.cvs_.1.11.2.11.patch | 13.49 KB | markDrupal |
| #1 | og_forum.module_5.txt | 27.84 KB | markDrupal |
| og_forum.module_4.txt | 25.04 KB | markDrupal |
Comments
Comment #1
markDrupal commentedHere is a newer version.
Still based off of my previous post
Added a check to the submission process, now only members of the group can post to a group forum. If the user tries to post to a group he is not a member of, it shows a warning, saying you must become a member to post here.
I removed the access denyed, so all forums are public. You can view, you just can't post. The OG audience checkbox still works though, if you want to post a private message to the forums, only group member will see them.
Comment #2
markDrupal commentedHere is the same code as my previous post, but in patch file format patched against the 1.11.2.11 CVS version
All of my changes can be seen by searching for MarkDrupal
Comment #3
markDrupal commentedAn additional feature you may want is private forums. This small patch will privatize forums, so only group members can view them. It was included in the CVS release, I took it out of my previous posts because I wanted public forums on my website. but put this patch back in to enable private forums
apply it to og_forum.module_5.txt
above
Comment #4
rconstantine commentedI think the 2.x covers all of your changes, doesn't it? Open new issues if not please.
Thanks.