You are here: Foswiki>Tasks Web>Item1525 (25 Apr 2009, WillNorris)Edit Attach

Item1525: Old User profiles need to be updated to appear in PersonalInfoAddOn-Facebook-Page

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Web Site
Component:
Branches:
Reported By: MartinSeibert
Waiting For: WillNorris
Last Change By: WillNorris
Open Tasks for conversion of old users:
  • DONE Change form from System.UserForm to Main.UserForm
  • DONE Change VIEW_TEMPLATE to PersonalInfoUserView
  • DONE Change TopicParent from TWikiUsers to WikiUsers
  • DONE Add VIEW_TEMPLATE to PersonalInfoUserView for topics that are missing it (thanks OlivierRaginel for the script)

perl -i -ple 's/^(%META:TOPICPARENT{name=")T(WikiUsers"}%)$/$1$2/' *.txt
perl -i -ple 's/^%META:FORM{name="%25SYSTEMWEB%25.UserForm"}%/%META:FORM{name="%25USERSWEB%25.UserForm"}%/' *.txt
perl -i -ple 's/^%META:FORM{name="Main.UserForm"}%/%META:FORM{name="%25USERSWEB%25.UserForm"}%/' *.txt
perl -i -ple 's/^(%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Local" value=")(UserView"}%)/$1PersonalInfo$2/'

for i in $((ls -1 /usr/home/foswiki.org/trunk/core/data/Main/*.txt;grep -l VIEW_TEMPLATE /usr/home/foswiki.org/trunk/core/data/Main/*.txt)|sort|uniq -u);do echo '%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Local" value="PersonalInfoUserView"}%' >> $i;done

also, i sent out an email telling "old" users that their user topic has been upgraded

-- WillNorris - 25 Apr 2009

ItemTemplate edit

Summary Old User profiles need to be updated to appear in PersonalInfoAddOn-Facebook-Page
ReportedBy MartinSeibert
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Web Site
Component
Priority Normal
CurrentState Closed
WaitingFor WillNorris
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r3 - 25 Apr 2009, WillNorris
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy