Allow users to subscribe to a group
PluginSubscribeGroup/PluginSubscribeGroups
There are 2 plugins you can give a user the opportunity to subscribe to a group:- PluginSubscribeGroup
- PluginSubscribeGroups
Security Caution: Using these plugins, any registered user will be able to access any group, provided that this group has the "User Choice" checked.
1. Plugin Subscribe Group
Requires:Tikiwiki >=2.0If you have allow users to subscribe themselves to group, you can use this plugin to allow them to subscribe/unsubscribe to a specific group.
1.1. Syntax
{SUBSCRIBEGROUP(group=Editors,
subscribe="Subscribe to %s", unsubscribe="Leave %s",
subscribe_action=Name of subscribe submit button, unsubscribe_action=Name of unsubscribe submit button) /}
|
or this screen
|
1.2. Parameters
| Parameter | Values | Description | Since | |
| group | string - a group | mandatory | The group you want the user to subscribe/unsubscribe. You must have allow this group to be a subscribable group | |
| subscribe | string | optional | text to subscribe - default "Subscribe to %s" - %s will be replace by the groupname - use double quote to enclose the string if special character - if the param exists but has no value, only the button will be displayed | |
| unsubscribe | string | optional | text to unsubscribe - default "Unsubscribe %s" - %s will be replace by the groupname - use double quote to enclose the string if special character - if the param exists but has no value, only the button will be displayed | |
| subscribe_action | string | optional | label of the subscribe submit button - default OK | |
| unsubscribe_action | string | optional | label of the unsubscribe submit button - default OK |
1.3. Security
- A user must have the perm tiki_p_subscribe_groups to be able to see the box
- The group must be set as being a user choice
1.4. Notice
- If you use this plugin with the plugin GROUP, Be careful that is GROUP is used before, the change will not be immediately shown. GROUP uses after SUBSCRIBEGROUP will be fine
- A module with a filter on the group will be affected as soon as the group is changed
2. Plugin Subscribe Groups
If you have allow users to subscribe themselves to group, you can use this plugin to allow them to subscribe/unsubscribe to a list of groups.
|
2.1. Syntax
{SUBSCRIBEGROUPS(groups=Editors:Teachers,
subscribe="Subscribe to a group") /}2.2. Parameters
| Parameter | Values | Description | Since | |
| groups | strings separated by a colon : | optional | The list of groups. By default, it is the list of groups a user can choose | |
| including | string | optional | will give all the groups including this group | tw>4.0 |
| subscribe | text | optional | the text that will appear in the drop down box. By default, it is 'Subscribe to a group' | |
| showsubscribe | y or n | optional | shows the subscribe drop down box, Default, y | tw>=4.0 |
| showdefault | y or n | optional | shows the default group is any and allows to change the default group. Default: n | tw>=4.0 |
| showgroudescription | y or n | optional | shows the group description. Default, n | tw>=4.0 |
| defaulturl | url or page... | optional | to redirect when clicking on default | tw >=4.0 |
2.3. Notice
In the list of groups, you can see included groups in italic. You can not unsubscribe to an included group, if you are in the including group2.4. Security
- A user must have the perm tiki_p_subscribe_group to be able to see the box
- The group must be set as being a user choice
Alias
- PluginSubscribeGroup/PluginSubscribeGroups
- PluginSubscribeGroup
- PluginSubscribeGroups
- PluginSubscribeGroup - PluginSubscribeGroups
Contributors to this page: lindon
,
marclaporte
,
mlpvolt
,
xavi
and
sylvie
.
Page last modified on Saturday 13 March, 2010 05:40:48 UTC by lindon
.
Sidebar
Sidebar
To register
To have an account at this site, please register at Tikiwiki.org
, and then use that user name and password to log in here.



