Loading...
 

History: User_Trackers

Preview of version: 72 (current)

A User tracker is a powerful and flexible feature which can be tricky to setup. This profile helps in this task.

The profile has a few common fields (First name, Last name, Address, etc) that can hold the data from users. Some fields can be shown, for instance, in the registration form, and some others can eventually be filled in a later stage.

Please see doc: User tracker

User_Trackers
User_Trackers Profile


Features

YAML
preferences: allowRegister: y # Allow users to create new accounts feature_mytiki: y feature_userPreferences: y feature_trackers: y userTracker: y trackerfield_userpreference: y user_trackersync_trackers: [ $user_tracker ] user_trackersync_realname: $profileobject:user_name$ validateUsers: n # This is slowing us down as we build the profile wikiplugin_fade: y # for demonstration purposes in a static text field wikiplugin_tabs: y # for demonstration purposes in a static text field


User tracker definition

YAML
objects: - type: tracker ref: user_tracker data: name: Users description: Information about users default_status: open show: [ creation_date, modification_date, list_modification_date ] allow: [ creator_modification, one_item_per_user] - type: tracker_field ref: login data: name: login tracker: $user_tracker type: user flags: [ searchable, public, list, mandatory, link ] order: 10 options: 1 - type: tracker_field ref: user_name data: name: Name tracker: $user_tracker options: type: realName type: preference flags: [ public, mandatory ] order: 20 - type: tracker_field ref: user_business_name data: name: Business Name tracker: $user_tracker type: text_field flags: [ public ] order: 30 - type: tracker_field ref: user_short_description data: name: Short Description tracker: $user_tracker type: text_field flags: [ public ] order: 40 - type: tracker_field ref: user_long_description data: name: Long Description tracker: $user_tracker type: text_area flags: [ public ] order: 50 - type: tracker_field ref: user_profession data: name: Profession tracker: $user_tracker type: text_area flags: [ public ] order: 60 - type: tracker_field ref: user_products data: name: Products tracker: $user_tracker type: text_area flags: [ public ] order: 70 - type: tracker_field ref: user_services data: name: Services tracker: $user_tracker type: text_area flags: [ public ] order: 80 - type: tracker_field ref: user_bio data: name: Bio tracker: $user_tracker type: text_area flags: [ public ] order: 90 - type: tracker_field ref: user_comments data: name: Comments tracker: $user_tracker type: text_area flags: [ public ] order: 100 - type: tracker_field ref: user_street_address data: name: Street Address tracker: $user_tracker type: text_field flags: [ public ] order: 110 - type: tracker_field ref: user_city data: name: City tracker: $user_tracker type: text_field flags: [ public ] order: 120 - type: tracker_field ref: user_state data: name: State tracker: $user_tracker type: text_field flags: [ public ] order: 130 - type: tracker_field ref: user_zip_code data: name: Zip Code tracker: $user_tracker type: text_field flags: [ public ] order: 140 - type: tracker_field ref: user_country data: name: Country tracker: $user_tracker type: country flags: [ public ] order: 150 - type: tracker_field ref: user_email data: name: Email tracker: $user_tracker options: type: email type: preference flags: [ public ] order: 160 - type: tracker_field ref: user_website data: name: Website tracker: $user_tracker type: text_field flags: [ public ] order: 170 - type: tracker_field ref: user_primary_phone data: name: Primary Phone tracker: $user_tracker type: text_field flags: [ public ] order: 180 - type: tracker_field ref: user_secondary_phone data: name: Secondary Phone tracker: $user_tracker type: text_field flags: [ public ] order: 190 - type: tracker_field ref: user_facebook data: name: Facebook page tracker: $user_tracker type: text_field flags: [ searchable, public, list ] order: 200 - type: tracker_field ref: user_skypeid data: name: SkypeID tracker: $user_tracker type: text_field flags: [ public ] order: 21 - type: tracker_field ref: user_customNote data: name: Note tracker: $user_tracker options: wikiparse: 1 max: 30 type: static flags: [ public ] order: 5 description: | {TABS(name="Custom info" tabs="Read this first|Feedback" toggle="y" inside_pretty="n")} (:exclaim:) Take into consideration the latest changes in our site / organization. %%% %%% {FADE(label="Read more", icon="y", bootstrap="y")} * Some more information about this topic comes here... * Some more information about this topic comes here... * Some more information about this topic comes here... {FADE} ///// You can provide some feedback by means of ... ~~red:[[change me]~~. {TABS} descparsed: y - type: tracker_field ref: user_contactAddressInformation data: name: Contact Address Information permname: address tracker: $user_tracker options: level: 2 toggle: o type: header order: 25 flags: - public - type: tracker_field ref: user_onlineContactInformation data: name: Online Contact Information permname: onlineContactInformation tracker: $user_tracker options: level: 2 toggle: o type: header order: 155 flags: - public




Todo

  • Make sure "Only one item per user or IP" is assigned in tracker

Adding module

This is a box on the side which permits quick access to one's user tracker.

YAML
objects: - type: module data: name: usergroup_tracker position: right order: 1 groups: [ Registered ]


Group

This part is an attempt to correspond the Registered group to the newly created user_tracker but it's not working. fixed in 3.1?

YAML
permissions: Registered: description: users of the web site user_tracker: $user_tracker user_tracker_field: $login registration_fields: [ $profileobject:user_customNote$, $profileobject:user_name$, $profileobject:user_contactAddressInformation$, $profileobject:user_primary_phone$, $profileobject:user_street_address$, $profileobject:user_city$, $profileobject:user_state$, $profileobject:user_zip_code$, $profileobject:user_country$, $profileobject:user_onlineContactInformation$, $profileobject:user_website$, $profileobject:user_skypeid$, $profileobject:user_comments$]



Add post-install instructions


This will include: User_Trackers_include_wiki_page with post-install instructions

YAML
instructions: User_Trackers preferences: enable: [ feature_wiki ] objects: - type: wiki_page ref: User_Trackers_include_wiki_page data: name: User_Trackers description: What needs to be done lang: en content: wikicontent:User_Trackers_include_wiki_page



Todo

  • Make my profile wiki page with {TRACKER(trackerId=>1, showmandatory=>y view=user)} {TRACKER}


Give tiki_p_create_tracker_items to Registered so they may use this page, and avoid the need to first need to go to tiki-view_tracker_item.php?view=+user

History

Advanced
Information Version
Wed 03 of Mar, 2010 22:52 GMT-0000 sylvie 47
Wed 03 of Mar, 2010 18:53 GMT-0000 Marc Laporte 46
Wed 03 of Mar, 2010 18:41 GMT-0000 Marc Laporte Let's try this 45
Wed 03 of Mar, 2010 18:34 GMT-0000 Marc Laporte trying with different group name to see if it will work (create vs update) 44
Fri 26 of Feb, 2010 22:44 GMT-0000 Marc Laporte 43
Fri 26 of Feb, 2010 22:32 GMT-0000 Marc Laporte Plugin modified by editor. 42
Fri 26 of Feb, 2010 20:25 GMT-0000 Marc Laporte 41
Fri 26 of Feb, 2010 18:38 GMT-0000 Marc Laporte 40
Fri 26 of Feb, 2010 17:35 GMT-0000 Marc Laporte we don't want emails sent out 39
Fri 26 of Feb, 2010 17:23 GMT-0000 Marc Laporte 38
Fri 11 of Sep, 2009 18:49 GMT-0000 Marc Laporte 37
Wed 15 of Jul, 2009 13:29 GMT-0000 Marc Laporte 36
Wed 15 of Jul, 2009 12:30 GMT-0000 Marc Laporte 35
Thu 18 of Jun, 2009 23:09 GMT-0000 Marc Laporte 34
Thu 23 of Apr, 2009 19:05 GMT-0000 Marc Laporte 33
Thu 23 of Apr, 2009 18:24 GMT-0000 Marc Laporte 32
Thu 23 of Apr, 2009 18:10 GMT-0000 Marc Laporte 31
Sun 19 of Apr, 2009 05:55 GMT-0000 shawnadler 30
Wed 22 of Apr, 2009 16:39 GMT-0000 Jonny Bradley 29
Wed 22 of Apr, 2009 16:38 GMT-0000 Jonny Bradley 28
Wed 22 of Apr, 2009 16:38 GMT-0000 Jonny Bradley 27
Wed 22 of Apr, 2009 16:37 GMT-0000 Jonny Bradley 26
Wed 22 of Apr, 2009 16:36 GMT-0000 Jonny Bradley 25
Wed 22 of Apr, 2009 16:33 GMT-0000 Jonny Bradley 24
Sun 19 of Apr, 2009 05:55 GMT-0000 shawnadler 23