Loading...
Use
Create
Develop
FAQ
Troubleshooting
History: SNiPTT
View page
Show All Versions
Source of version: 76
«
»
{REMARKSBOX(type="warning",title="Warning",highlight="y")}{CENTER()}__This Profile Is Still Work In Progress !__ __See the [http://dev.tikiwiki.org/tiki-index.php?page=SNiPTT%20Profile|development process page|rel=box;] at __ {CENTER}{REMARKSBOX}{DIV(class=cbox float=right)}{maketoc}{DIV}{DIV(class=clearfix)} __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.{DIV} ! Global Preferences {CODE(caption=>YAML, wrap=>1)} instructions: SNiPTT Setup # page where admin is redirected after applying the profile preferences: # some mandatory prefs to make sure all will work for us (alphabetically sorted) error_reporting_adminonly: y # enable error reporting for debugging purposes error_reporting_level: -1 feature_custom_center_column_header: {if $user}{wiki}[tiki-index.php|Home] | ((User Profile|My Profile)) | [tiki-user_preferences.php|Preferences] | [tiki-logout.php|Logout]{/wiki}{if $tiki_p_admin eq "y"}{wiki}[tiki-admin.php?profile=SNiPTT&page=profiles&list=List|Re-apply this profile]{/wiki}{/if}{/if} # re-apply link only for development purpose (will be removed from final) feature_fullscreen: y # it is useful to have Fullscreen mode available feature_mytiki: y feature_userPreferences: y wikiplugin_jq: y userTracker: y {CODE} ! Dependencies This profile depends on and applies the following (mini) profile and its snippets in the following older: {CODE(caption=>YAML,wrap=>1)} dependencies: - $profiles.tikiwiki.org:User_Tracker:user_tracker - $profiles.tikiwiki.org:User_Tracker_profile_picture_field:user_profile_picture - $profiles.tikiwiki.org:User_Tracker_real_name_field:real_name - $profiles.tikiwiki.org:User_Tracker_nick_name_field:nick_name - $profiles.tikiwiki.org:User_Tracker_welcome_name_field:welcome_name {CODE} ! Trackers {CODE(caption=>YAML,wrap=>1)} preferences: feature_trackers: y {CODE} This profile applies the following trackers: !! User Tracker ((User_Tracker|User Tracker)) mini-profile as dependency including extra additional fields as profile snippets (see above). !! User Followers Tracker {CODE(caption=>YAML,wrap=>1)} objects: - type: tracker ref: user_followers_tracker data: name: User Followers description: Who follows whom default_status: open allow: [ creator_modification ] hide_list_empty_fields: y show: [creation_date, modification_date, list_modification_date ] sort_default_order: asc {CODE} !!! Fields {CODE(caption=>YAML,wrap=>1)} objects: - type: tracker_field ref: user_login_name data: name: User Login Name tracker: $user_followers_tracker type: user flags: [ searchable, public, link, list, mandatory ] options: 1 order: 10 - type: tracker_field ref: user_follower_name data: name: Follower tracker: $user_followers_tracker type: user flags: [ searchable, public, link, list, mandatory ] order: 20 {CODE} !! User Posts Tracker {CODE(caption=>YAML,wrap=>1)} 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 - type: tracker_field ref: user_post_body data: name: Post Body tracker: $user_posts_tracker type: a flags: [searchable, public, mandatory] options: 0,80,4,1024,1024 {CODE} ! Wiki Pages The following wiki pages are applied: * ((SNiPTT_User_Profile)) * ((SNiPTT_Edit_User_Profile)) * ((SNiPTT_Edit_User_Profile_Picture)) * ((SNiPTT_All_Users_Posts)) * ((SNiPTT_User_Posts)) * ((SNiPTT_Setup)) The following wiki pages are applied as Pretty Tracker templates: * ((SNiPTT_User_Profile_template)) * ((SNiPTT_Edit_User_Profile_template)) * ((SNiPTT_Edit_User_Post_template)) * ((SNiPTT_User_Posts_template)) First lets make sure Wiki feature is on and set up other wiki related preferences used by this profile: {CODE(caption=>YAML,wrap=>1)} 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) {CODE} After applying the profile an admin is redirected to this setup page with further instructions: {CODE(caption=>YAML,wrap=>1)} objects: - type: wiki_page ref: sniptt_setup_wiki_page data: name: SNiPTT Setup content: wikicontent:SNiPTT_Setup {CODE} This Wiki page template will be used by Tracker wikiplugin to display a form to post/edit a User Post: {CODE(caption=>YAML,wrap=>1)} objects: - type: wiki_page ref: edit_user_post_tpl_wiki_page data: name: Edit User Post template content: wikicontent:SNiPTT_Edit_User_Post_template {CODE} Wiki page with posts by myself or by a specified user (when &tr_user=foo is present in URL): {CODE(caption=>YAML,wrap=>1)} 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 {CODE} And an extra Wiki page to show posts from all users: {CODE(caption=>YAML,wrap=>1)} objects: - type: wiki_page ref: all_users_posts_wiki_page data: name: All Users Posts content: wikicontent:SNiPTT_All_Users_Posts {CODE} Editing part of the User Profile data: {CODE(caption=>YAML,wrap=>1)} objects: - type: wiki_page ref: edit_user_profile_wiki_page data: name: Edit User Profile content: wikicontent:SNiPTT_Edit_User_Profile - type: wiki_page ref: edit_user_profile_tpl_wiki_page data: name: Edit User Profile template content: wikicontent:SNiPTT_Edit_User_Profile_template {CODE} Edit Profile Picture: {CODE(caption=>YAML,wrap=>1)} objects: - type: wiki_page data: name: Edit User Profile Picture content: wikicontent:SNiPTT_Edit_User_Profile_Picture {CODE} Finally we apply this Wiki page to display the whole User Profile "home" page: {CODE(caption=>YAML,wrap=>1)} 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 {CODE} !Categories {CODE(caption=>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 Profile template ] - [ wiki_page, Edit User Profile Picture 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, $profiles.tikiwiki.org:User_Tracker:user_tracker ] {CODE} !Permissions {CODE(caption=>YAML)} permissions: Admins: description: Administrator and accounts managers allow: [ admin, trust_input ] Registered: description: Users logged into the system 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: [ ] {CODE}
History
Enable pagination
rows per page
HTML diff
Side-by-side diff
Side-by-side diff by characters
Inline diff
Inline diff by characters
Full side-by-side diff
Full side-by-side diff by characters
Full inline diff
Full inline diff by characters
Unified diff
Side-by-side view
HTML diff
Side-by-side diff
Advanced
Information
Version
Sat 28 of Aug, 2010 16:08 GMT-0000
luciash d' being 🧙
create some test users by applying this profile
84
Sat 28 of Aug, 2010 14:34 GMT-0000
luciash d' being 🧙
absolute URL
82 - 83
Sat 28 of Aug, 2010 13:30 GMT-0000
luciash d' being 🧙
just a hint
80 - 81
Sat 28 of Aug, 2010 03:43 GMT-0000
luciash d' being 🧙
fixed profilerequest syntax
78 - 79
Sat 28 of Aug, 2010 03:06 GMT-0000
luciash d' being 🧙
by default do not display page titles but make it optional choice
76 - 77
Fri 27 of Aug, 2010 02:55 GMT-0000
luciash d' being 🧙
added item to category
75
Fri 27 of Aug, 2010 02:24 GMT-0000
luciash d' being 🧙
SNiPTT_Edit_User_Profile_Picture added
74
Fri 27 of Aug, 2010 01:16 GMT-0000
luciash d' being 🧙
enable error reporting
73
Thu 26 of Aug, 2010 20:48 GMT-0000
luciash d' being 🧙
72
Thu 26 of Aug, 2010 19:18 GMT-0000
luciash d' being 🧙
71
Thu 26 of Aug, 2010 15:51 GMT-0000
luciash d' being 🧙
70
Thu 26 of Aug, 2010 03:05 GMT-0000
luciash d' being 🧙
61 - 69
Thu 26 of Aug, 2010 00:54 GMT-0000
luciash d' being 🧙
60
Select action to perform with checked...
Remove
OK
«
1
2
(current)
3
4
5
»
Menu
Featured profiles
Profiles in Wizard
Profiles Todos
Handlers
Profiles Tester
Admin
of this site
Current Profiles
Tiki version
21.x
24.x
26.x
27.x
28.x
Deprecated
25.x
state
Not fully functional yet
alpha
beta
release
type
Available in the Profiles Wizard (12+)
Featured profiles
Full profile (out of the box & ready to go)
Learning profile (to show off feature)
Long tail
Mini-profile (can be included in other)
Profile-snippet (optional but needs another "parent" profile)
Security
Tests
Latest Changes
Timesheets
test_profile_change
Easy_GeoBlog
test_new_personal_blog_social_include
test_new_personal_blog_aio
test_new_personal_blog_vlog_include
test_new_personal_blog_about_include
test_new_personal_blog
test_new_small_organization_web_presence
Company_Intranet_21
personal_blog_and_profile_post1_include
personal_blog_and_profile_vlog_include
test_new_personal_blog_instructions
test_new_small_organization_web_presence_instructions
test_new_small_organization_web_presence_homepage_include
test_new_small_organization_web_presence_mission_include
test_new_small_organization_web_presence_about_include
test_new_small_organization_web_presence_services_include
test_new_small_organization_web_presence_testimonials_include
Small_Organization_Web_Presence_21
...more
Like almost all *.tiki.org sites, you can log in with your login from
https://tiki.org
(register over there)
Search
Find
Most Popular Tags
admin
agenda
alias
antibot
antibot captcha
app
archive
articles
banning
batch
blogs
calculations
calendars
cart
categories
cluster
codemirror
comments
computation
contact us
datachannel
debug
debug console
dropdown with other
error messages
features
file galleries
forums
geo
geocms
geolocation
group homepages
group watches
header
i18n
images
item link
items list
jquery
languages
location
map
maps
maths
menu
menupage
multilingual
ol3
ol5
openlayers
paypal
plugin
plugin alias
plugin datachannel
plugin fade
plugin tabs
plugin trackerlist
pretty trackers
print
project management
r
r project
realnames
rss
static
static text
statistics
stats
structures
syntax highlighter
tablesorter
template
trackers
user watches
visualization
watches
webservice
wiki
wiki argument variables
wiki structures
Tiki Newsletter
Subscribe to the Tiki newsletter.
Don't miss major announcements and other news!