Click Counter II

From TNG_Wiki
Revision as of 08:28, 14 September 2012 by Roebie (talk | contribs)
Jump to navigation Jump to search
Click Counter II
Summary Download Manager
Validation The mod is XHTML compliant.Valid-xhtml10.png
Mod Updated {{{mod_last_update}}}
Download link ClickCounterIIv1.2.zip
See download statistics
Download stats {{{download_stats}}}
Author(s) Bart 'Roebie' Degryse
Homepage Click Counter II
Mod Support TNG forum
Contact Developer
Latest Mod 1.2
Min TNG V
Max TNG V
Files modified
Related Mods
Notes


Purpose

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.


Developer

This mod was developed by Bart 'Roebie' Degryse.


Requirements

  • A working web server with PHP
  • Enough patience to read the manual.


Installation

  1. 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!
  2. 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. The folder should have 0755 permissions. The database file in the folder should have 0644 permissions.
  3. 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. Let's go through the essential steps together though... Start with opening the settings.php file you haven't uploaded yet in a plain text editor (like notepad, notepad++, vi, nano, kate,...).
  4. In the $settings['apass'] line replace the password 'admin' with something more secure.
  5. In the $settings['click_url'] line you should fill in your own domain name and the name of the folder you have used to upload the rest of the files to.