Loading...
 

History: SNiPTT

Preview of version: 28

SNiPTT stands for Social Networking in Pretty Tiki Trackers. This profile is intended to help with building a Social Networking website based mainly on the powerful Tiki Trackers feature.

Global Preferences

YAML
preferences: # alphabetically sorted allowRegister: y # Allow users to create new accounts feature_mytiki: y feature_userPreferences: y userTracker: y validateUsers: n # This is slowing us down as we build the profile


Categories

YAML
preferences: feature_categories: y objects: - type: category ref: pretty_tracker_templates_category data: name: Pretty Tracker Templates description: For Wiki pages serving as templates for Tracker and TrackerList wikiplugins items: - [ wiki_page, User Profile template ] - [ wiki_page, User Posts template ] - [ wiki_page, Edit User Post template ] - type: category ref: sniptt_trackers_category data: name: User Trackers description: Trackers related to the SNiPTT profile items: - [ tracker, $user_posts_tracker ] - [ tracker, $user_profile_tracker ]


Permissions

YAML
permissions: Registered: description: Will be ignored because group is already created allow: [ ] deny: [ ] objects: - type: category id: $pretty_tracker_templates_category allow: [ use_as_template ] deny: [ view, edit ] objects: - type: category id: $sniptt_trackers_category allow: [ create_tracker_items, view_trackers ] deny: [ ]


This profile applies two trackers.

User Profile Tracker

YAML
preferences: feature_trackers: y objects: - type: tracker ref: user_profile_tracker data: name: User Profile description: Additional information about users default_status: open #allow: [creator_modification, one_user_item] #one_user_item is just a guess, no idea if it is supported already hide_list_empty_fields: y show: [creation_date, modification_date, list_modification_date ] sort_default_order: asc - type: tracker_field ref: user_name data: name: User Login Name tracker: $user_profile_tracker type: user flags: [searchable, public, link, list, mandatory] options: 1 order: 10 - type: tracker_field ref: real_name data: name: Real Name tracker: $user_profile_tracker type: preference flags: [searchable, public, list] options: realName order: 20


User Posts Tracker

YAML
preferences: feature_trackers: y objects: - type: tracker ref: user_posts_tracker data: name: User Posts description: User posts for "micro-blogging" purposes default_status: open allow: [comments, creator_modification] hide_list_empty_fields: y show: [creation_date, modification_date, list_modification_date ] sort_default_order: asc - type: tracker_field ref: user_post_username data: name: User Login Name tracker: $user_posts_tracker type: user flags: [searchable, public, link, list, mandatory] options: 1 order: 10 - type: tracker_field ref: user_post_body data: name: Post Body tracker: $user_posts_tracker type: a flags: [searchable, public, mandatory] options: 1,80,4,1024,1024 order: 20


Wiki Pages

The following wiki pages are applied

First we make sure Wiki feature is on and set up other wiki related preferences used by this profile:
YAML
preferences: feature_wiki: y feature_wiki_argvariable: y # we are gonna use arg variables in our wiki page templates like {{foo}} (its value will be filled from URL param &foo=bar)


This Wiki page template will be used by Tracker wikiplugin to display a form to post/edit a User Post:
YAML
objects: - type: wiki_page ref: edit_user_post_tpl_wiki_page data: name: Edit User Post template content: wikicontent:SNiPTT_Edit_User_Post_template


Wiki page with posts by myself or by a specified user (when &tr_user=foo is present in URL):
YAML
objects: - type: wiki_page ref: user_posts_wiki_page data: name: User Posts content: wikicontent:SNiPTT_User_Posts - type: wiki_page ref: user_posts_tpl_wiki_page data: name: User Posts template content: wikicontent:SNiPTT_User_Posts_template


And an extra Wiki page to show posts from all users:
YAML
objects: - type: wiki_page ref: all_users_posts_wiki_page data: name: All Users Posts content: wikicontent:SNiPTT_All_Users_Posts


And finally we apply this Wiki page to display a whole User Profile "home" page:
YAML
objects: - type: wiki_page ref: user_profile_wiki_page data: name: User Profile content: wikicontent:SNiPTT_User_Profile - type: wiki_page ref: user_profile_tpl_wiki_page data: name: User Profile template content: wikicontent:SNiPTT_User_Profile_template


History

Advanced
Information Version
Tue 25 of May, 2010 11:49 GMT-0000 luciash d' being added a little warning remarksbox 34
Tue 18 of May, 2010 17:19 GMT-0000 luciash d' being 33
Tue 18 of May, 2010 16:59 GMT-0000 luciash d' being 32
Tue 18 of May, 2010 16:50 GMT-0000 luciash d' being 31
Fri 14 of May, 2010 00:39 GMT-0000 luciash d' being trying to put categories and perms to the end when wiki pages and trackers are already applied and exist to be properly assigned (if that order matters) 30
Fri 14 of May, 2010 00:20 GMT-0000 luciash d' being 29
Thu 13 of May, 2010 22:12 GMT-0000 luciash d' being 28
Thu 13 of May, 2010 20:27 GMT-0000 luciash d' being 27
Thu 13 of May, 2010 19:58 GMT-0000 luciash d' being oops, Profile -> Post 26
Sun 09 of May, 2010 00:51 GMT-0000 luciash d' being 25
Sun 09 of May, 2010 00:50 GMT-0000 luciash d' being 24
Sun 09 of May, 2010 00:25 GMT-0000 luciash d' being 23
Sun 09 of May, 2010 00:03 GMT-0000 luciash d' being 22
Sat 08 of May, 2010 23:54 GMT-0000 luciash d' being 21
Sat 08 of May, 2010 23:33 GMT-0000 luciash d' being 20
Sat 08 of May, 2010 23:10 GMT-0000 luciash d' being 19
Sat 08 of May, 2010 22:45 GMT-0000 luciash d' being categs and perms 18
Sat 08 of May, 2010 21:05 GMT-0000 luciash d' being no need to specify theme and remember me feature 17
Sat 08 of May, 2010 15:29 GMT-0000 luciash d' being 16
Sat 08 of May, 2010 15:07 GMT-0000 luciash d' being 15
Sat 08 of May, 2010 14:53 GMT-0000 luciash d' being 14
Sat 08 of May, 2010 14:19 GMT-0000 luciash d' being 13
Sat 08 of May, 2010 14:15 GMT-0000 luciash d' being 12
Sat 08 of May, 2010 14:13 GMT-0000 Pascal St-Jean 11
Sat 08 of May, 2010 14:11 GMT-0000 Pascal St-Jean 10