“WTStats” Documentation by “Pricop Alexandru”
“WTStats v3”
Thank you for purchasing my script. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here, or email me at pricop2008@yahoo.com. Thanks so much!
Table of Contents
- Preparing...
- Upload process...
- Installation...
- Faq...
1. Setting up your MySQL and FTP server - top
This script requires PHP 5 and MySQL.
Now, first thing you want to do, is to make sure you create a MySQL database along with an user for it
(IMPORTANT NOTE: Copy somewhere your mysql username, and password, as you will need them later), and setup your FTP server for the domain where the script will be installed.
So your requirements are:
A) A MySQL database + MySQL user
B) Domain name + FTP server.
2. Upload process - top
-
The first step is to upload the content inside the folder "Script" (IMPORTANT NOTE: Upload what's inside the folder Script, not the script folder) into your public_html folder or into your default FTP root folder.
-
The second thing is to upload into your MySQL database using the IMPORT function available in MySQL the .sql file from the folder called "MySQL".
3. Installation process - top
Now, after you uploaded everything, you can start the installation process.
Changes in MySQL
1st Step (making some basic changes for your script)
- Open table traffic_settings, and hit "EDIT" in order to edit the row.
- Now, replace in the 'Value' field "WEBSITE.com" with your domain name, in the column called: list_url and hit 'Go' when you've done with the changes, other settings can be changed directly from the Admin Panel.
2nd Step (changing the admin password [default password is: pricop2008@yahoo.com])
- Log in into your Admin Panel. (url to admin panel: YOURWEBSITE.com/index.php?a=admin )
- Now, go to Change Settings, scroll down until you see the option to change the admin password.
- Enter your password in the input, and hit the button called Change settings. Now you changed your password.
Changes inside Script
- With a text editor (e.g.: Notepad), open the following file located inside the 'Script' folder: settings_sql.php.
Now, replace what's inside the brackets (e.g.: 'YOURDBNAME') with your MySQL settings, you should have something like this:
$CONF['sql_database'] = 'YOURDBNAME';
$CONF['sql_username'] = 'YOURDBUSER';
$CONF['sql_password'] = 'YOURDBPASS';
save and exit.
- Open counter.php located in the 'Script' folder, and replace "WEBSITE.com" with your domain name, save and exit.
- Go to reCaptcha.net and register your domain name, you will recive 2 keys, a public one, and a private one.
Now, open join.php located in the 'Script/sources' folder, and on the line 15 and 16, replace what's inside the brackets ('') with your keys.
define('PUBLIC_KEY', 'HERE_COMES_THE_PUBLIC_RECAPTCHA_KEY');
define('PRIVATE_KEY', 'HERE_COMES_THE_PRIVATE_RECAPTCHA_KEY');
You need to modify the 'HERE_COMES_THE_PUBLIC_RECAPTCHA_KEY' with your public key, and do the same with the private one.
Now, after you finished the steps above, upload the edited files
counter.php, settings_sql.php to your ftp's root folder (usually it's called "public_html") in order to replace the old filed, and the
join.php to your root/sources/ folder.
4. Faq - top
- Q: I want to modify a text or something about the design...
A: You can change anything visual from the theme located in: /skins/legible/
- Q: I want to change the the behaviour of the statistics, or create new ones...
A: Usually, you will want to modify the files called button.php, counter.php and stats.php.
-
Q: I want to change the text from logo...
A: Open your 'PSD' folder, there you have the .psd of the logo, edit it and save it in the folder 'Script/skins/legible/images/logo.png'.
- Q: I have problems/questions related to the script, how can I contact you...
A: If you want a live chat, you can add me on Y!Messenger: pricop2008, if you want to contact me via email, pricop2008@yahoo.com
Pricop Alexandru
Go To Table of Contents