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 Installation & Upgrades

ReviewPost Installation & Upgrades If you're having problems getting ReviewPost Pro to work or receiving errors while running RP, seek help here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 16th, 2005, 12:48 PM   #1 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Upgrade v2.9 to v3.11 - & is now being shown as &amp

In upgrading Reviewpost from v2.9 to v3.11 I 've noticed that the line spacing problem has been sorted where an extra line was being thrown in at the end of every paragraph or carriage return.

A new problem is that & is now being shown as & and " as "

I'll have to look for some examples of this problem as I've been going through each product and changing all instances of & to and.

The problem is that one of my customfields is for a URL that always an & - the problem is that since the upgrade ReviewPost is rewriting the & to &amp in the URL. Take a look at http://scene-out.com/party/showproduct.php?product=89 and click on the 'Find it on the map' link.
criscokid is offline   Reply With Quote
Old November 16th, 2005, 01:05 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
What happens if you turn html on in descriptions?
__________________
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 November 16th, 2005, 01:45 PM   #3 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Setting 'Allow HTML in Product Fields?' to 'yes' fixes the problem put creates another problem... when using BBcode in the product descruiption causes the BBcode text to be displayed rather than the formated link the BBcode is supposed to create.
criscokid is offline   Reply With Quote
Old November 16th, 2005, 02:58 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
try this then in showproduct.php

if ($Globals['allowhtml'] == "yes" ) $desc = un_htmlspecialchars( $desc );
else $desc = convert_markups( $desc );

would become

$desc = convert_markups( un_htmlspecialchars( $desc ) );
__________________
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 November 16th, 2005, 05:19 PM   #5 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Thanks Chuck - that solves the problem providing 'Allow HTML in Product Fields?' is set to 'yes'.
criscokid is offline   Reply With Quote
Old June 11th, 2006, 05:50 PM   #6 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Upgrading to ReviewPost 3.3 I can't get the 'additional fields' to show data formatted with BBcodes - when using BBcode the actutal BBcode is displayed rather than nicely formated text.

Is it possible to use some sort of control character to force a line break in the data I put into an 'additional field'?
criscokid is offline   Reply With Quote
Old June 11th, 2006, 06:16 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
How about in showproduct.php 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 online now   Reply With Quote
Old June 12th, 2006, 03:27 AM   #8 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
No change unfortunately
criscokid is offline   Reply With Quote
Old June 12th, 2006, 11:59 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
it definately works. Remember this was the change for product extra fields. If its review extra fields you need to change the same type of line for the extra fields in reviews as well to add convert_markups

Is it reviews your talking about not product extras?
__________________
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 June 12th, 2006, 12:56 PM   #10 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Quote:
Originally Posted by Chuck S
Is it reviews your talking about not product extras?
It's the product extras (not review/comment extras).

Last edited by criscokid; June 12th, 2006 at 01:46 PM.
criscokid is offline   Reply With Quote
Old June 12th, 2006, 01:27 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
well here is an explicit example the code posted works

http://www.reeftalk.com/reviews/show...p/product/1864
__________________
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 June 12th, 2006, 03:44 PM   #12 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
What else do you recommend I check to try get it working?
criscokid is offline   Reply With Quote
Old June 12th, 2006, 04:57 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
make sure you doing the exact edit to showproduct.php that I have provided.
__________________
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 June 12th, 2006, 05:22 PM   #14 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
I read your line "How about in showproduct.php this line in bold"
and added the 'bold code' it in as an extra line instead of replacing the line. At least I've got that sorted now

Next problem: In the productextra fields if I enter a ' I get \' being displayed.

And a question: Is it possible to use some sort of control character to force a line break in the data I put into a 'product extra' fields?
criscokid is offline   Reply With Quote
Old June 12th, 2006, 05:30 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
If the line you changed is the line in bold in showproduct.php bbcode definately displays

I would have to do testing on slash issues.
__________________
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 June 12th, 2006, 05:54 PM   #16 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Is it possible to use some sort of line break or control character to force a line break in the data I put into a 'product extra' fields?
criscokid is offline   Reply With Quote
Old June 12th, 2006, 06:31 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
In a text box? NO
__________________
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 June 13th, 2006, 05:49 PM   #18 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
One of my 'product extra' fields is for a URL that always an & - the problem is that since the upgrade ReviewPost is rewriting the & to & in the URL.
criscokid is offline   Reply With Quote
Old June 13th, 2006, 06:20 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I am using a url in the box fine so please post a link and a test login

http://www.reeftalk.com/reviews/show...p?product=1865

amp works fine in a url and there is not much we can do since we need to call convert_markups to convert markup on those fields. Now its the lesser of two evils here

Now I am talking about 3.3 here so you might want to upgrade if your on a n old version.
__________________
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 June 14th, 2006, 03:44 AM   #20 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
I experienced the same problem when I upgraded RP2.9 to RP3.11 - see the first post of this thread.

I'm doing this on a test site at the moment - I'd need to move it to a public site for you to be able to login.
Correct format: http://www.streetmap.co.uk/streetmap...180350&A=Y&Z=1
From RP extra field: http://www.streetmap.co.uk/streetmap...mp;A=Y&Z=1

The first URL is a 'good URL', the second URL is what RP is formatting the URL as when it's put into an extra field. If you click on the second link you'll see that it's not working.
criscokid 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
Image Title: &(FIXED) NightClubber Photopost Pro Bug Reports 8 October 19th, 2005 12:49 AM
& and " for edit reviews.php/edit(FIXED) Arnie ReviewPost Bug Reports 4 September 8th, 2005 02:04 PM
Upgrade error 5.11 & 5.12 stmpspaz Photopost Pro Installation & Upgrades 3 June 27th, 2005 05:24 PM
&c=3&userid=74 ? Borgs8472 How Do I? - vBulletin 3.0.X 4 April 18th, 2005 08:25 AM
max upload size && request acceptance for registration elad General Discussion 1 August 6th, 2004 07:30 AM


All times are GMT -5. The time now is 09:36 PM.

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