I know it’s a little late, but if you still woud like some examples of how to do this, here’s something that I’ve used on a class reunion site. I usually use chunks for these calls, because I had cases where the RTE has messed up some of the parameters. In addition, with very long calls, the content page where it’s used, looks much cleaner with a simple chunk reference. In the code sections below, I’ve added some unneccessary spacing for clarity in this posting. Normally, you wouldn’t do this.
The SignUp call. Here I used instant registration, but put the new user into a special WebUser group that has limited access to the site. A couple admins are notified by e-mail (masked here) and if they know this webuser, they change the group memebership to a full access group (which you’ll see further down in this post). CustomFields are used to pick up additional information (in most cases, both a piece of information and wether or not the webuser wants to keep it private). Here, you may notice that I’m collecting first, last, and married [sur]name. Since it’s possible that a woman has taken a new married last name from the time that she was in school, I use these fields with a slightly modified version of WebLoginPE to create the webuser account full name
first (last) married where applicable, otherwise
first last. The inputHandlers set checkbox options to keep the info private. And the other stuff is pretty standard. See the attached ’SignUpForm.txt’ for the SignUpForm chunk.
<p>[!WebLoginPE? &type=`register` ®Type=`instant` ®isterTpl=`SignUpForm` &groups=`Pending Users`
&customFields=`firstname,lastname,marriedname,emailprivate,phoneprivate,mobilephoneprivate,address1private,dobprivate,website,aim,aimprivate,
msn,msnprivate,yahoo,yahooprivate,myspace,myspaceprivate,facebook,facebookprivate,city,address1`
&inputHandler=`Keep private:userProfileEmailPrivate:emailprivate:checkbox:()||Keep private:userProfilePhonePrivate:phoneprivate:checkbox:()||
Keep private:userProfileMobilePhonePrivate:mobilephoneprivate:checkbox:()||Keep private:userProfileAddress1Private:address1private:checkbox:()||
Keep private:userProfileDOBPrivate:dobprivate:checkbox:()||Keep private:userProfileAIMPrivate:aimprivate:checkbox:() ||
Keep private:userProfileMSNPrivate:msnprivate:checkbox:()||Keep private:userProfileYahooPrivate:yahooprivate:checkbox:()||
Keep private:userProfileMyspacePrivate:myspaceprivate:checkbox:()||Keep private:userProfileFacebookPrivate:facebookprivate:checkbox:()`
¬ify=`[email protected],[email protected]` ¬ifyTpl=`NotifyAdmin` &pruneDays=`365`
®SuccessId=`57` ®SuccessPause=`0`
®Required=`email,username,firstname,lastname,password,tos`
&liHomeId=`56,48`!]</p>
For logged in, confirmed users, the user listing call is sorted by last name and only displays members of the confirmed group. I have not attached the ’ListUsers’ chunk, because there’s really nothing interesting about that, but see the attached ’UserDetail.txt’ file for the UserDetail chunk used for individual details when a user is clicked.
<p>[!WebLoginPE? &type=`users` &usersList=` :default:ListUsers:lastname:ASC:webgroup(Confirmed Alumni)` &viewProfileTpl=`UserDetail`!]</p>
The individual user update call, where the user updates their profile information has nearly the same parameters as the SignUp call. See the attached ’UpdateForm.txt’ for the form.
<p>
[!WebLoginPE? &type=`profile` &profileTpl=`UpdateForm`
&customFields=`firstname,lastname,marriedname,emailprivate,phoneprivate,mobilephoneprivate,address1private,dobprivate,website,aim,aimprivate,
msn,msnprivate,yahoo,yahooprivate,myspace,myspaceprivate,facebook,facebookprivate,city,address1`
&inputHandler=`Keep private:userProfileEmailPrivate:emailprivate:checkbox:()||Keep private:userProfilePhonePrivate:phoneprivate:checkbox:()||
Keep private:userProfileMobilePhonePrivate:mobilephoneprivate:checkbox:()||Keep private:userProfileAddress1Private:address1private:checkbox:()||
Keep private:userProfileDOBPrivate:dobprivate:checkbox:()||Keep private:userProfileAIMPrivate:aimprivate:checkbox:() ||
Keep private:userProfileMSNPrivate:msnprivate:checkbox:()||Keep private:userProfileYahooPrivate:yahooprivate:checkbox:()||
Keep private:userProfileMyspacePrivate:myspaceprivate:checkbox:()||Keep private:userProfileFacebookPrivate:facebookprivate:checkbox:()` !]
</p>
Hope that helps.