View Single Post
Old April 17th, 2005, 03:48 PM   #11 (permalink)
memobug
Member
Verified Customer
 
Join Date: Jun 2002
Location: Northern California
Posts: 383
Found the bugs!

Quote:
Originally Posted by omegatron
Exactly they share the same function and works fine

http://www.reeftalk.com/reviews/show...hp?product=430

I just did a normal reply hitting return maybe I am missing something here but I am running 2.91 and I dont see anything different other than what I posted above for people using vb3 not wanting to use WSYIWYG
Hi Chuck. You are getting double spacing in your vBenhanced reviewpost too. Photopost doesn't do this and hasn't done this as long as I can remember.

After comparing rp's showproduct.php with pp's showphoto.php I found and corrected the following two bugs in showproduct.php v2.91
>>>It isn't appropriate to call convert returns in vb enhanced mode.

NOTE: These bugs only affect vB users! These fixes correct double spacing in the Product Description and Reviews fields when displayed by showphoto.php

These line numbers come from version 2.91 of showphoto.php. However, the bugs themselves are the same in 2.9. The line numbers are similar.

Step 1: Correct display of Product Description

FIND around LINE 271
$desc = convert_markups( stripslashes($desc) ); $desc = convert_returns( $desc );

and replace it with this:
Code:
Content visible to verified customers only.
Step 2, Correct display of reviews

FIND around LINE 478
$reviewtext[$itemnum] = convert_returns($reviewtextline);

and replace it with this:
Code:
Content visible to verified customers only.
The good news is that it's only a display issue. The content in the database is "single spaced".

Regards,

Matt
memobug is offline   Reply With Quote