[pmwiki-users] That simple, dependable PmWiki login/self-registering mechanism
design5 at softflow.co.uk
Tue Apr 12 02:55:46 CDT 2011
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?
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
More information about the pmwiki-users