68 Classifieds Forums
Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Questions & Support > Adding Listing Title into Contact Email
v3.1 Questions & Support Help and support for 68 Classifieds v3.1.x

 
Thread Tools Display Modes
(#1)
Old
CB CB is offline
Senior Member
CB is on a distinguished road
 
Posts: 348
Join Date: May 2006
Default Adding Listing Title into Contact Email - 03-06-2007, 04:18 PM

Is there a way to add the title of the ad into the contact email to the seller. I have dealers with 100+ listings and they get emails like: The following message was sent to you by who has been viewing your listing.

I'd like to have it say: The following message was sent to you by who has been viewing your listing titled: Name of Listing.

Thanks in advance.

Chris

Last edited by CB : 03-06-2007 at 04:52 PM.
Reply With Quote
(#2)
Old
suzkaw suzkaw is offline
Help you, I will.
suzkaw has a spectacular aura about
 
Posts: 1,814
Join Date: Mar 2006
Location: Belmont, NC
Default 03-06-2007, 04:58 PM

When researching this I found a bug but it appears you can use ##sitetitle##

which I believe will transform into the listings title.


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

Reply With Quote
(#3)
Old
CB CB is offline
Senior Member
CB is on a distinguished road
 
Posts: 348
Join Date: May 2006
Default 03-06-2007, 06:28 PM

Eric, i just tried it and ##sitetitle## displays the title of the 68 site.
Would ##listingtitle## work?
Reply With Quote
(#4)
Old
Mike-N-Tosh Mike-N-Tosh is offline
Member
Mike-N-Tosh will become famous soon enough
 
Posts: 71
Join Date: Jan 2007
Default 03-06-2007, 07:03 PM

I don't know of a way to add the title of the listing, but if you include:
##listingurl##

That gives a clickable url that goes directly to the listing on the site.

-Mike


Mike-N-Tosh
v3.1.5 Developer

IndianaPC.org Under construction
Reply With Quote
(#5)
Old
CB CB is offline
Senior Member
CB is on a distinguished road
 
Posts: 348
Join Date: May 2006
Default 03-06-2007, 08:04 PM

Thanks Mike I have that now but the people who use my site want to know what item the contact email is in response to without clicking the link.

Including the title of the listing ad i think will do the job.
Reply With Quote
(#6)
Old
juven14 juven14 is offline
Moderator
juven14 has a spectacular aura about
 
Posts: 1,692
Join Date: Mar 2006
Location: NJ/NYC Area
Default 03-07-2007, 02:04 PM

Open contact.php

Find:

PHP Code:
$vehicle = $rs['id'];
Add right below it:

PHP Code:
$listingtitle = safeStripSlashes($rs['title']);
Find:

PHP Code:
$htmlContent = str_replace("##comments##", $comments, $htmlContent);
Add below it:

PHP Code:
$htmlContent = str_replace("##listingtitle##", $listingtitle, $htmlContent);
Find:

PHP Code:
$textContent = str_replace("##comments##", $comments, $textContent);
Add below it:

PHP Code:
$textContent = str_replace("##listingtitle##", $listingtitle, $textContent);
Then open your email template and add ##listingtitle## where you want it displayed.


Regards,

John
mods.auscity.com
v3.1.5 Developer

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
Reply With Quote
(#7)
Old
CB CB is offline
Senior Member
CB is on a distinguished road
 
Posts: 348
Join Date: May 2006
Default 03-07-2007, 03:03 PM

John,

You are a genius, it works flawlessly. Now can you figure out why my iPod and DVD burner won't work in Windows Vista? HAHA just kidding...well not really
Reply With Quote
(#8)
Old
juven14 juven14 is offline
Moderator
juven14 has a spectacular aura about
 
Posts: 1,692
Join Date: Mar 2006
Location: NJ/NYC Area
Default 03-07-2007, 04:11 PM

I haven't tried my mp3 player, but itunes was a nightmare. Since the vista install renamed my documents directory from hp/ to john/ I've had to update my playlists.

My cd burner works great. Just my dang screen resolution that has me ticked off. 1200X800 really really blows. I'm not about to revert to xp after all the time spent upgrading software (something like 8 hours).

I will just punish them with my money, going Mac once I can dish out another couple of thousand dollars.

Here is my issue - HP won't support the video driver for my 3 year old laptop with vista. ATI won't support my video driver since it is an HP (they have a driver for the same card - but it doesn't work for mine). Microsoft probably won't do a thing either. End result - learn how to write my own driver (yea right) or buy a new laptop. I can say for certain it won't be an HP and it won't run Vista.


Regards,

John
mods.auscity.com
v3.1.5 Developer

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
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
Adding Listing ID robx99 v3.0 Questions & Support 1 02-19-2007 11:09 AM
Title question Fedeo v3.0 Modifications 9 01-25-2007 01:38 PM
Adding a (sub)category picture and title jamesbond v3.1 Questions & Support 4 08-11-2006 07:45 AM
Direct link to user listing in contact email SkGold v3.1 Questions & Support 2 07-10-2006 02:42 PM
Adding site url to renewal email message GSP v3.0 Modifications 5 04-17-2006 07:02 PM



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