PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 9th, 2009, 04:14 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
How to change email text

After upgrading to 3.1 email sent from server are corrupted. Where can I find the email texts and translate them?

See examples of e-mails:
Code:
Content visible to verified customers only.
zews is offline   Reply With Quote
Old April 9th, 2009, 07:55 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
they are corrupt?

what download are you using?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 9th, 2009, 08:18 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
As you can see there are a lot of visible <br /> codes and links are missing.

Where are the email-text now? In the database or in a file, in case which?

I have the 5th April build.
zews is offline   Reply With Quote
Old April 9th, 2009, 08:40 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
You can choose to send HTML email in admin settings.

Your email string should be in the database under edit language strings and you can search for it.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 9th, 2009, 11:46 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
Quote:
Originally Posted by Chuck S View Post
You can choose to send HTML email in admin settings.

Your email string should be in the database under edit language strings and you can search for it.
In my admin settings I have html email off and send mail as email.

I do not want to send as html, I just don't want the <br /> tags to show in the email as they didn't do before.

Some of the emails are as strings in the phrase database, but not the auction emails - they are as code in sendnotice.php - maybe they can be moved into strings in the database?
zews is offline   Reply With Quote
Old April 9th, 2009, 01:01 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
I have tested several things now, and I cannot get the email to function properly.

I have tested with the report email.

With setting Email and HTML of the result is:
Quote:
*user* has complained (^reason) about one of the ads in the database:<br />
<br />
*user* is name of the user - that works fine, but the email text stops there.

With html on:
Quote:
*user* has complained (^reason) about one of the ads in the database:
I turned html of again, and removed the nl2br() from pp-inc.php and that was better:
Quote:
*user* has complained (^reason) about one of the ads in the database:


<a href="*url*" target="_blank">*url*</a>

with the following description:
*desc*
But still there are two errors: reason doen't show and the link is in html code.

Something must be wrong with the email system - does it work like it should on the demo site?
zews is offline   Reply With Quote
Old April 9th, 2009, 01:45 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Can you please actually post your email so I can see what might be wrong.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 9th, 2009, 01:52 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
I have posted them in post 6. Just removed personal information. They are short like that, but removing nl2br resulted in the last email with full text like shown above.
zews is offline   Reply With Quote
Old April 9th, 2009, 02:57 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
You have blanked out the url so I am not really sure what your trying to say which is indeed why I need a real email nothing you alter.

Based on the actions I see you might try redownloading the build and uploading pp-inc.php and misc.php those are the two files that govern that process.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 21st, 2011, 02:40 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Apr 2011
Posts: 43
I am running the latest version, clean install, and my complaint emails are doing this as well.

All I am getting in the email is:

USER has complained (^reason) about one of the ads in the database:

.. and thats it.

Any ideas?
ClayGP is offline   Reply With Quote
Old May 21st, 2011, 04:50 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
I will test it and see but we do declare these variables in misc.php simple str_replace in php.

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 21st, 2011, 05:07 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Apr 2011
Posts: 43
Well. I tried setting HTML email to NO, and now it seems to be working (almost).

I am now getting the "more information" and the link .. but it still says ^reason.

Looks like the HTML version is broken.
ClayGP is offline   Reply With Quote
Old May 21st, 2011, 07:48 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
The ^reason line must be added for subject the code should look like this


Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; May 21st, 2011 at 08:20 PM.
Chuck S is offline   Reply With Quote
Old May 22nd, 2011, 09:54 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Apr 2011
Posts: 43
Thanks! .. but that didn't work. I got it working though. It should be:

$letter = str_replace("^reason","$reason",$letter);
(not in the subject)
ClayGP is offline   Reply With Quote
Old May 22nd, 2011, 10:27 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
LOL yeah saturday night posting not a good thing.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
change the My Stuff Text.. ljwonline How Do I? - vBulletin 3.6x 3 February 27th, 2008 02:19 PM
How do I change this text? chillami Photopost Pro How Do I...? 1 October 12th, 2007 04:16 PM
ReviewPost 3.33 - How to change some text wrang ReviewPost How do I...? 1 August 12th, 2007 09:42 PM
Change the text in my sent emails and... drew Classifieds How do I...? 1 November 18th, 2006 02:07 PM
How do i change the text? lighterrr Photopost Pro How Do I...? 4 August 21st, 2005 07:20 AM


All times are GMT -5. The time now is 03:53 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0