View Full Version : One more problem with conversion...
February 25th, 2009, 02:30 PM
New comments are including HTML when displayed...an example:
<P>wonderful picture and clipping mask!</P>
Any ideas? The gallery is still closed, but I can send you an admin login if you need it.
February 25th, 2009, 03:03 PM
we dont naturally parse html for security reasons we allow bbcode though
February 25th, 2009, 03:08 PM
They aren't putting in HTML...they're just typing in the WYSIWYG box and that's what it's showing after they post.
February 25th, 2009, 03:22 PM
link and test login?
February 25th, 2009, 03:26 PM
February 25th, 2009, 03:34 PM
what version are you running one that you downloaded like a couple days ago?
February 25th, 2009, 03:36 PM
Um, no, she was already running Photopost, it was just a conversion from phpBB3 to vB that I've done...let me see what version it is...6.2.
February 25th, 2009, 03:48 PM
How old is this version?
I see this in our downloaded showphoto.php file which is correct
$commenttextline = un_htmlspecialchars($commenttextline);
if ( VB3_ENHANCEDINT == "on" )
$commenttextline = convert_markups($commenttextline);
$commenttextline = convert_returns(convert_markups($commenttextline));
February 25th, 2009, 04:13 PM
Unless I somehow screwed that up when I was fixing the signatures, it should be the current file. Maybe I copied and pasted from that old thread to fix where I took it out...so is that the problem?
February 25th, 2009, 04:14 PM
Oh, it looks like that is commented out...is that the problem?
February 25th, 2009, 04:16 PM
guess not, tried it and still the same...
February 25th, 2009, 04:38 PM
yes it can not be commented out
February 25th, 2009, 06:14 PM
I changed that, though, and it didn't fix it...so I changed it back because I didn't want to interfere with anything you might be doing.
February 25th, 2009, 06:19 PM
I am responding to a support thread on your forum thats not going to change anything on your site. ;) The code should indeed be as I posted and I show this correct in our current download. It is possible you might need to upgrade to show things correctly as 6.2 did change from its initial release.
February 25th, 2009, 06:25 PM
Well, I uploaded a new fresh copy of the showphoto.php file and that didn't fix it, but I went into the Edit Integration and turned "If using the Enhanced option above, do you want to enable the vB3 WYSIWYG control in Post Comments?" to yes...and it seems to be handling new comments right now, but the old ones are still showing the HTML...any way to clean that up?
February 25th, 2009, 06:34 PM
Okay, I am telling you this FYI, I made that change and the new comments were right, but those that were already posted still showed the HTML. I noticed, though, that the comment box was very narrow and when you tried to edit a comment, the smilies broke out of the table and made it too wide...so I went and changed this:
Do you want to enable the vB3 Enhanced features which use vB3 controls in PhotoPost?
to off and now the comments all seem to be appearing fine...weird?
February 25th, 2009, 06:48 PM
try editing old comments.
Did you try that. I cant say about old comments posted before your import stuff as they where probally posted in some other non vb format
February 25th, 2009, 06:57 PM
They're all fine now...after I turned that one setting off, and it needs to be off, anyway, because of how it loads. My point was just that that setting isn't a very well-integrated option since it breaks the table of a fixed width layout (and it does in vB, too, but there's a mod to correct it there) and that setting is what was causing my comments to show the HTML...just an FYI, that's all :) .
February 25th, 2009, 07:03 PM
okay have a good evening.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.