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 January 7th, 2007, 03:42 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Two Bugs: Price Field and Location

Hi,

I've noticed that whenever any non-numerical character is entered into the price field (i.e. $400), the entry is discarded instead of being converted to a plain number. This can easily be fixed with a PHP function.

Also, there are no location definitions for the vBulletin-integrated version:

Code:
Content visible to verified customers only.
A very small .xml plugin can take care of this
Attached Images
File Type: jpg location_bug.jpg (44.2 KB, 5 views)
MoMan2 is offline   Reply With Quote
Old January 7th, 2007, 11:17 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,729
This is not a bug sorry price is typecast as an INTEGER and thus if it is not an integer it is tossed away. It is actually being sanitized by the typecast function

Second is also not a product bug of Reviewpost. In fact this is a vbulletin issue and has nothing to do with our code but there is a reviewpost modification for vbulletin. In our reviewpost modifications forum is a plugin to show who's online modifications in vbulletin
__________________
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 7th, 2007, 01:41 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
In that case, I'll need to change it myself. None of the prices users enter show up because they all include the dollar sign

Thanks for the plugin.
MoMan2 is offline   Reply With Quote
Old January 7th, 2007, 06:44 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,729
where are you entering a price on a review? It works fine that I see. I enter a price on a review and it is input fine. In reviews.php I show 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 7th, 2007, 11:31 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
I'm entering the price on the default "post a review" page.

I've now modified the code to fit my needs, but originally, here were the conversions:

600 > 600
$600 > 600
USD 600 > 0
600 USD > 600

This is fine, but not all web users understand the way these things work, so I'm just trying to keep things as simple as possible for them.
MoMan2 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
How to remove "price paid" field? sbb ReviewPost Installation & Upgrades 10 September 27th, 2005 05:29 PM
How do i change the field Condition and the price value wrang Classifieds Installation & Upgrades 4 September 26th, 2005 02:25 PM
Price field doesn't turn into Cost? robferrari Classifieds Bug Reports 3 August 6th, 2005 03:29 PM
Location Field Question kilcher Classifieds Installation & Upgrades 2 January 11th, 2005 11:46 PM


All times are GMT -5. The time now is 12:01 PM.

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