smart Posted January 27, 2005 Share Posted January 27, 2005 Has any one used this contribution Admin Reports Count Reset v1.0 for osCommerce 2.2 MS2 I have uploaded files but no luck. I need to reset report numbers Thanks B) Quote Link to comment Share on other sites More sharing options...
Guest Posted January 27, 2005 Share Posted January 27, 2005 (edited) Scott, I wrote it. What is it doing/not doing? ed Edited January 27, 2005 by medvid Quote Link to comment Share on other sites More sharing options...
smart Posted January 27, 2005 Author Share Posted January 27, 2005 Thanks Ed In the admin only the products show as beforew. No change like the screen shoot. Only the 2 php files to upload Thanks Quote Link to comment Share on other sites More sharing options...
smart Posted January 27, 2005 Author Share Posted January 27, 2005 I can not see option to clear ALL counts or clear counts for individual products. I have uploaded copies of stats_products_viewed.php and stats_products_purchased.php Thanks Ed Quote Link to comment Share on other sites More sharing options...
CKENT00369 Posted January 28, 2008 Share Posted January 28, 2008 Scott, I wrote it. What is it doing/not doing? ed Trying to add this contrib, thanks for making it. The version I am trying to install is v1.4. In the instructions it says 3) admin/includes/languages/english/stats_products_viewed.php and admin/includes/languages/english/stats_products_purchased.php add: define('TEXT_CLEAR_ALL', 'Clear All'); define('TEXT_CLEAR', 'Clear'); My question is where in those files to I add the define(...) at??? Beginning, End, middle or does it matter where it is added? Any help will be much appreciated. Thank you Quote Link to comment Share on other sites More sharing options...
hari_shyam Posted January 28, 2008 Share Posted January 28, 2008 Trying to add this contrib, thanks for making it. The version I am trying to install is v1.4. In the instructions it saysMy question is where in those files to I add the define(...) at??? Beginning, End, middle or does it matter where it is added? Any help will be much appreciated. Thank you all the defines are very fine just above the closing ?. of the language file. Hari Quote Link to comment Share on other sites More sharing options...
CKENT00369 Posted January 28, 2008 Share Posted January 28, 2008 (edited) all the defines are very fine just above the closing ?. of the language file. Hari Thank you very much. With your comment I realized I was doing it wrong. I almost messed up pretty good. I should probably sleep before trying to edit this stuff. I added the files into the language area instead of the admin dir.. then tried to add the defines to the new files.. good thing I back up everything before I try one of these. Thanks again. Edit: BY the way. GREAT CONTRIBUTION. Better than having to go enter update into SQL everytime I want to clear the products viewed. Thanks for the contrib. Edited January 28, 2008 by CKENT00369 Quote Link to comment Share on other sites More sharing options...
Guest Posted May 10, 2008 Share Posted May 10, 2008 Trying to add this contrib, thanks for making it. The version I am trying to install is v1.4. In the instructions it saysMy question is where in those files to I add the define(...) at??? Beginning, End, middle or does it matter where it is added? Any help will be much appreciated. Thank you Hari or ckent, I added the two defines to products_viewed.php but nothing happened. do I need to add to both php files or am I doing something wrong. I Have gone back to the edit file and the defines are there. All of the past views are still there as well. ?????? please advise. really lostbob :blush: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.