Re: User registration - Email verification using tokens

2009-05-07 Thread niki
thanks for the help people I have written the code... chk out http://www.nikatrex.com/blog/?p=300 cheers and thanks again --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, sen

Re: User registration - Email verification using tokens

2009-04-15 Thread niki
hey people thanks for dat inspirational help... will update u with its progress... cheers u made my day On Apr 15, 2:20 pm, Martin Westin wrote: > Thanks for the tip. That line of code has probably been around since > early 2006 so it is a bit rough. > > On Apr 15, 10:54 am, "Dr. Loboto" wrot

Re: User registration - Email verification using tokens

2009-04-15 Thread Martin Westin
Thanks for the tip. That line of code has probably been around since early 2006 so it is a bit rough. On Apr 15, 10:54 am, "Dr. Loboto" wrote: > > $link = 'http://'.$_SERVER['SERVER_NAME'].'/'.$this->params > > ['controller'].'/activate/'.$ticket; > > Standard way for absolute URLs: > $link = Ro

Re: User registration - Email verification using tokens

2009-04-15 Thread Dr. Loboto
> $link = 'http://'.$_SERVER['SERVER_NAME'].'/'.$this->params > ['controller'].'/activate/'.$ticket; Standard way for absolute URLs: $link = Router::url('/users/activate/'.$ticket, true); --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: User registration - Email verification using tokens

2009-04-14 Thread Martin Westin
I use a similar method to Edward's (or so i imagine after a quick glance). I have the "ticketing" side of things put into a general-purpose model: http://bin.cakephp.org/saved/44956 In your case you would need the following logical steps. Where are you getting into trouble? - Display registratio

User registration - Email verification using tokens

2009-04-13 Thread niki
hello I have been trying out a way to send an email to the new user with a token on a submitting the user registration form and finally saving the user into the database when the token has been exicuted. This is excatly like the bakery.cakephp.org user registration system. So far the closest tut