Purpose of Usergroups


Here's what I'm getting at. I think when a member creates a Usergroup, it should create a Space that contains a Forum, a Downloads and Uploads area, a Polls, a Chat Room, and all the other CMS things, all at once. Creating a Usergroup should be more like a macro command that creates all these things at the same time, all tucked away in an exclusive Space that nobody can access except the members of that Usergroup. In fact, after a member creates a Usergroup, the Usergroup should have its own landing page, and the landing page can have its own little background or at least mini banner (between left and right panels, like a normal page).
Last bit here. Currently Usergroups on my site are, I think, not working. Or maybe it is working, but I'm thinking it does more than what it actually does. It seems to only create a forum that can be accessed from the forums area. It seems to me that going here, for instance:
https://witches.chat/index.php?page=groups&type=view&id=coffee-and-tea-club
Should take me to the forum, but it actually takes me to a page that says "There are no members yet." and "Resign from this usergroup" and "edit" — The usergroup has a few dozen people in it, though. So probably something is not working correctly.


But, when a random member created a Usergroup, is that basically just/only creating a new Forum? And I think the ability to create Polls?
You're thinking about what is advertised as Clubs in Composr. Creating Clubs is a front-end to 2 things:
- A "Private club" usergroup
- A forum with the same name (creating under the forum and forum grouping set in the main configuration)
Clubs can only be added from the cms_cns_groups module (in the CMS zone so potentially available to regular users, depending on permission configuration). Once created, the usergroup component can then also be edited as a usergroup from the admin_cns_groups module and you'll see a setting "Private club" is checked for it which isn't available ordinarily.
The "Private club" setting means permissions don't exist for the usergroup. It just exists to group members, not to have permissions set against it.
This is for practical reasons. A site may want hundreds of clubs set up, but we don't want hundreds of usergroups listed when setting the permissions for things, and we don't want them slowing down Composr's performance.
The "Private club" flag also works for Composr to know to list it as ediable in the cms_cns_groups module (regular usergroups won't be listed in there).
Here's what I'm getting at. I think when a member creates a Usergroup, it should create a Space that contains a Forum, a Downloads and Uploads area, a Polls, a Chat Room, and all the other CMS things, all at once.
We do have a feature for that, Aggregate Content Types, but it's complex and requires configuring with XML. I'd only recommend it for programmers willing to dive into the code to see how it works. It's probably not very user-friendly for users to use too and probably would need some extra custom programming to make it viable.
For something more user-friendly, we have a long-standing tracker issue, but it's a lot of work: 0002884: Club content - Composr CMS feature tracker
It could be chipped away at of course, but with something like this different people are going to want different things.
Last bit here. Currently Usergroups on my site are, I think, not working. Or maybe it is working, but I'm thinking it does more than what it actually does. It seems to only create a forum that can be accessed from the forums area. It seems to me that going here, for instance:
Usergroups - Witches Chat
Should take me to the forum
I'll have to check on that, I can't remember the behaviour wrt the forum linkage OTTOMH.
The usergroup has a few dozen people in it, though. So probably something is not working correctly.
There have been a few bugs here that have been fixed in the latest patch release.
If you want to manually patch, grabbing the following files from Git (Files · master · Composr ecosystem / Composr · GitLab) should fix it:
- site/pages/modules/groups.php
- sources/cns_groups2.php
- sources/forum/cns.php
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


Me said
I'll have to check on that, I can't remember the behaviour wrt the forum linkage OTTOMH.
As long as you have added an actual Club, not just a regular usergroup, you should see an Activity section when you view it that shows any topics in the forum and an add topic link.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


forum="2,5,9,11,12,14,25,17,18,13,30,40,51"
Is there a wildcard option for this argument? So that it includes all forums? Otherwise, as new forums are added, this argument will have to be edited with each new forum.
something like
forum="*"
Or perhaps there is some comcode that would do this:
forum="{$ALL_MEMBER_GROUPS,{$MEMBER}}"
Code
input class="cms_keep_ui_controlled" contenteditable="true" id="comcode_tag_8720511" readonly="readonly" size="45" style="cursor: pointer;" title="[block param="14" forum="2,5,9,11,12,14,25,17,18,13,30,40,51" member_based="0" date_key="firsttime" title="Recent Forum Activity" optimise="0"]main_forum_news[/block]" type="button" value="main_forum_news Comcode tag (dbl-click to edit/delete)" />


That parameter is Selectcode. A comma-separated list is a very basic usage of Selectcode, but you can do all kinds of things.
* should work yes.
But you can also do things like "Everything under a certain forum", e.g. 3* would be everything under forum #3. I can't remember if that includes forum 3 or not, but Selectcode is thoroughly documented in its tutorial.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.