||Downloads of Click Counter II are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account
||If you are having trouble downloading with the Google Chrome browser, try using try right-click and select Open in new Window, then F5, or use another browser
Click Counter II is in the first place - no, you couldn't have guessed it - a click counter. You have something others can download from your website, your blog, your tng site, the tng wiki, ... and you want to know how many times it was downloaded? Well, Click Counter II will help you do just that.
But maybe you also want to show off those thousands of downloads? Click Counter II will help you do that too. You can create a link to a statistics page or you can show the number of downloads inline. There's even several methods to do it, just in case your environment would prevent you from using one or the other.
And maybe you make a lot of downloadable files. With Click Counter II you can group them to your liking. For example a group per TNG mod and each group contains all versions of the mod that have been released and all language files for that mod.
This mod was developed by Bart 'Roebie' Degryse.
- A working web server with PHP
- Enough patience to read the manual.
- Download the appropriate zip file as shown in the summary in the upper right corner of the page. NOTE that I host these zip files on my own server. That way I can count the number of downloads for each zip file. I bet you can never guess what tool I use to do that!
- Extract the files from the downloaded zip file (except for settings.php) into whatever folder of your web server. I strongly advise you however to use a newly created folder for this, eg ccount.
- Now you can open the manual. Use your browser to go to http://www.yourdomain.com/yourfolder/readme.htm. Everything you need to know (and probably much more) should be in there.
- Start by providing 3 essential pieces of information in the settings.php file. See the installation chapter in the manual on how to do this.
- After that you can start using Click Counter II. Follow the steps in the 'Using Click Counter II' and 'Counting downloads' chapters of the manual.
Upgrading to v1.3a
The following steps apply to existing v1.3 users upgrading to v1.3a
- Write down the options from Click Counter II Email Notify v18.104.22.168 or v22.214.171.124a (if installed).
- Uninstall Click Counter II Email Notify v126.96.36.199 or v188.8.131.52a (if installed).
- Copy the files in the extracted click_counter_v13a_updated_files.zip file to your click count folder (or extract the zip file directly in your click counter folder)
- Copy the click_counter_v13_upgrade.cfg file to your mods folder.
- For TNG v12 sites, Copy the new version of click_counter_email_notify_v184.108.40.206.cfg to your mods folder (if v220.127.116.11 was previously installed).
- Install Click Counter II v1.3 Upgrade.
- Install Click Counter II Email Notify v18.104.22.168 (if v22.214.171.124 was prior version was installed).
- for TNG versions prior to TNG v12, re-install click_counter_email_notify_v126.96.36.199a.cfg
- Use the Mod Manager Edit Options for Click Counter II Email Notify (if it was installed) and put back the options you wrote down in Step 1
- Verify that your click counter is functioning.
- Delete the Click Counter II Email Notify v188.8.131.52 and Click Counter II v1.3 Upgrade cfg files from your mods folder.
- This is the old version of the config for the first mod and the one time upgrade config that updates version number in the settings file for the second, so yes it is okay to delete these cfg files. (You may need to enable the Option in Mod Manager to delete installed mods without uninstalling them first, or use your FTP client to delete the cfg files)
- Count all hits or unique hits
- Works for regular links as well as download links
- Password protected admin panel
- Links can be grouped
- Statistics per group, per link, per selection of groups or per selection of links
- Inline statistics
- Graphical display of number of downloads
- Downloadable files can be stored outside the webroot
- Database can be stored outside the webroot
- Extensive documentation
- Some of the core files can be shared between Click Counter II instances
||This image shows the Compact Person Media group. In this group are the three zip files that have been made available so far. You can see how many times each version has been downloaded, when they were added and what their unique id is. You also see the X, O and E buttons for deleting, reseting and editing each link.
|To add a new link you have to provide a name and an url for the link. If you want you can also choose the group from the dropdown list. As you can see there is also extra information on each form field.
||The Click Counter II admin panel also provides some statistics on the links you've created: their number, the total number of clicks, the avarage per link and the link with the most clicks.
|Adding a new group with the Click Counter II admin panel is as easy as can be: just provide a group name.
||The group statistics list all existing groups, their unique id and the number of links in each group. You also see the X and E buttons for deleting and editing each link.
|All links, groups and number of clicks are stored in a database. Here you can make a backup of this database or restore one. I have never had to use this restore option, but better safe than sorry...
||You can view statistics per group...
|or you can show several groups at once.
||And the same for the individual links: statistics per link...
|or statistics for a selection of links, even from multiple groups.
||And finally you can have inline statistics.
In the event of a problem
||31 May 2019
||The following issues were fixed by William 'Rick' Bisbee, Wendel Voight, and Brent Hemphill
- Fixed Add link and Add group page links
- Fixed PHP warnings and notices in index.php, click.php, and simpleDBAccessorSQLite.php
- Existing users should
- download and install the click_counter_v13_upgrade.zip
- download and extract the click_counter_v13a_updated_files.zip
- copy the extracted files and replace the existing modules in their current Click Counter II folder
||16 September 2012
||Fixed some bugs found by William (Rick) Bisbee. Thanks Rick!
- Some typos in the manual
- Replaced all php short tags (<?=) by regular tags (<?php echo)
||14 September 2012
- Added XHTML compliancy
- Added link to manual in admin panel
- Moved all styling to css file
- Some minor corrections in the manual
||8 May 2012
- Major cleanup of the initial release
- Added the groups feature
- Added the backup/restore feature
- Added the statistics feature
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
See Using Click Counter II on how to use the scripts to count your TNG mod downloads.
See Click Counter II Email Notify mod on how to get email notifications and how to restrict mod downloads to TNG Wiki logged-in users.