 | |  | | | ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost. |
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 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
|
| |
April 20th, 2009, 12:53 PM
|
#22 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
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.
|
| |
April 20th, 2009, 12:58 PM
|
#23 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
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.
|
| |
April 20th, 2009, 12:59 PM
|
#24 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
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
Last edited by Chuck S; April 20th, 2009 at 01:08 PM.
|
| |
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 ...
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¬ifyid=^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.
|
| |
April 20th, 2009, 01:46 PM
|
#26 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
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.
|
| |
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?
|
| |
April 20th, 2009, 04:08 PM
|
#28 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
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.
|
| |
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?
|
| |
April 21st, 2009, 09:45 AM
|
#30 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
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.
|
| |
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 ...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 |
| |
April 21st, 2009, 10:33 AM
|
#32 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
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.
|
| |
April 21st, 2009, 10:42 AM
|
#33 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
contents of my html email Code: Content visible to verified customers only.
|
| |
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 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?
|
| |
April 21st, 2009, 11:16 AM
|
#35 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
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
|
| |
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 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.
|
| |
April 21st, 2009, 01:09 PM
|
#37 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
Your talking about subjects well maybe this in pp-inc.php? Code: Content visible to verified customers only.
|
| |
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 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...
|
| |
April 22nd, 2009, 09:25 AM
|
#39 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
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.
|
| |
April 22nd, 2009, 09:36 AM
|
#40 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
Try html_entity_decode Code: Content visible to verified customers only.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 09:42 PM. | |