68 Classifieds Forums
Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Modifications > BCC:admin
v3.1 Modifications Questions on modifying 68 Classifieds. Please note these are not supported by 68 Classifieds, and may make future updates more difficult.

 
Thread Tools Display Modes
(#1)
Old
Mike-N-Tosh Mike-N-Tosh is offline
Senior Member
Mike-N-Tosh will become famous soon enough
 
Posts: 142
Join Date: Jan 2007
Default BCC:admin - 05-09-2007, 10:36 PM

Greetings,

I'm going to start a new promo on my site that gives a free paid listing to a newly registered member. (New user registers and we send them a coupon code for a one time paid listing for free)

Issue, There is no admin email sent upon a new registration

Looking for a solution to either get an email sent to admin upon validation of the registration OR at least to get BCC: [email protected] of the validation email that the new registrant receives.

I'm not a php programmer and can't seem to decipher exactly where or how the validation email gets generated or where or how to generate an email after a the user clicks on the validation link in their email.

Any help would be sincerely appreciated.

-Mike


Mike-N-Tosh
v3.1.5 Developer

IndianaPC.org

I can what I can and I can't what I can't.
Reply With Quote
(#2)
Old
motoenth motoenth is offline
My Red Light is blinking
motoenth is on a distinguished road
 
Posts: 231
Join Date: Mar 2006
Default 05-10-2007, 10:40 AM

Mike-

Open the userjoin.php file and find the "mail" block:
PHP Code:
$mail = new Mailer();
$mail->IsHTML(true);
$mail->Subject = $subject;
$mail->Body = $htmlContent;
$mail->AltBody = $textContent;                
$mail->AddAddress($_POST['email']);
$mail->Send();
Just under the AddAddress line, insert:
PHP Code:
$mail->AddBCC("[email protected]");
That should work.


---------
Blair
Eric's favorite business partner since 2002!
Reply With Quote
(#3)
Old
Mike-N-Tosh Mike-N-Tosh is offline
Senior Member
Mike-N-Tosh will become famous soon enough
 
Posts: 142
Join Date: Jan 2007
Default 05-10-2007, 10:24 PM

Thanks, Blair!

I'lll give that a try.

-Mike


Mike-N-Tosh
v3.1.5 Developer

IndianaPC.org

I can what I can and I can't what I can't.
Reply With Quote
(#4)
Old
Mike-N-Tosh Mike-N-Tosh is offline
Senior Member
Mike-N-Tosh will become famous soon enough
 
Posts: 142
Join Date: Jan 2007
Default 05-14-2007, 09:44 AM

Blair,

Thanks again, I tried your solution and it works GREAT!!!

-Mike


Mike-N-Tosh
v3.1.5 Developer

IndianaPC.org

I can what I can and I can't what I can't.
Reply With Quote


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com