Forums Index > Mewsoft Products > Auctionawy > Site Statistics update
NufSed First Post Posted on: 02-27-08 10:13 PM
Site Statistics update

In the site statistics area of the main page the 'Current Auctions' counts everytime a new item is listed and every time an existing item is relisted. It does not however subtract an item when it closes, therefore not showing accurate data. For example, If I put 1 item on the site for 1 day and have the script auto relist the item 7 times, then at the end of the week the site statistics will show 7 Current Auctions.

Thanks in advance NufSed
mewsoft Reply #: 1 Posted on: 02-28-08 03:12 AM
Re: Site Statistics update

You have to process the closed auctions either manually or automatically using cront jobs or scehdualed task. See you admin->Auctions manager, Automate processing.

Mewsoft Support
www.mewsoft.com

NufSed Reply #: 2 Posted on: 02-28-08 04:40 AM
Re: Site Statistics update

I already auto process with cron jobs however I manually processed just to see and no change.
mewsoft Reply #: 3 Posted on: 02-28-08 09:02 AM
Re: Site Statistics update

It seems you have arranged the wrong classes:

191 Categories
59 Current Auctions
32 Users

if you do search for * you get 20 open auctions, if you click on "show closed auctions" you get 39 so total is 59 which means this is the Total auctions count, in the home page template, make sure this is:

<!--CLASS::Total_Auctions_Count--> [[total_items_count]]<br>
<!--CLASS::Open_Auctions_Count--> [[open_items_count]]<br>


Mewsoft Support
www.mewsoft.com

NufSed Reply #: 4 Posted on: 02-28-08 02:29 PM
Re: Site Statistics update

I have it working now with a slight variation on your recommendation.
you said to use

<!--CLASS::Open_Auctions_Count--> [[open_items_count]]<br>

This gives the correct number of open auctions but the label changes to [open_items_count].
So, in order for it to work correctly I had to put it;

<!--CLASS::Open_Auctions_Count--> [[total_items_count]]<br>

.
So, if any one else has this same issue this is the current fix.

Also, I received the script this way. I had not changed this area so you may want to check the master copy so that no more get sent out with this small issue.

[i:0fa931423d]Thanks for the help Support[/i:0fa931423d]
mewsoft Reply #: 5 Posted on: 02-28-08 05:38 PM
Re: Site Statistics update

You just need to add this language variable

open_items_count

to the file General in your Language manager
leave the old one for the total auctions count

Mewsoft Support
www.mewsoft.com