[pmwiki-users] Fwd: Automatic login FASTMembership-1.1

The Editor editor at fast.st
Wed Jul 26 15:25:16 CDT 2006


---------- Forwarded message ----------
From: The Editor <editor at fast.st>
Date: Jul 26, 2006 4:24 PM
Subject: Re: [pmwiki-users] Automatic login FASTMembership-1.1
To: Helge Larsen <hal at post4.tele.dk>


> When I find the solution I'll send you a note, so that it can be added
> to the documentation.

Thanks, I'd appreciate it!  :)

> >To have them automatically logged immediately after their account is
> >created would probably require a minor change to the recipe.  Probably
> >line 88.
>
> Line 88 is in the function HandleMembershipUsrForm and is for changing
> a logged in users password, and may not be the right place at all.
>
> All my experiments has been done in function HandleMembershipNewForm
> around line 146.

Actually in my text editor, line 88 is

    Redirect(FmtPageName($redirect_page, $pagename));

This is the line that sends the browser to the next page. The url for
$redirect_page needs to be changed to something like

$redirect_page + ?action=login+name=$newName+pass=$newPass

Or whatever the format is.  (I'm not a php coder, just a tinkerer...
But I've tinkered with this recipe quite a bit!).

Cheers
Caveman




More information about the pmwiki-users mailing list