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 > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 12th, 2005, 10:55 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 53
Negative value for Items Sold(NOT A BUG)

Why the Items Sold value is negative in the Statistics Bar ?
http://classifieds.singaporeexpats.com/index.php
prodigy is offline   Reply With Quote
Old August 12th, 2005, 11:44 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
$query = "SELECT amt_sold,ads_sold FROM {$Globals['pp_db_prefix']}stats";
$totalv = ppmysql_query($query,$link);
list( $amtsold, $soldads ) = mysql_fetch_row($totalv);
ppmysql_free_result($totalv);

I would think somewhere when your ads where deleted by you that the price was changed or something along the way after it was sold resulting in an amount being deducted higher than what was initially set when the ad was sold
__________________
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 August 12th, 2005, 10:16 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 53
Some how when ONE ad expires, item sold becomes -1 and it adds on ....

ANy way to cure this ?
prodigy is offline   Reply With Quote
Old August 12th, 2005, 10:25 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
The only time I show we negate a value is when a user chooses to resell an ad or the admin in the approve admin chooses to relist expired ads.

I show this coded correct as the other way around when an ad is sold the stats are positively added
__________________
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Q: what happens with sold items? dontom Classifieds Suggestions 18 May 11th, 2006 03:35 PM
Value of all sold articles is negative dontom Classifieds Bug Reports 3 September 21st, 2005 10:49 AM
Items Sold increases when wanted items are found. mawby Classifieds Suggestions 2 June 28th, 2005 04:10 AM
Items that are SOLD are not being removed ludachris Classifieds Bug Reports 3 July 2nd, 2004 10:10 PM


All times are GMT -5. The time now is 08:54 PM.

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