PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   5.21 comshow and links in comments bug (http://www.photopost.com/forum/photopost-pro-bug-reports/122061-5-21-comshow-links-comments-bug.html)

Geiri January 8th, 2006 11:16 AM

5.21 comshow and links in comments bug
 
All links that are inserted into coments are buged

Code:

Content visible to verified customers only.

Chuck S January 8th, 2006 01:09 PM

How about in comshow.php

$comrow['post'][$x] = $post;

change to

$comrow['post'][$x] = convert_markups(un_htmlspecialchars($post));

Geiri January 8th, 2006 03:57 PM

no still the output is
Code:

Content visible to verified customers only.
I replaced the 5.21 comshow with my old one from 5.13 thad did not fix it :confused:

Geiri January 8th, 2006 04:09 PM

I allso have problems if I logout and get the page
Your cookies have now been cleared

The urls to frontpage and same page are like this

Code:

Content visible to verified customers only.

Chuck S January 8th, 2006 04:56 PM

well I would suggest you upload all clean 5.21 from the download and then do the one edit in comshow.php I note above.

Geiri January 8th, 2006 05:08 PM

I did that now the url is
Code:

Content visible to verified customers only.

Chuck S January 8th, 2006 05:19 PM

where is the url that?

Chuck S January 8th, 2006 05:22 PM

Try this in showphoto.php

if ( VB3_ENHANCEDINT == "off" ) $commenttextline = convert_markups($commenttextline);

change to this

if ( VB3_ENHANCEDINT == "on" ) $commenttextline = convert_markups($commenttextline);

Geiri January 8th, 2006 05:51 PM

Not working

but now in comments.php urls are working but not in comshow.php

Code:

Content visible to verified customers only.
I downloaded a fresh version and changed all files and reIntegrated vit vB still the same.

Allso set up a test galleri with same error there

Chuck S January 8th, 2006 05:54 PM

so comments work on showphoto now try this in comshow.php I changed it slightly

http://www.photopost.com/forum/showp...43&postcount=2

Geiri January 8th, 2006 06:53 PM

That screws it up even more in the date and senders field

Chuck S January 8th, 2006 06:59 PM

You would have to post what you mean by that. That should not affect anything but the comment posted

Chuck S January 8th, 2006 07:13 PM

Please post a link or something I just entered a url using the default photopost 5.21 code and comshow looks fine to me

http://www.reeftalk.com/gallery/comshow.php

Geiri January 8th, 2006 07:37 PM

1 Attachment(s)
See the photo

Chuck S January 8th, 2006 07:59 PM

upload a clean comshow.php

The link I posted is using default photopost 5.21 files from our latest downloads no edits necessary that I show.

Chuck S January 8th, 2006 08:11 PM

1 Attachment(s)
Well I dont see any full links except for one half way down the comshow that has a partial link the user did not use a full link but I posted a test comment on your site and it shows correct.

Image attached.

Geiri January 9th, 2006 02:30 AM

1 Attachment(s)
I see that Chuck :confused:

I am sorry for this trouble but....

I have tried a few times, and the case is if I enter the link and dont hit enter afterwards the links aperar allright, I just hit send and send it as a text

How ever if I enter the link and hit ENTER to let the Quick reply compile it it adds those qoute marks around it.

There is allso a diffrence in the database

If ENTER is hit before sending the link it is sent like this in the DB
Code:

Content visible to verified customers only.
If ENTER is not hit after sending the link it is sent like this in the DB
Code:

Content visible to verified customers only.
SO the problem seamst to be in leting the reply field not compile the link befor it is sent.

I attached a screen of phpmyadmin / comments.

Chuck S January 9th, 2006 08:34 AM

Okay well its all a matter of a certain condition being met ;) We just need to sync up on how your doing it but I think that does not matter in this case as showphoto works just lets make comshow.php like showphoto

find this in comshow.php

Code:

Content visible to verified customers only.
change to this

Code:

Content visible to verified customers only.

Geiri January 9th, 2006 10:45 AM

B=0 :D :p


Good thinking.
Works like a charm.

Used the orginal comshow with this.

Code:

Content visible to verified customers only.
Thank you, Chuck for your time on this.


All times are GMT -5. The time now is 09:25 AM.

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