[pmwiki-users] That simple, dependable PmWiki login/self-registering mechanism

Steve Glover steve.glover at ed.ac.uk
Tue Apr 12 03:38:14 CDT 2011

On 12/04/11 08:55, Hans wrote:
> Monday, April 11, 2011, 11:11:33 PM, Al Louis Ripskis wrote:
>> A couple of days ago I suggested the possibility of including some
>> additional, optional information on the login form such as their
>> first and last real names, You suggested looking at some templates.
>> I did find a box with scripts that addressed the inclusion of real names.
>> Where would one insert these scripts?
> See http://www.pmwiki.org/wiki/Cookbook/UserAdminTemplates
> copy the entire page to Site.UserAdminTemplates
> You can remove the first seven lines of recipe info.
> Test your installation.
> UserAdmin will automatically use the templates thus provided.
> Edit the templates very carefully, if you need additional info fields.
> Use only input markup of this kind: (:input text user..... :)
> The name of the text input field must begin with 'user'.
> Textarea input (a text box with several lines of input) will not work!
> To add for instance  a field for entering a real name, add
> || Real Name ||(:input text userrealname:) ||
> to the [[#ua-new]] and the [[#ua-edit]] template (the template
> following the anchor markup).
>> Also I mentioned leaving space where the new registrants could
>> respond to this brief narrative: "Please describe briefly your
>> background, experience and education as well your interests and
>> passions, so we could steer you in the appropriate direction."
>> Would that be handled the same way? And what kind of a template would it need?
> Such additional info would require a textbox, which does not work
> within UserAdmin templates, because of the multi-line input.
> In addition I think you don't want to store such information to the
> SiteAdmin.AuthUser page, which is mainly for usernames and passwords.
> What might be useful for such extended information, is to send it by
> email to an admin address. But the UserAdmin self-registration system
> does not handle such an additional task. Perhaps it could be a
> feature request for the future. I suspect we are leaving the realm of
> "simple" here.

Another possibility would be to ask new users to follow a link to a 
Profiles.ForenameSurname page which could have a template asking them 
for whatever info and background you wanted - iirc, you could set each 
of these pages so they could only be edited by the relevant person?


Steve Glover: SDSS, EDINA, Causewayside House, 160 Causewayside EH9 1PR
e:steve.glover at ed.ac.uk t:0131 650 2908 f:0131 650 3308 m:07961 446 902

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

More information about the pmwiki-users mailing list