Tags:
create new tag
view all tags

SID-01783: Main/UserList not populated with migrated Main/TWikiUsers

Status: Answered Answered TWiki version: 5.1.4 Perl version: perl 5, version 12, subversion 4 (v5.12.4) built for x86_64-
Category: CategoryRegistration Server OS: Fedora release 14 (Laughlin) Last update: 12 years ago

I upgraded TWiki from the 2004 version and have had to manually copy over the htaccess file.

migrated users

  • appear in Main/TWikiUsers but now in Main/UserList
  • have old user template
  • their .htpasswd file entries appear as Name:EncryptedPass:email:0:0 while new users have values where the 0's are

How can I upgrade their user pages so their entries can be seen in the Main/UserList and what are the fields in the .htpassword files?

-- Jeremy Lai - 2013-08-12

Discussion and Answer

You do not need to worry about the 0's in the .htpassword file, it's handled transparently.

You need to upgrade all user profile pages with the latest UserForm. Users will be listed in UserList once you have done that.

To upgrade, check if the profile pages already have a UserForm. If not, you need to add it. Add the UserForm to the WEBFORMS setting in Main.WebPreferences, then edit the user profile page and add the form. Here is a quick and dirty way to add this: Edit the page in raw and paste this:

%META:FORM{name="UserForm"}%

User profile pages also need to have the proper view template so that the nice header is shown. In case missing you can add this preferences setting: Local VIEW_TEMPLATE = UserView. Here is a quick and dirty way to add this: Edit the page in raw and paste this:

%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Local" value="UserView"}%

You can do the META:FORM and META:PREFERENCE in one step.

-- Peter Thoeny - 2013-08-12

Is there a way to copy all the data over from the old layout to automate this?

-- Jeremy Lai - 2013-08-12

You mean customized form of old TWiki? If so, do the customization to the user form and profile header before fixing the user profile pages.

If you do not care about existing user data in user profile pages you could remove them and bulk-register all again.

-- Peter Thoeny - 2013-08-12

      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 Main/UserList not populated with migrated Main/TWikiUsers
SupportCategory CategoryRegistration
TWiki version 5.1.4
Server OS Fedora release 14 (Laughlin)
Web server Apache/2.2.17
Perl version perl 5, version 12, subversion 4 (v5.12.4) built for x86_64-
Browser & version Safari Version 6.0.5 (8536.30.1)
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2013-08-12 - 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.