How to subscribe to a usergroup
Posted
#459
(In Topic #147)
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!
Posted
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
Posted
Posted
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.
Posted
Posted
If you upgrade to v10, does we have a lot of change to make?
They'd need to go through this upgrade process:
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).
Posted
Brat Rat
0 guests and 0 members have recently viewed this.