Tags:
create new tag
view all tags

SID-01386: User Profile Views and User List Different

Status: Answered 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:

7.png

Also, the people listed here are the ones who have photos uploaded from our old Twiki server. Their user profiles also look like this:

8.png

Whereas the rest of the users and new users follow the NewUser template for their profile:

10.png

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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title User Profile Views and User List Different
SupportCategory CategoryTemplates
TWiki version 5.1.0
Server OS Linux 2.6.32-71.el6.x86_64 x86_64
Web server Apache 2.2.15
Perl version 5.10.1
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-01-26 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.