 | |  | | | ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost. |
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
|
| |
June 16th, 2009, 03:46 PM
|
#23 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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/"
|
| |
June 16th, 2009, 06:49 PM
|
#25 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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.
|
| |
January 31st, 2010, 06:03 PM
|
#27 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
January 31st, 2010, 07:24 PM
|
#29 (permalink)
| | Photopost Developer Verified Customer
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);
|
| |
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?
|
| |
February 1st, 2010, 10:15 AM
|
#31 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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.
|
| |
February 6th, 2010, 12:12 PM
|
#33 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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?
|
| |
February 6th, 2010, 12:32 PM
|
#35 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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.
|
| |
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.
|
| |
February 6th, 2010, 02:38 PM
|
#38 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,788
|
ah yes knowing here the error is occuring helps alot |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:47 AM. | |