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 > ReviewPost Pro Support Forums > ReviewPost Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 7th, 2005, 05:41 PM   #21 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: Northern California
Posts: 383
Ooops I think the admin email notification of reviews also has this problem.

Regards,

Matt
memobug is offline   Reply With Quote
Old June 16th, 2009, 03:06 PM   #22 (permalink)
Member
Verified Customer
 
Join Date: Apr 2009
Posts: 86
Ok, I'm having this problem with showproduct pages 1x01 Pilot - Malcolm in the Middle Voting Community - Episode Guide

Also " gets converted to "

I guess there is just a line I need to add?

Thanks
theojones is offline   Reply With Quote
Old June 16th, 2009, 03:46 PM   #23 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Your files seem to be modified there.

You can try turning on the switch in admin options to allow html in reviews for one.

Next as far as slashes I wonder why they are there unless vbulletin is adding them. anyway you can try adding this line in showproduct.php where noted in bold.

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 16th, 2009, 05:57 PM   #24 (permalink)
Member
Verified Customer
 
Join Date: Apr 2009
Posts: 86
Files have been modified but only the templates.

I added that line however it has had no effect.

I can't allow HTML in reviews that would be a major security hole.

Another issue possibly related is URL in reviews (not product fields) aren't formatted correctly.

They appear as such: http://"http//www.malcolminthemiddle.co.uk/forum/"
theojones is offline   Reply With Quote
Old June 16th, 2009, 06:49 PM   #25 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Maybe how about this in showproduct find this

Code:
Content visible to verified customers only.
Replace it with this

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 31st, 2010, 04:53 PM   #26 (permalink)
Member
Verified Customer
 
Join Date: Apr 2009
Posts: 86
I'm upto date with 4.2 and can't find the phrase you mention in showproduct.php

I'm still having this issue. Any other ideas?

If doesn't seem to effect disc or extra1,2 etc it only effects the "Additional field type"

My best guess is that whatever stops the slashes appearing in the disc and extra fields is missing from the custom fields.

Many thanks.

Last edited by theojones; January 31st, 2010 at 05:31 PM.
theojones is offline   Reply With Quote
Old January 31st, 2010, 06:03 PM   #27 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
where are you getting the slashes?

If its the product reviews the line I noted exists and your suppose to add the line in bold above it.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 31st, 2010, 06:09 PM   #28 (permalink)
Member
Verified Customer
 
Join Date: Apr 2009
Posts: 86
Quote:
Originally Posted by Chuck S View Post
where are you getting the slashes?

If its the product reviews the line I noted exists and your suppose to add the line in bold above it.
In the product fields (not the reviews) 1x01 Pilot - Malcolm in the Middle Voting Community - Episode Guide
theojones is offline   Reply With Quote
Old January 31st, 2010, 07:24 PM   #29 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
what in the world someone has to be adding those there is no way your server is going to consistently add 100 slashes

we typecast the description to stripslash where needed but you can always add a line after $desc is defined like this

[code]

$desc = stripslashes($desc);
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 31st, 2010, 07:37 PM   #30 (permalink)
Member
Verified Customer
 
Join Date: Apr 2009
Posts: 86
[quote=Chuck S;1261059]what in the world someone has to be adding those there is no way your server is going to consistently add 100 slashes

we typecast the description to stripslash where needed but you can always add a line after $desc is defined like this

Code:
Content visible to verified customers only.
I'm guessing, but is something missing from above?
theojones is offline   Reply With Quote
Old February 1st, 2010, 10:15 AM   #31 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
You could try adding this line where noted in bold to your showproduct template

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 6th, 2010, 12:06 PM   #32 (permalink)
Member
Verified Customer
 
Join Date: Apr 2009
Posts: 86
I added the line, see below, but its had no effect.

Am I the only person having this issue?

Code:
Content visible to verified customers only.
theojones is offline   Reply With Quote
Old February 6th, 2010, 12:12 PM   #33 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Hello

The code I meantioned would only strip a slash if it exists. Its not going to strip 50 slashes because your example has 50 slashes and yes you are the only one who has reported an issue with this.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 6th, 2010, 12:23 PM   #34 (permalink)
Member
Verified Customer
 
Join Date: Apr 2009
Posts: 86
Yes, I understand it won't strip 50 slashes, I did a test, with no slashes and it added them, after the form was submitted.

"Jake's hat"

becomes "Jake\'s hat"

Is there something wrong with my PHP setup?
theojones is offline   Reply With Quote
Old February 6th, 2010, 12:32 PM   #35 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Okay well even if it did that on the backend the stripslash you added on the front end should surpress it. However it would be nice to know why your getting slashes like that

Really you can try this

around line 433 in uploadproduct.php try adding this line in bold

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 6th, 2010, 12:45 PM   #36 (permalink)
Member
Verified Customer
 
Join Date: Apr 2009
Posts: 86
I've just noticed the slashes are being added when I go to edit the product, not when submitting. So I guess I need to strip slahes in editproduct.tmpl

Maybe adding something to the code below?

Code:
Content visible to verified customers only.
theojones is offline   Reply With Quote
Old February 6th, 2010, 12:57 PM   #37 (permalink)
Member
Verified Customer
 
Join Date: Apr 2009
Posts: 86
I added the bold and it seems to have fixed it, I think I'm learning!

Code:
Content visible to verified customers only.
theojones is offline   Reply With Quote
Old February 6th, 2010, 02:38 PM   #38 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
ah yes knowing here the error is occuring helps alot
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
no <br> in comments(NOT A BUG) dontom Photopost Pro Bug Reports 11 February 27th, 2009 03:16 PM
Where's the latest comments section?(NOT A BUG) Johnny Doomo Photopost Pro Bug Reports 14 October 10th, 2005 04:28 PM
User Comments and Dates(NOT A BUG) CaddisNJF Photopost Pro Bug Reports 16 September 20th, 2005 10:19 AM
Error Code when Users Post Comments(NOT A BUG) rcwild Photopost Pro Bug Reports 8 September 5th, 2005 01:13 PM


All times are GMT -5. The time now is 06:47 AM.

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