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 Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 14th, 2004, 05:51 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: Northern California
Posts: 383
[1.8c] More Slashes - apostrophes

All the custom fields that have apostrophes still give the slash problem when the category is displayed for editing.

e.g.
Seller's Country becomes
Seller\'s Country

and after a few edits to other fields, it keeps picking up slashes

Seller\\\\\\\\\\\\\\\'s Country

etc.

Regards,

Matt
memobug is offline   Reply With Quote
Old July 14th, 2004, 03:31 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,808
try changing lines 228-233 in showproduct.php from this

$extra1 = convert_markups( $extra1 ); $extra1 = convert_returns( $extra1 );
$extra2 = convert_markups( $extra2 ); $extra2 = convert_returns( $extra2 );
$extra3 = convert_markups( $extra3 ); $extra3 = convert_returns( $extra3 );
$extra4 = convert_markups( $extra4 ); $extra4 = convert_returns( $extra4 );
$extra5 = convert_markups( $extra5 ); $extra5 = convert_returns( $extra5 );
$extra6 = convert_markups( $extra6 ); $extra6 = convert_returns( $extra6 );


to this

$extra1 = convert_markups( stripslashes($extra1) ); $extra1 = convert_returns( $extra1 );
$extra2 = convert_markups( stripslashes($extra2) ); $extra2 = convert_returns( $extra2 );
$extra3 = convert_markups( stripslashes($extra3) ); $extra3 = convert_returns( $extra3 );
$extra4 = convert_markups( stripslashes($extra4) ); $extra4 = convert_returns( $extra4 );
$extra5 = convert_markups( stripslashes($extra5) ); $extra5 = convert_returns( $extra5 );
$extra6 = convert_markups( stripslashes($extra6) ); $extra6 = convert_returns( $extra6 );
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 20th, 2004, 11:19 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: May 2003
Posts: 39
Quote:
Originally Posted by omegatron
try changing lines 228-233 in showproduct.php from this

$extra1 = convert_markups( $extra1 ); $extra1 = convert_returns( $extra1 );
$extra2 = convert_markups( $extra2 ); $extra2 = convert_returns( $extra2 );
$extra3 = convert_markups( $extra3 ); $extra3 = convert_returns( $extra3 );
$extra4 = convert_markups( $extra4 ); $extra4 = convert_returns( $extra4 );
$extra5 = convert_markups( $extra5 ); $extra5 = convert_returns( $extra5 );
$extra6 = convert_markups( $extra6 ); $extra6 = convert_returns( $extra6 );


to this

$extra1 = convert_markups( stripslashes($extra1) ); $extra1 = convert_returns( $extra1 );
$extra2 = convert_markups( stripslashes($extra2) ); $extra2 = convert_returns( $extra2 );
$extra3 = convert_markups( stripslashes($extra3) ); $extra3 = convert_returns( $extra3 );
$extra4 = convert_markups( stripslashes($extra4) ); $extra4 = convert_returns( $extra4 );
$extra5 = convert_markups( stripslashes($extra5) ); $extra5 = convert_returns( $extra5 );
$extra6 = convert_markups( stripslashes($extra6) ); $extra6 = convert_returns( $extra6 );

That fixes it, for example, in the category description field where I was having the problem (at least now no slashes are shown before commas). However, every time the category is edited, more slashes get inserted so that "john\'s wares" on the next edit becomes "john\\'s wares" then "john\\\'s wares" etc. Just a minor annoyance that on each edit i have to clear out the slashes...

Last edited by kontrabass; July 20th, 2004 at 11:21 AM.
kontrabass is offline   Reply With Quote
Old July 26th, 2004, 06:14 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 24
Quote:
Originally Posted by omegatron
try changing lines 228-233 in showproduct.php from this

$extra1 = convert_markups( $extra1 ); $extra1 = convert_returns( $extra1 );
$extra2 = convert_markups( $extra2 ); $extra2 = convert_returns( $extra2 );
$extra3 = convert_markups( $extra3 ); $extra3 = convert_returns( $extra3 );
$extra4 = convert_markups( $extra4 ); $extra4 = convert_returns( $extra4 );
$extra5 = convert_markups( $extra5 ); $extra5 = convert_returns( $extra5 );
$extra6 = convert_markups( $extra6 ); $extra6 = convert_returns( $extra6 );


to this

$extra1 = convert_markups( stripslashes($extra1) ); $extra1 = convert_returns( $extra1 );
$extra2 = convert_markups( stripslashes($extra2) ); $extra2 = convert_returns( $extra2 );
$extra3 = convert_markups( stripslashes($extra3) ); $extra3 = convert_returns( $extra3 );
$extra4 = convert_markups( stripslashes($extra4) ); $extra4 = convert_returns( $extra4 );
$extra5 = convert_markups( stripslashes($extra5) ); $extra5 = convert_returns( $extra5 );
$extra6 = convert_markups( stripslashes($extra6) ); $extra6 = convert_returns( $extra6 );
I tried that and it didn't work for some reason. Any other advice would be greatly appreciated.

Thanks.
tteal is offline   Reply With Quote
Old July 26th, 2004, 06:23 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 24
Quote:
Originally Posted by tteal
I tried that and it didn't work for some reason. Any other advice would be greatly appreciated.

Thanks.
Nevermind, I found the bug and you posted the following fix: $desc = convert_markups( stripslashes($desc) ); $desc = convert_returns( $desc );

Hope that might help someone else.
tteal is offline   Reply With Quote
Old July 27th, 2004, 12:56 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: Northern California
Posts: 383
I appreciate your researching the issue.

I appreciate the research into the problem. I don't myself want to install slash fixes repeatedly with every release, but I will keep reporting the slash problems when I see them, if they persist.

Thanks,

Matt
memobug 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
1.8: Slashes problem djroketboy Classifieds Bug Reports 12 August 7th, 2004 12:32 PM
2.8c/vb3 slashes issue 7thgencivic.com ReviewPost Bug Reports 1 July 20th, 2004 09:52 AM


All times are GMT -5. The time now is 04:28 PM.

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