Multiple Containers
| Project: | OG Forum |
| Version: | 6.x-2.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
| Issue tags: | add, container, containers, create, delete, Forum, forums, group, groups, multiple, OG, per, remove, replies, reply, title, topic, topics |
Jump to:
I'm not sure how the OG Forums module was originally intended, and I'm not sure if I am doing something wrong, but I have installed the OG Forum and I have currently patched it with the add_tab.patch installed perfectly.
But, my question is, Has anyone considered having multiple containers per group. I am not talking about multiple forums. See, the way I am looking at this is:
Group #1
- Created Forum Title named Group 1 forum
- Container for Forum Title (Group 1)
- Forum Topic (Posts)
- Comments/Replies per each Forum Topic
So, I was wondering, is it possible for each group to create or have multiple containers?
For example:
Group 1 Forums "Group Title"
- Container #1 : "General Discussions"
- Forum Topic #1 : "Hi there"
- Comments/Replies #1 : "Well, Hi to you too."
- Container #2 : "Questions"
- Forum Topic #1 for Container #2 : "I have a question?"
- Comments/Replies #1 for Container #2 : "Ok, whats the question?"
- Container #3 : "Information"
- Forum Topic #1 for Container #3 : "So, this is how it works."
- Comments/Replies #1 for Container #3 : "I'm impressed, but your talking to yourself."
- Comments/Replies #2 for Container #3: "Oh, I didn't realize it."
- Forum Topic #2 for Container #3 : "I will make this post"
- Comments/Replies #1 for Container #3 : "Ok, now what?"
So, I was wondering, if anyone has thought about allowing multiple containers to be created per each group, instead of only just having the one default container that comes with each new group that is created using OG Forums module?
Hope that all made sense.
Is there any way to do that? For the group admins to be able to create, rename or delete their own Containers for use in their groups, or is there a way for the main site admin to at least create or allow default containers to be created per each new group created automatically?

#1
You can create containers and forums inside your overall group container using the normal forum content management page at /admin/content/forum. When you're creating a new forum or container, just set the parent to whatever existing container you like.
Looking at your example, I think there might be some confusion about forums and containers. You post forum topics into forums, not containers. Containers just group related forums together. In your example, the container is 'Group 1', the forum is 'General Discussion' and the forum topic (in the 'General Discussion' forum) is 'Hi there'. It looks to me like you want to created additional forums (Questions, Information, etc) inside the Group 1 container, which you can do by going to /admin/content/forum, clicking the Add forum tab, and setting the parent to Group 1.
I hope I understood you correctly and this helps with your question.
#2
Ok, yah your right, but, what happens with the OG Forums script is when a user creates their new Group, the OG Forums module goes ahead and automatically creates the container for them. Which the container is typically named after their Group Name just with the name Forum after it. After the OG Forums script automatically creates this container for them (As it should), it automatically creates a new Forum which by default is called "General Discussions", and is changeable only by the Main website administer in the OG Forums settings area under Administrator > Organic Groups > OG Forums.
So, I was thinking that the General Discussions was a Container, but it isn't and your right. The Group Admin that created the forum, doesn't see the actual container name, but they do see the Forums, and within each forum is the Topics for those forums.
But, here's what I was trying to ask, now that I understand what I am asking more:
Is it possible, instead of just having only one Forum automatically created per each new group, to have multiple forums automatically created? Because, right now, the OG Forums module only automatically creates "one" forum which it's default is "General Discussions" per each newly created group. Now of course, you can have unlimited amount of topics within that forum, but I might need multiple forums within each newly created group to help designate the flow per each newly created group.
Now, you had mentioned that the Site Admin "can" simply go into the Admin panel, and can manually create the new forums for each newly created Group to add more forums. But, here is the problem with that. Say, I get a 1000 people wanting to create new groups, and they only get the default forum "General Discussions" automatically, but the Site Admin originally wanted them to have more than one forum automatically... Does that mean the Site Admin has to go in personally to create more forums for each Group? That would be a real pain staking experience for the site admin.
I was looking for something more automatic. Where after a new group was created, that Group Admin would automatically see like 4 new forums for their group. Example: "General Discussions", "Information", "Help", "Our Group News".
Is there any way to make this more automatic? Maybe a different approach to this: Is there a way to give group owners permissions to create their own Forums? Because, right now, the Group Admin can only have one forum, and within that one forum unlimited topics... So, I am looking for a way to have multiple forums per each newly created Group, or to allow group admins the option to create more forums for their group forum.
Am I just missing something? Is there a way to make that work? I am still new to drupal, and I am still learning. I know there are modules that might do this automatically, that act like triggers. But, I am not sure how all that works.
Thanks so much for taking the time to reply and read all of this.
One more thing, thanks so much to everyone that maintains the OG Forums module.
#3
Ok, I wish someone had told me that the og forum code already had the capability of creating multiple default containers upon new group creation. I actually wouldn't have known, until I saw the part in the code that reads:
I did not see that information listed anywhere on the OG Forum page. Which made it a little difficult for me to figure out how all of this worked. I realized later on that OG Admins can simply just edit their forums through their special OG Admin block and they are able to add or remove their own forum containers.
But, what I was looking for was a way for these containers to be automatically created for them. Which I had no idea that the capability was already in the code. Anyways, so nobody else becomes confused about this could you please consider updating the og_forum.module script:
Line 573
to include:
'#description' => t('When this module creates a container and default forum for a new group, this will be the name given to that group.<strong>Hint: If you want more than 1 container by default, just separate each title by a semicolon. e.g.: forum1;forum2;forum3</strong> Also,
you can use C for new container, P for the previous container, R to return to the root container. e.g. Forum1;C;Container2;Forum2;C;Container3;Forum3;R;Forum4
would give the structure. Lastly, you can use descriptions. Follow the container or forum number by a comma, then description. e.g. Forum3, This is a description;Forum4'),
Or at least something similar... As I honestly did not see anywhere on the OG_Forum page where it would have that information available for site admins.
Thanks for your time and help.