The Joomla! Forum ™



Forum rules


Global Rules
Additional Rules for this forum <------- Please read before posting



Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 34 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Wed Apr 05, 2006 10:20 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 3:36 pm
Posts: 618
I know it took me a very long time to release this, so – for what it's worth – I'm sorry to everyone who was waiting for this  :-[.

But now its done and I "proudly present" the Joomla! StatsCleaner!. A free J! tool that will allow you to easily and safely reset ALL Joomla! statistics and other potentially unwanted data, like poll votes, banner impressions, search text log etc. that may have been collected during the development and testing phase of your website, all with the click of one button.

Use it right before your site is launched and you can easily see how well your site is received, what content items people are most interested in, what files are downloaded the most, if a launch accompanying marketing campaign was successful etc.

In addition to that Joomla StatsCleaner is able to reset stats from some of the most popular Joomla extensions.


"Joomla! StatsCleaner" will allow you to reset the following Joomla! Core stats:

  • Reset the Page Impressions (Hit Count) of ALL Content Items
  • Reset the Browser and Visitor related Statistics (Browser, OS, Domain)
  • Reset the "Content Hits by Date" log
  • Reset the Search Text log (the search strings entered)
  • Reset the Banner Impressions Count of ALL Banners of your site
  • Reset the Banner Clicks Count of ALL Banners of your site
  • Reset the Poll Votes of all Polls of your site
  • Reset the Weblinks Clicks Count of ALL Weblinks of your site

"Joomla! StatsCleaner" will allow you to reset the stats (and other potentially unwanted data) from the following Joomla extensions:

  • Remove all entries from AkoBook guestbook
  • Remove all comments from AkoComment component
  • Remove all comments from Annotation component
  • Reset the download counter and download logs for all DOCMan documents
  • Reset all records of Facile Forms
  • Remove all comments from AkoComment component
  • Reset the Letterman hit counter for all newsletters
  • Remove all comments from MosCom component
  • Reset the download counter and remove all votes and comments from ReMOSitory

Joomla! StatsCleaner will automatically detect if a supported extension is installed and make that reset option only available if so.

Here's a screenshot:

Image

INSTALLATION:
is pretty straight forward as Joomla! StatsCleaner consists only of one single file which needs to be uploaded into your website's root folder. That's it.

USAGE:
Login to your admin backend as Administrator or Super Administrator, then run Joomla! StatsCleaner by entering "http://www.yourwebsite.com/JoomlaStatsCleaner.php", choose which stats to reset, then push the magic button.

Joomla! StatsCleaner is compatible with all Joomla versions from 1.0.0 to 1.0.8 and has been very thoroughly tested. I'm very well aware that this tool is going to be used mostly on sites that are just about to launch, so trust me that I was really paranoid about the possibility that it could cause any damage. Still, I strongly urge you to make a full database backup before you use it. Not because I am worried it could harm your site but because that's what every sane person would do.

I wrote this tool to be very easy to extend, so if you are using a Joomla extension that is collecting stats and you would like to have Joomla! StatsCleaner take care of it just give me a note and I will try and implement it as soon as possible.

Download of Joomla! StatsCleaner v1.0: HERE

Nic


Top
 Profile  
 
PostPosted: Thu Apr 06, 2006 12:41 am 
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Jan 17, 2006 7:42 am
Posts: 908
well done.  :)
a really nice tool for resetting all hits and stats.
would you consider to integrate this into Joomla! Administrator Control Panel,
maybe as a component. So, we wouldn't bother to upload the file when
we need to reset something and we wouldn't bother to delete it when we finish it.
Anyway, great tool.  :laugh:


Top
 Profile  
 
PostPosted: Thu Apr 06, 2006 12:48 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 3:36 pm
Posts: 618
Thanks eddyyanto,

I'm glad you find it usefull.

I figured that most people would use this tool only once on one website, right before the site is about to launch, therefore I made it to work "external", i.e. not installable, on purpose.

You don't really need to uninstall it, as I built in the check for user being logged in as admin or super admin, which is a pretty good protection against misuse I think. You can also rename the "JoomlaStatsCleaner.php" file to whatever you want, so it would really not be detectable if you intend to keep it on a site.

Nic


Top
 Profile  
 
PostPosted: Thu Apr 06, 2006 1:28 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Wed Aug 17, 2005 9:48 pm
Posts: 1571
Location: St Cloud, MN
I am sure it will be used by many, something like this has been asked for many times on the forum.

Thanks for the contribution.

--Slixter

_________________
--Search the forums and you will find your answer


Top
 Profile  
 
PostPosted: Thu Apr 06, 2006 12:15 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sun Aug 21, 2005 8:46 am
Posts: 575
Location: Perth, Western Australia
Couldn't have come at a better time. Site to launch next week, so many thanks for this. A must have tool for everyone.

_________________
Joomla! - enjoying every minute of the journey!


Top
 Profile  
 
PostPosted: Fri Apr 07, 2006 3:13 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 3:36 pm
Posts: 618
Thanks for your replies Slixter and Chinaman,

if you know of any other extensions that you'd like to see supported please let me know.

Nic


Top
 Profile  
 
PostPosted: Thu Apr 13, 2006 7:16 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 22, 2005 8:33 am
Posts: 17
Location: Sofia, BULGARIA
I had downloaded and install this script as required but when I run it I only see the RESET option. I want to delete the ReMOSitory comments and you claim it does the job but HOW?

_________________
The ark was built by amateurs.The Titanic was built by professionals...


Top
 Profile  
 
PostPosted: Thu Apr 13, 2006 7:42 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 3:36 pm
Posts: 618
When you select "ReMOSitory (File Repository)" and click the "Reset Statistics" button the ReMOSitory reviews (comments), votes and download counters will be reset.


Top
 Profile  
 
PostPosted: Thu Apr 13, 2006 7:49 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 22, 2005 8:33 am
Posts: 17
Location: Sofia, BULGARIA
Thanks for the really quick answer! 8)

_________________
The ark was built by amateurs.The Titanic was built by professionals...


Top
 Profile  
 
PostPosted: Wed May 17, 2006 5:21 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Mon Jan 30, 2006 5:43 pm
Posts: 128
Location: Grover Beach
Great tool, thanks.

I would like to bounce a couple of things around concerning hits and statistics.  This is great for a site launch, however how do you manage cumulating statistics in order to monitor progression.

An example would be say an event, marketing campaign, and advertising.  A way to track success points.  For the sake of simplicity, let us say I have a membership item I want to track hits on.  Currently there are 100 hits.  I do a marketing campaign and need to track the success of that campaign by monitoring hits.  Say a week after the campaign I have 300 hits.  I understand this is not absolute science and would probably not hold up in a court of law; however, it will give you an idea of traffic volumes.

This appears simple on the surface, basic math.  However, take that example and multiple it by 1000 and the volume becomes difficult to manage. 

I was thinking you could dump the database table/tables that hold the statistics into an excel spreadsheet as a snapshot and then just write a macro and re-dump after the campaign and do a simple subtraction.

Big question…  What tables are statistics maintained in??

Thanks,

_________________
----

Thank you,


Top
 Profile  
 
PostPosted: Thu May 25, 2006 3:16 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Oct 18, 2005 9:44 pm
Posts: 323
Location: Sydney - Australia
I'm sorry if this is a stupid question but..

when I log in to admin as the super administrator and then paste the URL for the cleaner:
"http://www.mysite.org.au/JoomlaStatsCleaner.php" in to the browser URL box I get a msg from within the stats cleaner:

" For security reasons you need to be logged in as Administrator or Super Administrator!"

I can't seem to persuade it that I AM logged in as S.A. I've tried on Firefox and IE - same result. I can't see what I am doing wrong. Anyone any clues? Sounds like a great tool and I can't wait to use it!

Thank you

_________________
Dex
Joomla implementor
http://www.spikesystems.com.au
http://www.joomla.org.au - Aussie Joomla user groups & events


Top
 Profile  
 
PostPosted: Tue Sep 12, 2006 11:16 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Sep 12, 2006 11:05 am
Posts: 8
dex wrote:
I'm sorry if this is a stupid question but..

when I log in to admin as the super administrator and then paste the URL for the cleaner:
"http://www.mysite.org.au/JoomlaStatsCleaner.php" in to the browser URL box I get a msg from within the stats cleaner:

" For security reasons you need to be logged in as Administrator or Super Administrator!"

I can't seem to persuade it that I AM logged in as S.A. I've tried on Firefox and IE - same result. I can't see what I am doing wrong. Anyone any clues? Sounds like a great tool and I can't wait to use it!

Thank you


I do believe that this script is not compatible with Joomla! 1.0.11 yet.  This version breaks the user verification part of the script.


Top
 Profile  
 
PostPosted: Tue Sep 12, 2006 12:07 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 3:36 pm
Posts: 618
Sorry, I haven't had the time to check compatibility with 1.0.11 yet. I will look into it as soon as possible.

Regards
Nic


Top
 Profile  
 
PostPosted: Fri Sep 15, 2006 10:12 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 3:36 pm
Posts: 618
Sorry, but I can't recreate the problem here. I tried JSC on several 1.0.11 installations and everything worked flawlessly. Do you still have the problem?

Nic


Top
 Profile  
 
PostPosted: Wed Sep 20, 2006 1:12 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Dec 14, 2005 10:14 am
Posts: 43
I receive an error when I'm trying to reset anything

Warning: Unexpected character in input: '' (ASCII=15) state=1 in /usr/local/dh/cgi-system/php.cgi on line 1240

Parse error: syntax error, unexpected T_STRING in /usr/local/dh/cgi-system/php.cgi on line 1240

any input?


Top
 Profile  
 
PostPosted: Tue Oct 24, 2006 10:10 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Nov 24, 2005 4:56 am
Posts: 17
Can you do the reverse with your tool - preset the initial votes for a poll? I'm just a marketing guy and rather than having a 3-question poll start out with 0, 0, and 0 votes (which looks quite lonely and uninteresting) I would like a new poll to start out with say, 999, 1001, and 1000 votes.

I actually delved into the database backend of my site's poll component (quite a dangerous thing for me to do) and I did not see any obvious data field to simply enter those numbers. It seemed to want me to increment another field one at a time. Great for real elections but not so handy for a simple marketing preference.


Top
 Profile  
 
PostPosted: Wed Oct 25, 2006 11:42 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 3:36 pm
Posts: 618
cchelius wrote:
Can you do the reverse with your tool - preset the initial votes for a poll? I'm just a marketing guy and rather than having a 3-question poll start out with 0, 0, and 0 votes (which looks quite lonely and uninteresting) I would like a new poll to start out with say, 999, 1001, and 1000 votes.

I actually delved into the database backend of my site's poll component (quite a dangerous thing for me to do) and I did not see any obvious data field to simply enter those numbers. It seemed to want me to increment another field one at a time. Great for real elections but not so handy for a simple marketing preference.


Faking a poll? Never trust a marketing guy  :D

It's a bit offtopic for this thread, but hey, this could be fun. Anyway I would suggest not using Joomla!StatsCleaner for this, it is much easier to achieve with phpMyAdmin. Ok, here comes my little guide on how to fake a poll (actually its quite lengthy, but that's only because I really made it step-by-step to make it easy to follow in phpMyAdmin):

GUIDE ON HOW TO FAKE A POLL

A poll's result consists of three different informations, which are located in three different database tables, jos_polls, jos_poll_data and jos_poll_date.

Using phpMyAdmin enter the database of your Joomla! installation. Now:

1.) "How often any poll option has been voted upon" (used for the graphical display of the poll's results)

In the list of tables on the left side click on "jos_poll_data". At the top click on "Browse". You will now see the contents of the db table with each option of your poll as row. Click on the little pencil in the row of the first poll option you want to modify. Now you can modify the contents of that row. Change the value of the field "hits" to "999" or whatever you want. Next click on the "Go" button at the bottom. Repeat this step for all your poll's vote options.

2.) "How many people have voted" (displayed in "Number of Voters" below the poll's results)

In the list of tables on the left side click on "jos_polls". At the top click on "Browse". You will now see the contents of the db table containing one row for each poll you have set up on your site. Click on the little pencil in the row of the poll you want to modify. Now you can modify the contents of that row. Change the value of the field "voters" to something that makes sense, eg if you have three options with 999, 1000 and 1001 votes total it "voters" should be "3000". Next click on the "Go" button at the bottom. Repeat this step for all the polls you want to fake ;)

3.) "The date and time of the first and the last vote" (also displayed below the poll's results)

In the list of tables on the left side click on "jos_poll_date". Now two things could happen, please continue accordingly:

a) you can click on the button "Browse" at the top
b) you can't click on the button "Browse" at the top because it is greyed out

a) If you can click on the button "Browse" at the top just click it and skip b)

b) If the "Browse" button is greyed out and not clickable it means that there are now rows in this table and that means that you have never voted on any poll of that particular Joomla! install. If that should be the case it would be easier to continue if you open another browserwindow, go to the frontend of your site and vote once on any option of any poll. That way a row that we can modify will be created. After that go back to phpMyAdmin and again n the list of tables on the left side click on "jos_poll_dat[color=red]e". The button "Browse" will now be clickable. Click it. You will have only one row in this table, but we need two if we do not want the "First Vote" and "Last Vote" to display the same date and time. So we need to create a second row. To do that click on the "Insert" button at the top. Next click on "Go" and then again on "Browse" at the top. Now you will see that we have a second row that we may use for the date & time of the "Last Vote" display. Remember the value of "poll_id" of the first row, click on the little pencil of the second row and insert that value into the field "poll_id". Now click on the "Go" button.[/color]

You will now see the contents of the db table containing one row for each vote that has been made upon any option of any poll off your site. If you have several polls you can first click on "poll_id" at the top of the last column of this table. That way they will be sorted by poll. Now click on the little pencil in the first row of the poll you want to modify. Now you can modify the contents of that row. Change the value of the field "date" to the date & time of when the first vote supposedly should have been made. Next click on the "Go" button at the bottom. Now click on the little pencil in the last row of the poll you want to modify. Again change the value in the field "date" to the date & time of when the last vote supposedly should have been made.

That's it. You have successfully faked a Joomla! poll.

Hope this helps.

Nic


Top
 Profile  
 
 Post subject: Re: How to Fake a Poll
PostPosted: Wed Oct 25, 2006 5:13 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Nov 24, 2005 4:56 am
Posts: 17
thanks for your wonderful reply; you truely are a Joomla Hero. I'm ready to move to Chicago and run for office!


Top
 Profile  
 
PostPosted: Fri Dec 15, 2006 1:57 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Nov 08, 2006 6:35 pm
Posts: 15
I love this script, it has worked very well on a couple of Joomla installs so far. But when I try to use it on a site running on PHP5, I get a 500 Internal Server Error when I click the "reset statistics" button.

Is it something with the script, or perhaps something with my host?

Thanks.


Top
 Profile  
 
PostPosted: Tue Jan 09, 2007 10:37 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Sep 19, 2006 3:45 am
Posts: 16
hey guys....this script looks really amazing. I am a webmaster for a my youthgroup at church. we have about 14 branches nationwide. we would like to use one tempalte for different branches so it looks more uniform and professional. I have created a demo site for the group to look at. When i transfer the demo site to the branch location...my old stats from demo site shows. I copied the JoomlaStatsCleaner.php into the root directory of the new branch and ran it from back end. It said it cleaered it but when i got to the site it still shows the old stats even in joomla stats. can someone help me out plz!

I am using joomla 1.0.11 and joomlastats version 2.1 if that matters!

you can email me at admin@swyouthclub.org

thanks for the help guys

_________________
Malik Hemani
Malik@GraphicStylus.net
http://www.GraphicStylus.net


Last edited by Malik_Hemani on Wed Jan 10, 2007 3:15 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Thu Jan 18, 2007 5:36 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Nov 19, 2006 12:29 pm
Posts: 1
Just to confirm that I cannot login either. Have tried ie7 and ff2 with  no luck other than the screen the other user mentioned about needing to be logged in at a seperate instance. Shame, would have been nice.


Top
 Profile  
 
PostPosted: Thu Mar 29, 2007 9:39 pm 
When i go to, website.com/JoomlaStatsCleaner.php, i keep being told to login as an administrator even though i already am... I can't access the stat cleaner until i "login as administrator".

Anyone used this with joomla 1.0.12


Last edited by chillinhh on Thu Mar 29, 2007 9:44 pm, edited 1 time in total.

Top
  
 
PostPosted: Thu Mar 29, 2007 10:45 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 3:36 pm
Posts: 618
Joomla! StatsCleaner (including the login) is working fine with all J! 1.0.x versions, I have confirmed that. If login doesn't work please read and follow the information provided when hovering the "Having trouble logging in?" text.


Top
 Profile  
 
PostPosted: Fri Sep 28, 2007 8:42 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Apr 11, 2006 1:09 pm
Posts: 9
I just installed it to reset my stats, but when I run it, I get this error set:

Warning: Unexpected character in input: '' (ASCII=15) state=1 in /usr/local/dh/cgi-system/php.cgi on line 1318

Warning: Unexpected character in input: '' (ASCII=1) state=1 in /usr/local/dh/cgi-system/php.cgi on line 1318

Warning: Unexpected character in input: ' in /usr/local/dh/cgi-system/php.cgi on line 1318

Warning: Unexpected character in input: ' in /usr/local/dh/cgi-system/php.cgi on line 1318

Parse error: syntax error, unexpected T_STRING in /usr/local/dh/cgi-system/php.cgi on line 1319


Top
 Profile  
 
PostPosted: Sat Oct 13, 2007 8:02 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon May 14, 2007 9:33 pm
Posts: 3
I also have the same internal server error 500. My host is also working with mysql 5.0 did you solve the problem?
I would like to use this script.
What did you do?


Top
 Profile  
 
PostPosted: Sat Oct 13, 2007 8:06 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon May 14, 2007 9:33 pm
Posts: 3
Melibabe wrote:
I love this script, it has worked very well on a couple of Joomla installs so far. But when I try to use it on a site running on PHP5, I get a 500 Internal Server Error when I click the "reset statistics" button.

Is it something with the script, or perhaps something with my host?

Thanks.


I also have the same internal server error 500. My host is also working with mysql 5.0 did you solve the problem?
I would like to use this script.
What did you do?


Top
 Profile  
 
PostPosted: Mon Oct 15, 2007 12:58 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Apr 11, 2006 1:09 pm
Posts: 9
No, I have heard nothing about it yet, and frankly forgot since my site is now live and running the stat cleaner would not make sense at this point.


Top
 Profile  
 
PostPosted: Fri Oct 19, 2007 4:50 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Jun 08, 2007 11:47 pm
Posts: 9
Very cool,

thanks so much


Top
 Profile  
 
PostPosted: Fri Jan 04, 2008 4:37 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Jul 09, 2007 12:09 am
Posts: 12
JoomlaStatsCleaner will not run on PHP 5+ If you are having issues with it giving a internal server error. If you have the option change your domain host to PHP 4.4.7


Top
 Profile  
 
PostPosted: Sat Feb 02, 2008 11:36 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Jan 19, 2008 3:34 am
Posts: 10
Great tool - thank you very much.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 34 posts ]  Go to page 1, 2  Next



Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group