auto confirm acount

Started by greentide, July 22, 2011, 12:42:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

greentide

Quote from: Mindless on July 22, 2011, 03:33:25 PM
Thats v1 code so what do you run - cant start mixing versions - each has its own section so that needs sorted, thats not the correct way to set the code either. Once i know what version your running i'll make a post on how to set the tracker auto confirm properly.

Hi

thanks for your help!!  :)

I have V2 mem running..


Mindless

Thats v1 code so what do you run - cant start mixing versions - each has its own section so that needs sorted, thats not the correct way to set the code either. Once i know what version your running i'll make a post on how to set the tracker auto confirm properly.

greentide

#1
I have changed the to options in config so the user will not need to confirm account via email but it still says pending.

Sorted it out..
and here is how its done..

open takesignup.php , it will be right at the bottom of the page.

look for this
   if($arr[0])
      mail($email, "{$TBDEV['site_name']} {$lang['takesignup_confirm']}", $body, "{$lang['takesignup_from']} {$TBDEV['site_email']}");
    else
      logincookie($id, $wantpasshash);

    header("Refresh: 0; url=ok.php?type=". (!$arr[0]?"sysop":("signup&email=" . urlencode($email))));


and add this at the start /* and this at the end */

and then add this under it before the ?>

//no email confirmation
header("Refresh: 0; url=confirm.php?id=$id&secret=$psecret");