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 > ReviewPost Pro Support Forums > ReviewPost Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 20th, 2009, 12:47 PM   #21 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
o.k., I will then resave the text. This works.

There is one thing left: the line breaks are missing in my first installation's e-mails. See


Quote:
admin has posted a reply about the following product: "Model1" Model1 - Marktübersicht & Reviews If you no longer wish to be notified of replies about the above product, you can disable notification for it here: http://mywebsite/comments.php?notify...id=3&product=8 Thanks! The mywebsite Team mywebsite
A. Is there a way to get the line breaks/space line as they should be also in the first installation?

B. I replaced all old files in my first installation with the download files of today. But which files actually have changed compared tp 16.4.2009?

Because of some hacks I made in my first installation (mainly pp-inc, showphoto and templates), I would prefere only to replace 2 or 3 files instead of all files and then redo the hacks again.

P.S.: the "umlaute" are o.k. in the original -mail. This is only here in the quote wrong
snoopy5 is offline   Reply With Quote
Old April 20th, 2009, 12:53 PM   #22 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
files should be adm-lang.php pp-inc.php if we are discussing this issue

As far as line breaks what does the saved text look like in the database?

Mine is saved with line breaks.
__________________
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 20th, 2009, 12:58 PM   #23 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Here I just translated a full language thing like yours and here is the email I get html email set to no.

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 April 20th, 2009, 12:59 PM   #24 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Only thing I notice is to display certain german characters in an email you will want to use html email because those of course are not going to be rendered correctly unless you use html
__________________
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; April 20th, 2009 at 01:08 PM.
Chuck S is offline   Reply With Quote
Old April 20th, 2009, 01:25 PM   #25 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
...

As far as line breaks what does the saved text look like in the database?

Mine is saved with line breaks.

In the database (in the ACP) it is displayed correctly with line breaks, as far as I can see:

Quote:
^User['username'] has posted a reply about the following product:

"^gettitle"

^Globals['maindir']/showproduct.php?product=^product

If you no longer wish to be notified of replies about the above product, you can disable notification for it here:

^Globals['maindir']/comments.php?notify=off&notifyid=^getid&product=^product

Thanks!

The ^Globals['webname'] Team
^Globals['domain']
It is only when the e-mail arrives, that the line break is missing. And only in the old installation (but with the new download files). In all new fresh installations, line break works fine.

Regarding umlaute: they work even without html mail set to "on". No problems at all on my side. Only the copy & paste here in the forum destroyed it. In my e-mails umlaute are correct without any special modifications.
snoopy5 is offline   Reply With Quote
Old April 20th, 2009, 01:46 PM   #26 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
dont know what to tell you about line breaks mine is not a new install it is the same test install I have had from day 1 working with the beta from day 1 which should jive with your old install as far as not being new.

All we do with an email is read the data from the database and replace any variables and send the email.

I am testing and have done so but have yet to recieve an email without line breaks.
__________________
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 20th, 2009, 03:10 PM   #27 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
o.k.

If I want to import or copy my translation and my category structure of "installation 1" into a new fresh installation, how would I do this?
snoopy5 is offline   Reply With Quote
Old April 20th, 2009, 04:08 PM   #28 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
You cant import a category structure as categories on the filesystem are created once a new cat is created in the database. You could backup the categories and phrase tables on one install and copy them to a new install but you would also need to copy the data directories as well.

I would look for differences in files or phrase database strings between the two installs. You know whats the difference.

I am using the same old beta test site I have from day 1 just new files.
__________________
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 21st, 2009, 04:50 AM   #29 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
update. I did not get it to run properly on my first installation. I looked in the table for phrases and there is something marked yell, so I guess thr is somnething wrong with thta table (see screenshot).

So I exported the table for phrases and for categories. I then imported those into my newest fresh installation. That nworked all fine. Even the imported table phrases has no alert anymore in the new database.

E-mails are looking fine now, structure is o.k.

BUT Suprisingly the umlaute do not work suddenly anymore. They did before the import as I described above. If I replace now the imported table phrases with the original one of the fresh install, they do not work neither anymore. Very strange, I just do not understand mysql behaviour. It seems to memorize hidden things somehow

So how I can get the umlaute now to display correctly in the e-mails? They look fine in ACP. I also tried in pp-inc to uncomment the ltr line un_html... mentioned above, but no improvement for umlaute. The get title quotes are changed, so I replaced it with the original code again.

In vbulletin, all e-mails work fine with umlaute and without sending out e-mails as HTML-emails. So there must be a trick for this. How do they do this?
Attached Images
File Type: gif mysql_phrases_ueberhang.gif (22.4 KB, 2 views)
snoopy5 is offline   Reply With Quote
Old April 21st, 2009, 09:45 AM   #30 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Umlates and other characters are and should correctly be stored as html characters in a database. You could try altering the function un_htmlspecialchars to add support to convert certain characters. Aside from that you really need to use html email as thats my suggestion.
__________________
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 21st, 2009, 10:13 AM   #31 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
...Aside from that you really need to use html email as thats my suggestion.

If I set htm-email to on in ACP, the umlaute are correct, but there are no space lines anymore. It looks then like in the quote of post #21
snoopy5 is offline   Reply With Quote
Old April 21st, 2009, 10:33 AM   #32 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Interesting indeed

Try adding this in bold in pp-inc.php where noted and let me know what you get

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 April 21st, 2009, 10:42 AM   #33 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
contents of my html email

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 April 21st, 2009, 11:13 AM   #34 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
Interesting indeed

Try adding this in bold in pp-inc.php where noted and let me know what you get

Code:
Content visible to verified customers only.

o.k., that works for the content of the html e-mails.

What I found out now is, that the umlaute in html e-mails header (regarding line) do not work. They are shown as html code. In ACP it is correct:

phrases for ereplysub and eadmrsub:

Quote:
Neuer Kommentar über ^gettitle bei ^Globals['webname']
looks in the e-mail like:

Quote:
Neuer Kommentar über test bei mywebsite.de
Is the regarding line of e-mail covered in a different place within pp-inc.php?
snoopy5 is offline   Reply With Quote
Old April 21st, 2009, 11:16 AM   #35 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
what are the html content of your html emails?

If its coming out correct I think über should be displayed correctly

My email posted above is showing umlautes correctly
__________________
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 21st, 2009, 11:24 AM   #36 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
what are the html content of your html emails?

...
The CONTENT is displayed corectly. Both, umlaute and structure (line spaces).

The issue is the header/regrading line of an e-mail, which you can see before opening the e-mail. In this "regarding line", the umlaute are not displayed correctly. see screenshot.
Attached Images
File Type: gif regarding_line_umlaute_htmlmail.gif (9.1 KB, 3 views)
snoopy5 is offline   Reply With Quote
Old April 21st, 2009, 01:09 PM   #37 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Your talking about subjects well maybe this in pp-inc.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 April 22nd, 2009, 04:25 AM   #38 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
Your talking about subjects well maybe this in pp-inc.php?

Code:
Content visible to verified customers only.
No, does not work. Same umlaute problem as before in the subject line...
snoopy5 is offline   Reply With Quote
Old April 22nd, 2009, 09:25 AM   #39 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
I will try and do some reading on how HTML emails are handled maybe its an issue where the html is not rendered till the actual email which means html can not be used in a subject line. This is probally the most probable answer.

If thats the case you would need to alter things to do str_replaces on the subject line before the email is sent like I do in most files maybe something like this and see if it works.

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 April 22nd, 2009, 09:36 AM   #40 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Try html_entity_decode

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
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
BB code link is only visible in categories Silver_2000 Photopost Pro Installation & Upgrades 6 October 3rd, 2007 09:36 AM
how do i edit html code? 420 Photopost Pro How Do I...? 2 August 22nd, 2007 12:30 PM
HTML syntax wrong aacircle Photopost Pro How Do I...? 5 January 22nd, 2006 07:57 PM


All times are GMT -5. The time now is 02:57 PM.

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