SID-01386: User Profile Views and User List Different
| Status: |
Answered |
TWiki version: |
5.1.0 |
Perl version: |
5.10.1 |
| Category: |
CategoryTemplates |
Server OS: |
Linux 2.6.32-71.el6.x86_64 x86_64 |
Last update: |
14 years ago |
Hello!
We recently moved our Twiki server to a new one and updated the version from 4.2.0 to 5.1.0.
What I noticed is that the default users view looks like this:
Also, the people listed here are the ones who have photos uploaded from our old Twiki server. Their user profiles also look like this:
Whereas the rest of the users and new users follow the
NewUser template for their profile:
My question is, how do I make the user profiles views reflect the one that those with pictures have?
--
MeahBaltazar - 2012-01-26
Discussion and Answer
You need to do three things:
1. Use the latest user profile page template: Copy NewUserTemplate from the TWiki web to the Main web, and customize as needed. Make sure it has the following topic preferences setting to shows the user profile header on top:
- Local VIEW_TEMPLATE = UserView
2. Use the latest user form: Copy UserForm from the TWiki web to the Main web, and customize if needed. Add additional form fields, but don't change existing fields.
3. Convert existing user profile pages to new format: For each profile page:
- Remove any header that might be included
- In case the the latest user profile header is not shown on top, add the the following topic preferences setting:
- Local VIEW_TEMPLATE = UserView
- Click on the profile picture and select one of the attached profile pictures.
- Edit the topic and add any form field values that are missing.
There is no automated way to do that at this time.
See also section "Copy Users And Their Topics From Main Web" in
TWikiUpgradeGuide
--
PeterThoeny - 2012-01-26
For illustration I updated your twiki.org user profile page at
MeahBaltazar, raw diff:
https://www.twiki.org/cgi-bin/rdiff/Main/MeahBaltazar?rev1=2;rev2=1;render=debug
--
PeterThoeny - 2012-01-26
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.