More than a simple counter, this one has additional features and a multilingual administration panel. Starting there everything is configurable, from the type of output up to storage locations of the internal system files; cached settings are renewed automatically and immediately active after logout. The optional backup possibility can be set to send the current value by email after each certain amount of hits. By using the optional IP blocker the script is operating as a true visitor counter or just as a simple hit counter.
- Upload in that directory, in which your website is (and you're planning to use the counter), the folder
chscoreincluding its contents. If it already exists, overwrite the files. - If not yet present, paste in this code at the very beginning of your site (even before
<html>,<!DOCTYPE [...]or<?xml [...]):
<?php include('chscore/CHSCore.php'); ?> - Point your browser to your website and attach
?module=CHSCounterAdminto the address. Follow the instructions.
- Your site is:
https://www.mySite.com/myFolder/myIndex.php
(Put in here in the first line<?php include('chscore/CHSCore.php'); ?>) - Then upload the counter to:
https://www.mySite.com/myFolder/chscore/ - And start installation with:
https://www.mySite.com/myFolder/myIndex.php?module=CHSCounterAdmin
Upload the folder chscore including its contents and replace each existing file.
Back up the files counter.dat and, if present, ip.dat from folder chscore/modules/CHSCounter/. Delete the folder chscore afterwards and install the new version as explained above. Pasted in code on your website doesn't need to be changed again. Finally upload the backed up files to the chscore/data/ folder and replace the existing ones.
- How to manage my counter?
Just point your browser to your website by adding?module=CHSCounterAdminto the address, as you did during the installation and follow the instructions. - I've forgot my password!
Go to the login form, you can request a new password there. The old one is still valid until you log in with the new password. - Can I use other images for displaying the counter value?
Sure, you just need to replace the provided PNG images with your own ones. For each number an own image, that means the0has to be named0.png, the1has to be named1.png, etc. Put all images with numbers into thechscore/images/CHSCounter/folder. - I'm getting a message "ERROR: Can't create config file!"?!?
Set with your FTP program and chmod command the permisson to755for these folders:chscore/config/chscore/data/
- Is it possible to translate the counter to another language?
Of course, copy an appropriate INI file (e.g.en-US.CHSCounter.ini) from thechscore/languages/folder and rename the official language code of the filename to the corresponding of the desired language. Likefr-FR.CHSCounter.inifor French in France ornl.CHSCounter.inifor general Dutch. Start translating the strings between the quotation marks and check the hints at the beginning of the file. By having a complete translation, upload it to thechscore/languages/folder and if applicable choose it from the language menu in the administration panel. Please send it also to me for providing it to other user! 🙂 - My question isn't answered here!
Please visit my board at https://www.chrissyx.com/forum/ or write me an email: [email protected]
© 2004-2022 by Chrissyx
Powered by V4 LeetCore Technology
https://www.chrissyx.de/
https://www.chrissyx.com/