 | |  | | | Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here. |
August 5th, 2005, 02:51 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Oct 2002 Location: Germany
Posts: 254
| no <br> in comments(NOT A BUG)
newlines are not getting replaced by <br> in my pp-installation.
I had to add Code: Content visible to verified customers only.
in "showphoto.php, line 865
Thomas
|
| |
August 5th, 2005, 10:58 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
I bet you have vb3
if ( VB3_ENHANCEDINT != "on" ) $commenttext[$itemnum] = convert_returns($commenttextline);
else $commenttext[$itemnum] = $commenttextline;
|
| |
August 28th, 2005, 04:04 PM
|
#3 (permalink)
| | Senior Member Verified Customer
Join Date: Nov 2002 Location: Reykjavik, Iceland
Posts: 724
|
Chuck, where do I add this code?
__________________
Geiri
|
| |
August 28th, 2005, 04:49 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
that should be in showphoto.php already
|
| |
September 3rd, 2005, 11:29 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Jan 2004
Posts: 220
|
Chuck, with the current code, line breaks are only converted to <br> with vb integration enabled. So the if statement should be removed so that convert_returns is called everytime.
|
| |
September 3rd, 2005, 11:43 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
If I am not mistaken looking at the code convert_returns is called only if you DO NOT have vb3 integration on Code: Content visible to verified customers only.
|
| |
September 3rd, 2005, 11:54 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Jan 2004
Posts: 220
|
I see and VB3_ENCHANCEDINT is set to "off" if you're not using vb integration.
Then there must be another reason why linebreaks aren't converted on my installation. Like dontom, I have to add a convert_returns() call to make it work.
|
| |
September 3rd, 2005, 12:08 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
Interesting convert returns works on my test standalone install
VB3_ENCHANCEDINT is set to OFF OR ON in config-int.php
|
| |
September 3rd, 2005, 12:45 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Jan 2004
Posts: 220
|
Turned out be an issue with character encoding and server settings. So no photopost problem.
|
| |
September 3rd, 2005, 05:42 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
Thats good to hear as looking at the code there was nothing for us to change
I did not think German required special encoding
|
| |
February 27th, 2009, 01:43 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: Holland
Posts: 116
|
Chuck, if I may ad somthing about line breaks.
I did read the threads but I see the VB3_ENHANCEDINT is commented out by /// I have VB3 and set Enhanced to ON.
Every time I give an enter something like beneath is the output: "This is a test text"
"Followed by a single enter, if I give two enters it looks like this:"
"So much space is taken by this."
What can be my solution, I find 3 lines: //if ( VB3_ENHANCEDINT == "on" ) in showphoto.php
Thank you in advance.
|
| |
February 27th, 2009, 02:16 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
THERE SHOULD NOT BE ANY COMMENTED OUT LINES IN SHOWPHOTO
At least there is not in our current code that I see
|
| | |
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 01:59 AM. | |