Per-site profile pages
nav_first.pngFirst: thread:131
HTML Block
Edited: 11 Oct 2012 12:06 by: James Kanjo
Comments: 0
Tags:
nav_prev.pngPrevious: thread:191
Whiteboard Area
Edited: 09 Dec 2009 11:30 by: pieterh
Comments: 0
Tags:
Last: thread:112
Image Module
Edited: 12 Nov 2009 12:22 by: pieterh
Comments: 0
Tags:
nav_last.png
Next: thread:118
Cross-site includes (CSI)
Edited: 23 Nov 2009 13:03 by: pieterh
Comments: 0
Tags:
nav_next.png

Steven HeynderickxSteven Heynderickx wrote on 10 Nov 2009 15:57

Originally suggested by GabrysGabrys on 23 October 2009.

This is a design sketch for profile pages that replace Wikidot default user pop-up profiles, on sites where this behaviour has been configured.

Argumentation

Per-site profile pages are part of the Site Branding project. The goal is to create a stronger sense of community in a major collaborative site.

Design

In site administration panel, under "Site Branding" menu, there is a tab "User Profiles" with following settings:

  • Disable/enable profile pages for this site, default: disabled.
  • Profile page category (<profile_category>), default: profile.
  • Tag for former member pages (<tag_for_former_members>), default: _former.
  • Tag for current member pages (<tag_for_current_members>), default: _current.

User profile page is <profile_category>:<user_id>, where:

  • <profile_category> is the category defined in the site manager
  • <user_id> is numerical unique and permanent Wikidot ID number of the user

Displaying profile page

Whenever user avatar is shown (including, on members listing, in ListPages results with %%*_by_linked%% in format) and per-site profile pages are enabled, clicking on the user opens the per-site profile page and not global Wikidot profile pop-up.

Automatic actions

Enabling profiles

When profiles are being enabled and the <profile_category> does not yet exist it is created with the following permissions:

  • only page creator, admins and mods can edit pages
  • only admins and mods can create and delete pages

For each member, the profile page is created and the creator property is set to the member, so they can edit this. The page is automatically tagged <tag_for_current_members>.

When profiles are being enabled and the <profile_category> exists it updates its contents to match the current state of members. For each member:

  • If the profile page does not yet exist: it is created and the creator property is set to the member, so they can edit this.
  • If the profile page exists and it's tagged <tag_for_former_members> it deletes this tag.
  • The page is automatically tagged <tag_for_current_members>.

Every other numerical page in that category is tagged <tag_for_former_members>. If the page is tagged <tag_for_current_member>, that tag is deleted.

Changing tag configuration

If tags for current or former members change and profile pages are enabled Wikidot updates the tags (convert old ones to new).

Changing category for profiles

If category for profiles change, all the profiles are moved to the new category.

User joining site

When a user joins the site, their profile page is automatically created with the creator set to the new member (so they can edit it). The page is tagged <tag_for_current_members>.

User leaving site

When a user leaves the site, their profile page is automatically tagged <tag_for_former_members>.


Start a new sub-thread

Anonymous users By leiger 4 Comments 02 Jan 2010 04:48
This feature suddenly stopped working? By leiger 15 Comments 22 Dec 2009 04:16
Does modules work on profile pages? By Steven Heynderickx 1 Comments 16 Dec 2009 18:20
Default new page content By leiger 0 Comments 09 Dec 2009 13:22
People that are not members of the site By leiger 0 Comments 09 Dec 2009 08:24
Ask users to complete their profile removed By Gabrys 3 Comments 13 Nov 2009 12:57
Bug Report - Page owner cannot rename files (closed) By leiger 0 Comments 21 Dec 2009 04:35
Bug report "Enable site-specific user profiles for this site?" does not stay selected (closed) By leiger 2 Comments 09 Dec 2009 06:57

We discourage direct comments on this thread: to discuss it, please start a sub-thread.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License