PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Comments Format in Photopost (http://www.photopost.com/forum/photopost-pro-how-do-i/121203-comments-format-photopost.html)

bicpm November 28th, 2005 06:52 PM

Comments Format in Photopost
 
When posting comments in Photopost Pro 5.1 the comments are all on one line even though there are breaks when writing the comment.

Is there a way to enable photopost to recognize when a user puts a break into something so that the entire comment isn't on one line?

Chuck S November 28th, 2005 07:20 PM

what integration you using?

bicpm November 29th, 2005 01:28 PM

Invision (ib2)

Chuck S November 29th, 2005 01:57 PM

where is this at? what script

I show on showphoto.php this where we use convert_returns

if ( VB3_ENHANCEDINT == "on" ) $commenttextline = un_htmlspecialchars(convert_markups($commenttextline));
else $commenttextline = convert_returns(convert_markups($commenttextline));

bicpm November 29th, 2005 02:32 PM

Ok I may have misunderstood your initial question. The integration you are talking about is for what? I am integrating the gallery with Invision Powerboard. The integration file (ib2) is found in the forums folder.

I see the code in the showphoto.php file but it seems that it is only for vbullettin am I correct? Am I able to change the code to make if for invision?

OR am I totally lost and have no clue what I am talking about? :D

Chuck S November 29th, 2005 03:55 PM

No what I am saying is the comments should be parsed for returns

else $commenttextline = convert_returns(convert_markups($commenttextline));

the else statements says if its not vbulletin use convert returns

also do you have an example to post?

bicpm November 29th, 2005 08:39 PM

2 Attachment(s)
Below there are two attachements, one is before, one is after. In the before you see there are breaks in the comment but after there are no breaks it is all on one line.

Also, I don't see that code anywhere in the php file. I only see:\

Code:

Content visible to verified customers only.

Chuck S November 29th, 2005 10:40 PM

Okay well it looks to me like your not using Photopost 5.21 so my suggestion would be to change the code as marked below

or alternatively just download and update your files to 5.21

Code:

Content visible to verified customers only.

bicpm November 30th, 2005 07:38 AM

My download subscription ran out, so not able to upgrade. But i'll change the code as you say. Thanks, it worked.

Chuck S November 30th, 2005 07:59 AM

No problem buddy ;)


All times are GMT -5. The time now is 11:45 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97