How to subscribe to a usergroup


I want to use the usergroup subscription from ocportal. I've setup everything, but how my members can subscribe to the usergroup? How can I create a button on my website or my forum to let my members subscribe to the group?
Thanks!


I believe it will show upgrade links if you click the account button near the top right.
You could place those links (which are just deep links into the purchase module) anywhere you like into your page content / templates.
Using the Comcode 'if_in_group' tag should let you add the link only to members not already in a group. E.g. this targets non-administrators:
Code
[if_in_group="*,!2"]test[/if_in_group]
Best,
Chris
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.




In any case, the account button isn't in this design – but the side_personal_stats block does have these links if you want to put that somewhere.
Otherwise go to /site/index.php?page=purchase, and pick a subscription, and copy the address bar URL into a link somewhere in your design (could be on a menu, for example).
Or, you could link people directly to site:purchase for them to pick from the list here.
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.




If you upgrade to v10, does we have a lot of change to make?
They'd need to go through this upgrade process:
Upgrading from ocPortal v8/v9 to Composr v10 - Composr
This includes some amount of recreating the website theme.
Do we have the account upgrade section in the account section?
No, that's not currently a feature. I've added it to the tracker as it's an interesting approach.
0002399: Show usergroup subscription choices on member profiles - Composr CMS feature tracker
There's not really a reason to upgrade to v10 specifically for this, unless you're going to change the design to include the buttons at the top of v10 (similar to how you see them on this site).
So, someone just needs to read over what I said and implement some subscribe links somewhere on the site - it could be via a menu, it could be for example on a new page, it could be in a template (e.g. so they show in the footer).
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.


Brat Rat