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 October 26th, 2005, 12:37 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
HTML in reviews(FIXED)

All files upgraded to 3.11 (thanks Chuck).

I've disabled the ability for user's to post HTML in their reviews, however post upgrade several image links that used to be simple inset links to images are printed as plain html code printouts.

An example is this review:

http://www.arniesairsoft.co.uk/revie...hp?product=194

I figured that I'd just edit the links out but this is what happens:

-edit review
-remove html, and leave plain url in place:
Code:
Content visible to verified customers only.
-review is shown with working URL in place the link is shownand parsed as an URL.
-now if I click edit for that review again I'm shown HTML for the inset link
Code:
Content visible to verified customers only.
-when the edit is resubmitted the HTML code output is shown to the user
Code:
Content visible to verified customers only.
is dumped to the screen.

I think I came across this bug before. (I know it's not just me, as someone else has come across it: links in description, loses html if item edited )

Last edited by Arnie; October 26th, 2005 at 12:43 PM.
Arnie is offline   Reply With Quote
Old October 26th, 2005, 12:57 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Well if HTML is off I dont see an issue persay in the html should be printed onscreen but not parsed

However you may want to apply this so convert_markups is not used

Extra Fields html parse problem(FIXED)
__________________
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 October 26th, 2005, 01:04 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
Just checked - I already have that code adjustment in the code you gave me

The problem is that it's taking a submitted URL such as http://www.example.com and displaying it right on first submission, but after an edit it tries to submit HTML back which is disabled.

Shouldn't it parse and display it as [ url ]http://www.example.com[/ url] when you click edit rather than HTML?

Last edited by Arnie; October 26th, 2005 at 01:06 PM.
Arnie is offline   Reply With Quote
Old October 26th, 2005, 01:18 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Try this remove the line in bold

if ( VB3_ENHANCEDINT == "on" ) $ereviews = un_htmlspecialchars($ereviews);
else $ereviews = convert_markups($ereviews);
__________________
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 October 26th, 2005, 06:45 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
That looks to work nicely Thanks (I presume you meant the line in reviews.php)
Arnie 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
Moderators editing reviews(FIXED) ace67 ReviewPost Bug Reports 3 October 31st, 2005 07:34 PM
3.1 HTML Settings(FIXED) WB ReviewPost Bug Reports 25 October 9th, 2005 09:25 AM
Can't post reviews for products(FIXED) Crow ReviewPost Bug Reports 2 September 29th, 2005 09:22 AM
Recent Reviews Error(FIXED) Detomah ReviewPost Bug Reports 10 September 20th, 2005 05:36 PM
No spaces at all in reviews(FIXED) fonzerelli_79 ReviewPost Installation & Upgrades 11 July 13th, 2005 08:56 AM


All times are GMT -5. The time now is 01:48 AM.

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