Bravo List
Register
Go Back   > Bravo List > Torrents Trackers > phpMyBitTorrent (BT.Manager)
Reply
  #1  
Old 20-06-08, 15:29
emilianstef's Avatar
emilianstef emilianstef is offline
Member
 
Join Date: Feb 2008
Posts: 3
Default Mail confirmation
How to remove mail confirmation? Please help.
Reply With Quote
  #2  
Old 21-06-08, 19:08
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 1,989
Default Re: Mail confirmation
you have to edit user/takeregister.php in a couple places
Code:
$sql = "INSERT INTO ".$db_prefix."_users (username, email, password, act_key, regdate) VALUES ('".escape($username)."', '".escape($email)."', '".md5($password)."', '".$act_key."', NOW());";
and replace with
Code:
$sql = "INSERT INTO ".$db_prefix."_users (username, email, password, act_key, regdate, active) VALUES ('".escape($username)."', '".escape($email)."', '".md5($password)."', '".$act_key."', NOW(),'1');";
that should automaticly set then active
then find
Code:
OpenTable(_btsignup);

$replace_markers = Array("**sitename**","**siteurl**","**username**","**password**","**key**");
$replace_data = Array ($sitename,$siteurl,$username,$password,md5($act_key));

$confirm_mail = New eMail;
$confirm_mail->sender = $admin_email;
$confirm_mail->subject = $userregconfirmmailsub[$language];
$confirm_mail->body = str_replace($replace_markers,$replace_data,$userregconfirmmailtext[$language]);
$confirm_mail->Add($email);
$confirm_mail->Send();

echo "

"._btregcomplete.spellmail($admin_email)."</p>";
and replace with
Code:
OpenTable(_btsignup);

/*$replace_markers = Array("**sitename**","**siteurl**","**username**","**password**","**key**");
$replace_data = Array ($sitename,$siteurl,$username,$password,md5($act_key));

$confirm_mail = New eMail;
$confirm_mail->sender = $admin_email;
$confirm_mail->subject = $userregconfirmmailsub[$language];
$confirm_mail->body = str_replace($replace_markers,$replace_data,$userregconfirmmailtext[$language]);
$confirm_mail->Add($email);
$confirm_mail->Send();

echo "

"._btregcomplete.spellmail($admin_email)."</p>";
*/
echo "

You have been registerd with this site Thank You </p>";
make sure that you have a back up copy of this file so you can replace it when you set up your mail server
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Managerô forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
Reply

Tags
confirmation , mail

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Turn off confirmation email Dezbracatu TBDev 3 30-06-10 13:53
E-mail confirmation error andreiu21 xBTiT 3 22-06-09 12:12
Email Confirmation ocha xBTiT 1 14-05-09 18:17
Confirmation problem TbDev andsh TBDev 1 04-05-09 10:23
My Confirmation mails won't get on Yahoo ? ksx Community Cafe 4 27-04-09 10:05



All times are GMT +2. The time now is 15:15. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2017, vBulletin Solutions Inc.