How a user joins the workspace
http://doc.tikiwiki.org/PluginSubscribeGroup-PluginSubscribeGroups
and here are a few gotchas to use it for allowing joining a workspace.
activate the subscribegroup wikiplugin
this is done through the plugin tab on the textarea admin page/tiki-admin.php?page=textarea
In Groups Administration
- All the group you wanna people to be able to join (eg DemoGuests) must be marked as
+User can assign to the group himself - As you want already Registered users to be able to join another specific group:
+Registered group must have tiki_p_subscribe_groups permission set
1.1.3. If you want people to be able to choose the DemoGuests group at registration time
in the Login admin pagetiki-admin.php?page=login
you must mark both 'Registered' and ''DemoGuests' as
Users can select a group to join at registration
(note that if you mark only DemoGuests, users can't select anything, just become members of DemoGuests. So mark at least two, otherwise there will be no selection choice)
1.1.4. prepare a wiki-parsed user module like 'join_workspace_module', or a wiki_page, with the following code
{SUBSCRIBEGROUP(group=DemoGuests, subscribe="Subscribe to %s", unsubscribe="Leave %s", subscribe_action=OK, unsubscribe_action=OK) /}this wikiplugin is smart, so by himself will display Subscribe... if the user is not subscribed, Leave... if he's already in that group
you can make it so that it will be shown to anyone except to members of FOO group :
{GROUP(notgroups="FOO")}{SUBSCRIBEGROUP(group=DemoGuests, subscribe="Subscribe to %s", unsubscribe="Leave %s", subscribe_action=OK, unsubscribe_action=OK) /} {GROUP}
You can then make a link to the page, or assign the module to all 'registered' group.
Last wiki comments