this patch would allow People to be pre-defined, before they want to register (or even know the wiki exists) so that they can be intellegibly be reffered to. They can register at a later date, which will append the user info (if its missing).
- it makes re-registring more able to succeed without killing pre-existing information.
- It also makes it possible for a user to fill in new fields in the registration form.
I did this on my work's wiki by changeing the registration script to only append the registration data to an existing page, and then only if it doesn't already exist.
--
SvenDowideit - 27 Feb 2001
How about kicking back the registration if (and only if):
- The user is already in .htpasswd AND
- There is a Main._topic_ of the same name.
Therefore allowing registration if there already is a user topic or there is an entry in .htpasswd... We have a habit of refering to users by their Bumpy Word names - and of course, then they want to log in (finally!) and see what we're saying. --
BruceDawson - 28 Feb 2001
You mean their
WikiWord.
BumpyWords startWithALowerCaseCapital.
--
MartinCleaver - 05 Apr 2001
Interesting! That's the first time I heard of that distinction (for
BumpyWords) -- but I'm new to a lot of this stuff. Can you add some background on where the term
BumpyWords came from -- I suspect it was some language that uses
BumpyWords as you describe.
If it is a distinction that should be encouraged, we should modify the definition at
BumpyWords.
--
RandyKramer - 06 Apr 2001
Hmm. I'm sure I read it somewhere in a piece about contributing code. Can't search for it anywhere.
Ah well.
Sven - can you indicate exactly what I need to patch to append the registration data to an existing page, and then only if it doesn't already exist.
Thanks.
M.
--
MartinCleaver - 07 Apr 2001
It's also called CamelCase! AFAIK, the first to use it was Smalltalk many many moons ago. A leading cap denoted a global and a leading lower case was local.
--
DavidLeBlanc - 08 Apr 2001
OK diffs for my change attached, sorry about the delay, I've been getting used to my new job..
--
SvenDowideit 12 Apr 2001
I have made these changes to the 01Sept2001 release to go with the
UserCookiePlugin
--
SvenDowideit - 21 Sep 2001
Actually, a
WikiWord is the mixed-case name for a topic, while a
WikiName is a
WikiWord that refers to a person, although the distinction is a little hard to remember -
WikiUserName would be better for the person's topic...
--
RichardDonkin - 23 Sep 2001
Anyone tested this with the Feb 03 version? Can we get it into the Core?
--
MartinCleaver - 21 Apr 2003
As this has a patch associated, I've changed the classification of this topic.
--
MartinCleaver - 26 May 2003
I think the most useful application for this patch is to simplify resetting user accounts - the TWiki administrator just has to delete the
.htpasswd line for the user, and can leave their user topic unchanged, which is much more friendly. This is also more amenable to automated solutions, though I know there is some other work in this area.
--
RichardDonkin - 27 May 2003
Well, we do have the
ResetPassword system, so I guess is there still a case when you would do this?
I just want to be able to create user pages before they register. (Well, that's not entirely all - I also want to have the
TWikiRegistrationFormUseWebForms so that I can correlate user information, e.g. to pull out values in columns common to all users, e.g. find all users in Toronto, or Canada. More on that page when I've time.)
--
MartinCleaver - 27 May 2003
I liked smart idea of
AntonAylward from
AllowWebViewVersusAllowTopicView
He re-wrote the templates so that the Main.username automatically has a setting so its not editable, and a link to the "Home" web - "Home.UserName". That is only editable by the user, and you could possibly create page in Home before "Main.UserName" page.
--
PeterMasiar - 28 May 2003
Bumping Feature topic marked as Scheduled for
CairoRelease that hasn't been modified recently.
--
SamHasler - 20 Apr 2004
unless someone really wants it, I'll defer this --
SD
I have to admit. I would really like this to be incorporated into production code at some point. Possibly with a TWikiPreferences setting to enable it (maybe something like DenyRegistrationIfTopicExists?).
--
BruceDawson - 05 Sep 2004