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

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 5th, 2005, 02:51 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2002
Location: Germany
Posts: 254
Send a message via ICQ to dontom
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
dontom is offline   Reply With Quote
Old August 5th, 2005, 10:58 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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;
__________________
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 August 28th, 2005, 04:04 PM   #3 (permalink)
Senior Member
Verified Customer
 
Geiri's Avatar
 
Join Date: Nov 2002
Location: Reykjavik, Iceland
Posts: 724
Chuck, where do I add this code?
__________________
Geiri
Geiri is offline   Reply With Quote
Old August 28th, 2005, 04:49 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
that should be in showphoto.php already
__________________
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 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.
Astaran is offline   Reply With Quote
Old September 3rd, 2005, 11:43 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
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 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.
Astaran is offline   Reply With Quote
Old September 3rd, 2005, 12:08 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
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 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.
Astaran is offline   Reply With Quote
Old September 3rd, 2005, 05:42 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
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 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.
drare is offline   Reply With Quote
Old February 27th, 2009, 02:16 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
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
Backslashs comments bug caliman ReviewPost Bug Reports 37 February 6th, 2010 01:38 PM
Where's the latest comments section?(NOT A BUG) Johnny Doomo Photopost Pro Bug Reports 14 October 10th, 2005 03:28 PM
User Comments and Dates(NOT A BUG) CaddisNJF Photopost Pro Bug Reports 16 September 20th, 2005 09:19 AM
Error Code when Users Post Comments(NOT A BUG) rcwild Photopost Pro Bug Reports 8 September 5th, 2005 12:13 PM


All times are GMT -5. The time now is 01:59 AM.

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