Hello, wunderful to see a first solution for og forums here!
Futur :
Currently, there is no forum administration inside the groups. The Organic group forums are managed just like any other forums.
In the futur, i planned to create an internal forum administration for each Organic group and to add some privileges to administer the forum inside an organic group.
Do you plan:
1) admin/ moderation permissions for group admin or maybe a group moderator role?
2) add/ remove (group) forums inside an og forum container?
Any progress until today with new features?
Thanks for your work and first official release!
Comments
Comment #1
epieddy commentedHi,
Currently the moderation permission is manageable inside an OG with Forum Access :
OG Forum D7 add a new OG permission called Moderate the forum.
Any member of an OG with the permission Moderate the forum will be declared as a moderator inside Forum Access for every forum inside the group.
What is missing is an administration inside the OG to manage only the group's forums. Currently, the only way to add a sub forum for an OG is with the global forum administration.
I have not started to dev this feature yet.
Hope i answered your question.
Comment #2
JohnnyX commentedGreat job!
Would be a great additional feature and I would love to see it integrated here!
Thanks for answering my questions!
Comment #3
bluecobalt commentedThanks for this module epieddy. We really needed this. The forum admin inside OG would make our needs complete!
Comment #4
epieddy commentedComment #4.0
epieddy commentedThanks added...
Comment #5
jojonaloha commentedThis is an initial patch that adds some forum administration pages for the group.
Overview of Changes
The patch:
The patch assumes that each Group will have it's own forum container with no other parent container, and that all the sub-forums of that container will belong to the group. The new pages try to re-use as much code from the forum and taxonomy modules as possible, but the forum list
og_forum_overview()is largely a copy oftaxonomy_overview_terms()because we need to calltaxonomy_get_tree()and pass in the Groups root term.Still Needs Work
The assumptions made by the patch currently may not always be true.
Hoping to get some feedback of the work done so far and/or thoughts on what still needs work.
Comment #6
jojonaloha commentedAttached patch fixes the edit forum and edit container links not showing up on these new pages.
Comment #7
jojonaloha commentedAttached patch fixes an issue creating forum containers from these new pages.
Comment #8
jojonaloha commentedUpdates to add the ability to move forum topics when a forum is being deleted. This is related core issue #206820: Relocate or delete topics on forum deletion to avoid leaving stale data in database.
Comment #9
jojonaloha commentedUpdated patch based on changes to the core patch in #206820: Relocate or delete topics on forum deletion to avoid leaving stale data in database.. Also does some cleanup and reduces some of the duplicate code from the core patch.
Comment #10
vegantriathleteI'll probably also have to sort things out on account of #1844104: non-group-member can post in private forum being applied.
Comment #11
aliciagh commentedGreat job!
Thanks!!
Comment #12
aliciagh commentedHi,
I've updated the patch in order to include:
I'm working in the update script but I don't find a good solution to this problem.
Thanks for your patch @jojonaloha.
Comment #13
vegantriathleteThanks @aliciagh for working on this. My client has pulled me on to other priorities for the moment. I will be returning to this in the near future and will have a look at what you've got here. Just know that I'll be patching dev (to roll the next release) with the work I did in #1844104: non-group-member can post in private forum and #2416671: Don't just blindly hide the Group Audience and Content Visibility fields. So it would be great for you to apply those patches to see how they work and to be sure that your patch applies on top of them.
Comment #14
R.Muilwijk commentedPatch didn't apply anymore.
Comment #15
vegantriathlete@R.Muilwijk Thanks for rolling a new patch. At the moment, I don't think -dev is in very good shape and it's likely to change. So your patch may not end up applying, either.
Hold off on doing anything more with this patch until I've cleaned up -dev and rolled a new stable release.
Comment #16
vegantriathleteI'm back and this will be one of the first issues I will be looking into. Let me see if I need to reroll the patch and what the patch does.
Comment #17
vegantriathleteComment #18
vegantriathleteLet's make sure that this variable is removed when the module is uninstalled.
Let's make sure that this variable is removed when the module is uninstalled.
Is this according to Drupal's coding standard?
This is definitely not following Drupal coding standards with the concatenation
Drupal coding standard issue
Drupal coding standard issue
Can you assume it's a node?
Can you assume it's a node?
Is this following Drupal coding standards?
There are two more parameters to document
Comment #19
vegantriathleteThe Forum module already defines this permission. Was this an intentional duplication?
I'm thinking it should be called 'administer og forums'
Comment #20
vegantriathleteI'm going to be taking notes as I make my way through testing this patch for basic functionality. I'm signed in as UID 1 for this initial pass.
First note: I see the new permission for the OG (screen shot attached).
Comment #21
vegantriathleteSecond note: I see the Forums link on the Group tab (screen shot attached)
Comment #22
vegantriathleteI'm getting error notices
Steps to reproduce:
1) View an OG
2) Click the Group tab
3) Click the Forums link
4) Navigate to another page
Note: The OG does have forums assigned to it
Comment #23
vegantriathleteIf I go to admin/structure/forum I can see that I've got containers and forums assigned to the OG.
The forum administration page is not pulling in existing containers and forums. I suspect it's because the variable has not been initialized. Why are we using variable_get and variable_set? Is admin/structure/forum using them?