Steven Heynderickx wrote on 10 Nov 2009 15:57
Originally suggested by Gabrys 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.
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.
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.
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>.
We discourage direct comments on this thread: to discuss it, please start a sub-thread.