Group Trackers
Groups trackers are trackers that can be used to:
- Show a tracker item for each user from a group of users in the tiki site, while avoiding that other users can see other tracker items.
- "register" an existing user to become a member of a group, as like an application form. The function much like User tracker do.
It might not be working as expected in Tiki 2.x sites, whereas it has been reported to work as expected in Tiki3. There is an alternative method explained below to get a similar behavior in Tiki 2.x sites.
To Enable
In Admin>Login you can check the following:
Use tracker for more group information: checkbox needed
Creating Groups Trackers
0) Create the Groups Create a group as normal. see: Groups Management. Ensure that "User can assign to the group himself"
1) Create a tracker tiki-admin_tracker.php The tracker must contain a field of type user selector with the option 1 If you want the items to be seen only by his user, you must set special perm on the tracker, as tiki_p_admin_trackers for the admin group. Even if there is no tiki_p_create_tracker_items for the tracker, the user will be able to create his item and to modify it.
2) Associate the tracker with a group tiki-admingroups.php You need to select the tracker and the fieldId of the user selector/option 1 field.
3) Save your changes in step two, then add fields. To be able to set the list of fields for the group tracker you must first save. Then you can decide if a field is mandatory or not, you can use this tracker as a mandatory set of new fields for registering for that group.
Then each user of this group will have a tracker item that he will be able to modify from MyTiki.

4) Viewing, editing. The user must have the group as his default group
5) Groups Tracker Permissions. The user can see his item in the group tracker, if the permissions are ok with: tiki-view_tracker_item.php?view=+group You can see the user tracker of another user , if the permissions are ok and if the item exists with: tiki-view_tracker_item.php?user=yyyyy&view=+group
Alternative method in for Tiki 2.x sites
You can set your fields to be "visible by creator & admin only", and the tracker field level, option "Field is hidden?". This way, each user will be able to see his/her own tracker item through "My Tiki", but even if that user types the url of another tracker item (for another user), nothing will be shown at the tracker item level.
Additional comments
Note: a user can have many Groups Trackers associated to him. Each tracker must have a field of type user and option creator. To be able to see the item associated to the user (if permissions are ok) you can use: tiki-view_tracker_item.php?group=xxx&user=yyyyy&view=+group - the group must have a user tracker tiki-view_tracker_item.php?trackerId=yyyyy&view=+group - the tracker must be a user tracker
For more information see trackers and Groups Management
Contributors to this page: Marc Laporte
,
xavi
and
mlpvolt
.
Page last modified on Tuesday 09 February, 2010 03:11:58 UTC by Marc Laporte
.
