Loading...
 

History: User_Trackers

Preview of version: 65

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, ICQ, 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 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 type: text_field 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 type: text_field 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_icq data: name: ICQ tracker: $user_tracker type: text_field flags: [ public ] order: 220 - type: tracker_field ref: user_msn data: name: MSN tracker: $user_tracker type: text_field flags: [ public ] order: 230 - type: tracker_field ref: user_aol data: name: AOL tracker: $user_tracker type: text_field flags: [ public ] order: 240 - type: tracker_field ref: user_yahoo data: name: Yahoo tracker: $user_tracker type: text_field flags: [ public ] order: 250 - 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")} * 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




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_primary_phone$, $profileobject:user_street_address$, $profileobject:user_city$, $profileobject:user_state$, $profileobject:user_zip_code$, $profileobject:user_country$, $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
Fri 02 of Jun, 2017 20:12 GMT-0000 luciash d' being 🧙 remove outdated fields like AOL, ICQ, etc. + uncategorize deprecated Tiki 5.x version 72
Tue 17 of Jan, 2017 10:24 GMT-0000 Xavier de Pedro ready for tiki16+ also 71
Fri 14 of Oct, 2016 09:17 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 70
Fri 20 of May, 2016 10:33 GMT-0000 Xavier de Pedro changed Name from text field to realName userpreference also. and set prefs to sync realName from tracker 69
Fri 06 of May, 2016 14:13 GMT-0000 Xavier de Pedro added trackerfield_userpreference 68
Fri 06 of May, 2016 14:10 GMT-0000 Xavier de Pedro converted email from text field into preference 67
Fri 15 of Aug, 2014 11:20 GMT-0000 Xavier de Pedro added two extra fields for headers to showcase its use 66
Fri 15 of Aug, 2014 11:01 GMT-0000 Xavier de Pedro replaced dashes with underscores in tracker field references, so that they can be used as registrationFields 65
Fri 15 of Aug, 2014 10:51 GMT-0000 Xavier de Pedro change group for the User Tracker from Members to Registered, so that it's easier for new admins to see how to use this feature (with less number of clicks after profile has been applied). Please, rev 64
Fri 15 of Aug, 2014 10:48 GMT-0000 Xavier de Pedro added a few more fields as shown in the registration process 63
Mon 28 of Apr, 2014 10:31 GMT-0000 Xavier de Pedro added screenshot 62
Sat 01 of Mar, 2014 16:09 GMT-0000 Xavier de Pedro 4th attempt to make it work 61
Sat 01 of Mar, 2014 16:03 GMT-0000 Xavier de Pedro 3rd attempt to make ti work 60
Sat 01 of Mar, 2014 15:59 GMT-0000 Xavier de Pedro 2nd attempt to make it work 59
Sat 01 of Mar, 2014 15:57 GMT-0000 Xavier de Pedro attempting to specify a few registration fields for demostration purposes from the whole list of fields. To be reviewed by the admin after applying the profile, as usual 58
Sat 01 of Mar, 2014 14:01 GMT-0000 Xavier de Pedro added a new field for demonstration purposes of static text with a few plugins for more versatility 57
Thu 27 of Feb, 2014 18:13 GMT-0000 Xavier de Pedro make doc url absolute so that it displays properly from the profile admin panel, and make mandatory the user name instead of the skype Id 56
Sat 22 of Feb, 2014 18:34 GMT-0000 Xavier de Pedro cleared the descritpion. Works as-is in Tiki12 55
Wed 09 of Jun, 2010 12:23 GMT-0000 Jonny Bradley 54
Wed 09 of Jun, 2010 12:22 GMT-0000 Jonny Bradley 53
Thu 04 of Mar, 2010 18:40 GMT-0000 Marc Laporte [rollback version 50] 52
Thu 04 of Mar, 2010 18:45 GMT-0000 Marc Laporte back to registered group 51
Thu 04 of Mar, 2010 18:40 GMT-0000 Marc Laporte 50
Thu 04 of Mar, 2010 16:43 GMT-0000 Marc Laporte plugin editor must be off 49
Wed 03 of Mar, 2010 22:54 GMT-0000 sylvie 48