Contributions
Admin Reports Count Reset
Admin Reports Count Reset v1.0 for osCommerce 2.2 MS2
This contribution provides an easy way to reset the counts for Products Viewed and Products Purchased under Admin Reports. Users have the option to clear ALL counts or clear counts for individual products.
A screen shot is included of the Reports->Products Viewed screen to show how the "Clear ALL" and product "Clr" links look. Modified copies of stats_products_viewed.php and stats_products_purchased.php are also provided.
Expand All / Collapse All
enthält nur die deutschen Sprachdateien
This version of the contribution should be fully compatible with osCommerce 2.2 RC2a and register globals (on or off). Other changes include (see the changelog for complete list):
1) Switched the minus to descending and the plus to ascending.
2) Updated Clear All to use * instead of 0 as the magic value.
3) Added tep_db_prepare_input and (int) casting when using int parameters with the DB.
Support thread: http://forums.oscommerce.com/index.php?showtopic=344632
Fixed overlapping tags. Tested on clean and modified version of MS2.
Full package.
Changed hardcoded language, it is more multilingual now.
Full package.
Corregido un pequeño problema en el archivo stats_products_purchased.php, funcionando al 100%
Changes:
1)Added sorting by products_name and/or counts!
So now these stats are even "clearer" than before :lol:
2)Some other small code changes (a.o. added te_href linking and replaced hardcoded filenames by defines)
3)removed descriptions of code (sorry no time), removed screenshot (look at v1.0 for screenshot, it's almost the same)
Admin Reports Count Reset v1.0 for osCommerce 2.2 MS2
This contribution provides an easy way to reset the counts for Products Viewed and Products Purchased under Admin Reports. Users have the option to clear ALL counts or clear counts for individual products.
A screen shot is included of the Reports->Products Viewed screen to show how the "Clear ALL" and product "Clr" links look. Modified copies of stats_products_viewed.php and stats_products_purchased.php are also provided.
Note: Contributions are used at own risk.