68 Classifieds Forums
Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Modifications > Changing Contact Owner to Contact Us
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
GSP GSP is offline
Member
GSP is on a distinguished road
 
Posts: 90
Join Date: Apr 2006
Default Changing Contact Owner to Contact Us - 02-20-2007, 12:05 PM

Hi,

What would be the best (or easiest) way to change the Contact The Owner form on the Viewlistings page to Contact Us. I know it sounds a little strange but for this particular script use I would prefer if the customer could only contact the site administrator.


Best Regards,

Tom
V3.1.5b
Developer
Reply With Quote
(#2)
Old
suzkaw suzkaw is offline
Help you, I will.
suzkaw has a spectacular aura about
 
Posts: 1,696
Join Date: Mar 2006
Location: Belmont, NC
Default 02-20-2007, 12:07 PM

It would probably be easiest to just remove the contact the owner through the usergroups then they could use the contactus.php file.


--
Thanks,
Eric Barnes
68 Classifieds
Documentation - Modifications - My Blog

Reply With Quote
(#3)
Old
GSP GSP is offline
Member
GSP is on a distinguished road
 
Posts: 90
Join Date: Apr 2006
Default 02-20-2007, 12:15 PM

Hi Eric,

When a customer Contacts The Owner the owner receives an email outlining the ad details of which the customer is enquiring about. Ideally, I would like the same sent to me. I don't trust the person enquiring about a particular ad to provide the exact ad details and I don't want to have to write back asking which exactly they are Contacting Us about.


Best Regards,

Tom
V3.1.5b
Developer
Reply With Quote
(#4)
Old
suzkaw suzkaw is offline
Help you, I will.
suzkaw has a spectacular aura about
 
Posts: 1,696
Join Date: Mar 2006
Location: Belmont, NC
Default 02-20-2007, 01:08 PM

Gotcha,

Try this. Open contact.php and locate this line:
$mail->AddAddress($to);

Just below it add:
$mail->AddBCC("[email protected]");


--
Thanks,
Eric Barnes
68 Classifieds
Documentation - Modifications - My Blog

Reply With Quote
(#5)
Old
GSP GSP is offline
Member
GSP is on a distinguished road
 
Posts: 90
Join Date: Apr 2006
Default 02-20-2007, 01:24 PM

Thanks Eric,

Would this not send the Contact The Owner email to both the owner and myself? If that's the case that's not quite what I'm looking to do. I don't want any emails to be sent to the owner and instead I want all to be sent solely to me.


Best Regards,

Tom
V3.1.5b
Developer
Reply With Quote
(#6)
Old
suzkaw suzkaw is offline
Help you, I will.
suzkaw has a spectacular aura about
 
Posts: 1,696
Join Date: Mar 2006
Location: Belmont, NC
Default 02-20-2007, 01:37 PM

Ok then change this:
$mail->AddAddress($to);

To:
$mail->AddAddress("[email protected]");

Then it will be only sent to that email.


--
Thanks,
Eric Barnes
68 Classifieds
Documentation - Modifications - My Blog

Reply With Quote
(#7)
Old
motoenth motoenth is offline
My Red Light is blinking
motoenth is on a distinguished road
 
Posts: 146
Join Date: Mar 2006
Default 02-20-2007, 01:37 PM

Hi Tom-

If that's the case, then change:

$mail->AddAddress($to);
to
$mail->AddAddress("[email protected]");


---------
Blair
Eric's favorite business partner since 2002!
Reply With Quote
(#8)
Old
GSP GSP is offline
Member
GSP is on a distinguished road
 
Posts: 90
Join Date: Apr 2006
Default 02-20-2007, 01:53 PM

Thank you and thank you.

Works exactly the way I want it to.


Best Regards,

Tom
V3.1.5b
Developer
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Contact The Owner gppromano v3.1 Modifications 1 01-19-2007 11:11 AM
Contact Owner Form SteM v3.1 Questions & Support 2 01-02-2007 10:47 AM
After Contact Owner CB v3.1 Questions & Support 3 09-09-2006 05:13 AM
Contact the Owner - make form optional fjarabeck v3.1 Modifications 2 05-14-2006 11:17 PM
Contact the Owner Don v3.0 Questions & Support 11 04-25-2006 12:32 PM



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