Access Counters

From HE FAQ
Revision as of 06:54, 18 May 2010 by Mestes (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

For our third OS revision, we have included a much more streamlined counter system. It's easy to administer and has a lot of nifty options, such as stylish (and sometimes offbeat!) counter graphics and per-page access counts.

To install it, simply SSH into your server and execute the command:

install_counter

Make sure to read the output, as it contains important information regarding counter administration.

The installation script creates /home/YOUR_ACCOUNT/.web/gcount-data.bin and the file counter.cnf will exist in there. This is the configuration file for access to the management of your counters. In order to set your user name and password for maintaining your counters, you will need to edit this file in a plain text editor such as Notepad. If you do not, the default information listed in this file will be your user name and password for managing your counters. When you're done, you can include the counter in your individual pages using the following HTML:

<a href="http://YOURDOMAIN.TLD/counter/gcount.php?name=NAME&show=report">
	<img src="http://YOURDOMAIN.TLD/counter/gcount.php?name=NAME&digits=5&typeface=73"></a>
  • YOURDOMAIN.TLD - Your domain goes here.
  • NAME - The name of the page you're keeping track of. It's recommended that you use the name of the page itself, ('index' for index.html, etc) but any name will do.
  • digits= - The number of digits in your counter
  • typeface= - The typeface you want to use. Click here for the full list.

To administer your counter data, just click on your counter graphic, then click 'Admin'.