Loading...
 

 Login Disabled

On 2017-04-04 we had a rather major disk malfunction that caused data loss. The data on this site is from 2016-11-05. We are still investigating possibilities to get newer backups, but please prepare for the worst. In the meanwhile InterTiki login (for editing) is temporarily disabled on this site.

User and Registration tracker



You can use trackers to collect additional information for users during registration. Some uses of this type of tracker could be:
  • To collect user information (such as mailing address or phone number)
  • To require the user to acknowledge a user agreement
  • To prevent spammer registration, by asking new users to provide a reason why they want to join (the prompt should tell the user that his answer should indicate that he or she clearly understands what the site is about).

See also: Group Tracker for a tracker that allows a sign-up form for groups.

Follow these steps carefully. Or you can apply the User Trackers profile in your Tiki site through the Profiles Wizard > "Demo of commonly used configurations" > User Trackers"


1. Activate tracker feature.

  1. Activate the tracker feature (admin->features->trackers)
    user_tracker_2_4.png

2. Enable the Registration Tracker.

  1. From the Administration: Login page, enable the Use tracker for more user information option.
    user_tracker_1_4.png

3. Configure the tracker.

  1. Create a new tracker (Admin Trackers link).
    1. From the Administration Menu, select Trackers > Admin Trackers link.
      user_tracker_3_4.png
    2. Click the Create Tracker tab.
    3. In Name, enter a name for the tracker, such as New User Registration Form.
      user_tracker_4_4.png
    4. Save the tracker.
    • To have the tracker's items visible to only the user, you must set special permissions on the tracker. This is optional and you can do this later if you want.
    • You do not have to apply tiki_p_create to the tracker.
  2. Add fields to the tracker.
    1. You must have at least one field of Type User selector with Function 1 (auto-assign). Staring from Tiki-8, this is done by setting the auto-assign option to creator
      This field will automatically contain the user's username.
      user_tracker_5_4.png
      Note Important: Be sure to note the FieldID for this field. You will need it later.
    2. Add other fields to the tracker to collect the desired information (such as addresses, phone numbers, etc)
    3. Save the fields.

4. Assign the tracker to the group "Registered".

  1. From the Admin groups page, edit the Registered group.
    user_tracker_6_4.png
  2. In the Users Information Tracker field, select the tracker that you created.
    user_tracker_7_4.png
  3. Save the group.
    Since Tiki 13, steps 3 and 4 are obsolete, the second droplist is immediateley available.
  4. Re-edit the Registered group. The Users Information Tracker now has a second droplist of the fields in the tracker.
  5. Select the field that you created earlier with Function = 1 (auto-assign).
    user_tracker_8_4.png
  6. In the Use Information Tracker Fields Asked at Registration Time field, indicate the ID of each tracker field to include in the form that users must complete as part of the registration process.
    user_tracker_9_4.png

Note: A user can choose at registration a group among a list of groups (the list is specified in "Admin > Login"), and set that each group has a different user tracker associated to it. This way, the tracker displayed at registration time would be the one assigned to the group selected by the new user at registration time.

Perms:
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 if (Item creator can modify his items) is set, he will be able to modify it.

Access to the user tracker item:
Important: It can be necessary in some case to set the group that has the tracker as the default group for the user.
The user can see his user tracker, if the permissions are ok with:
tiki-view_tracker_item.php?view=+user
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=+user

Note: a user can have many trackers items associated to him. Each tracker must have a field of type user selector and option creator(1). 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=+user - the group must have a user tracker
tiki-view_tracker_item.php?trackerId=yyyyy&view=+user - the tracker must be a user tracker

To let users edit their user tracker in a wiki page

example (replace ids with your own)
{TRACKER(trackerId="1", fields="2:3:4:5:7:8:9:10:11:27:17:28:19:12:22:21:18:20:
23:24:25:26", max="-1", view="user")}{TRACKER}

Note: "Only one item per user or IP" tracker option must be checked at tiki-admin_trackers.php?trackerId=yyy.

If you want nicer formatting of this page, you can use a Pretty Tracker

To synchronize the realName user preference from fields in the tracker

The realName user preference normally set in tiki-user_preference.php is used by Tiki to be shown in a variety of places, such as attribution for edits and so on. From Tiki 6 onwards, this realName user preference can be automatically updated whenever certain fields in the user tracker is updated.

To set this up, set "User tracker IDs to sync prefs from:", since there may be more than one user tracker if there are different ones set for different groups (but most of the time there will be only one). Then, set Tracker field IDs to sync Real Name pref from:". You can update from multiple fields and set the priority of field sets to choose from. For example, if fieldId 10 is First Name, 11 is Last Name, and 12 is Preferred Name, then a setting of "12,10+11" will first check if the user has a preferred name set and use that if so, and if not, then it will use the First Name/Last Name combination with a space in between.

Using Pretty Trackers to generate the Registration Tracker

This is available from Tiki8 (is available in Tiki 6 but may require some tweaking to work properly). See Pretty Trackers.

To set this up, turn on the feature "Use pretty trackers for registration form", and specify a wiki page template or .tpl file template to be used as the pretty tracker template under "Registration pretty tracker template:"
If a wiki page is specified as template, you need to apply the permission tiki_p_use_as_template for Anonymous on the wiki page.

In addition to regular Pretty Tracker fields to refer to fields in the User tracker, you have the following syntax that you will have to use in your pretty tracker template to place basic registration fields.
{$register_login}
{$register_email}
{$register_pass}
{$register_pass2}
{$register_passcode} 
{$register_groupchoice}

In Tiki 8 you have to specify:
{$register_antibot}

  • register_pass2 refers to refers to the repeat password field.
  • register_passcode refers to the passcode that the user might have to enter to be able to register if that feature is enabled
  • register_groupchoice refers to the group selection field if that feature is enabled
  • if you have "Use email as login" feature enabled, register_login is the one you should use, and register_email is not needed.
To have the user name link (when clicking on a username or realname) to go to the user tracker item instead of the Tiki user preferences.

Go to Admin -> General -> Navigation;
In the field "URL to go to when clicking on a username" :
tiki-view_tracker_item.php?trackerId=1&view=+user&user=%user%

(trackerId= your user information tracker id)

Be sure that your user information are set to "Public" by default.

See Also


alias

doc.tiki.org


Bootstrap

AdminGuide

UserGuide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC


Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki