Schnak3
6.10.2008, 15:43
Skinuo sam jednu PTC skriptu ali imam problem sa uploadovanjem.Za test samo uzeo besplatann 0fees.net host.Host radi preko FTPa ali imam problema sa podesavanjem config.php fajla.
Script Installation Tutorial
Step 1: Create a Database from your hosting "Control Panel/cPanel" and remember to add a user to database if you are using cPanel X and remember DB name and password.
Step 2: Go to "Script-Path/config.php" and edit it to your database setting also Script-Path/install/config.php.
$dhost = "localhost"; //usually localhost, or ip
$dusername = "admin"; // database user
$dpassword = "240188"; // database pass
$ddatabase = "scriptbux"; // database name
$pro_click = "30"; // default 30 seconds, Premium member visit timer
$free_click = "45"; // default 45 seconds, Free member visit timer
$script_path = "http://localhost/scriptbux"; // your script have isntalled, do not include "/" slash at the end
Step 3: Upload all files in Script Folder to your FTP.
Step 4: To install ScriptBux script simplely just locate your browser to http://yoursiteurl.com/setup.php if everything is good it should only give you lots of green text if not then it will give you MySQL errors.
Step 5: Delete setup.php and /install/ folder with contents above from your site.
Step 6: Go to "Script-Path/adsense.html" and edit it to your google adsense account, or keep it empety to Un-Display google adsense on your page.
Website Configuration
Step 1: Now site should be working good, go to login page and login using:
User : admin
Password : admin
Step 2: Go to your admin panel, there edit first in "Main config" Site Name, Site Title, Your Alertpay Email, Forum URL and Upgrade Price for 1 year. Then save now you can wander around in the Admin Panel to edit Advertisement Prices, User Click Earnings, Payouts Amount etc.
Step 3: To add news on the news board in Index page you must edit "news.html".
Note you must edit in one line only if you edit anything else you may destroy the whole script.
Script Configuration
Editing Timer :
Open "config.php", Go to line 15 until 16 or above get :
$pro_click = "30"; // default 30 seconds
$free_click = "45"; // default 45 seconds
NOTE : Look at the line 15 This for that is timer for "PREMIUM MEMBER" and at line 16 is timer other.
30 mean the timer 30 seconds and 45 mean the timer 45 seconds, change what do you want visitor visit timer. If you wish 20 seconds, you must change it 20...
Editing site name to image logo at surf section :
Open "view.php", Go to line 98 or above get :
<font size="6"><?=$config["site_name"]?></font>
Replace it with
<img src="where your logo located" border="0" alt="<?=$config["site_name"]?>" title="<?=$config["site_name"]?>">
Image Header and Logo Configuration
Step 1: Go to images folder look at "header.png", "header2.png" and "top_small.png"
Step 2: Open or edit it with Macromedia Fireworks.
Step 3: Enjoy with your new logo
Napravio sam MySQL bazu ali ne znam kako da podesim ovo boldovano. Config.php fajt ovako izgleda:
Script Installation Tutorial
Step 1: Create a Database from your hosting "Control Panel/cPanel" and remember to add a user to database if you are using cPanel X and remember DB name and password.
Step 2: Go to "Script-Path/config.php" and edit it to your database setting also Script-Path/install/config.php.
$dhost = "localhost"; //usually localhost, or ip
$dusername = "admin"; // database user
$dpassword = "240188"; // database pass
$ddatabase = "scriptbux"; // database name
$pro_click = "30"; // default 30 seconds, Premium member visit timer
$free_click = "45"; // default 45 seconds, Free member visit timer
$script_path = "http://localhost/scriptbux"; // your script have isntalled, do not include "/" slash at the end
Step 3: Upload all files in Script Folder to your FTP.
Step 4: To install ScriptBux script simplely just locate your browser to http://yoursiteurl.com/setup.php if everything is good it should only give you lots of green text if not then it will give you MySQL errors.
Step 5: Delete setup.php and /install/ folder with contents above from your site.
Step 6: Go to "Script-Path/adsense.html" and edit it to your google adsense account, or keep it empety to Un-Display google adsense on your page.
Website Configuration
Step 1: Now site should be working good, go to login page and login using:
User : admin
Password : admin
Step 2: Go to your admin panel, there edit first in "Main config" Site Name, Site Title, Your Alertpay Email, Forum URL and Upgrade Price for 1 year. Then save now you can wander around in the Admin Panel to edit Advertisement Prices, User Click Earnings, Payouts Amount etc.
Step 3: To add news on the news board in Index page you must edit "news.html".
Note you must edit in one line only if you edit anything else you may destroy the whole script.
Script Configuration
Editing Timer :
Open "config.php", Go to line 15 until 16 or above get :
$pro_click = "30"; // default 30 seconds
$free_click = "45"; // default 45 seconds
NOTE : Look at the line 15 This for that is timer for "PREMIUM MEMBER" and at line 16 is timer other.
30 mean the timer 30 seconds and 45 mean the timer 45 seconds, change what do you want visitor visit timer. If you wish 20 seconds, you must change it 20...
Editing site name to image logo at surf section :
Open "view.php", Go to line 98 or above get :
<font size="6"><?=$config["site_name"]?></font>
Replace it with
<img src="where your logo located" border="0" alt="<?=$config["site_name"]?>" title="<?=$config["site_name"]?>">
Image Header and Logo Configuration
Step 1: Go to images folder look at "header.png", "header2.png" and "top_small.png"
Step 2: Open or edit it with Macromedia Fireworks.
Step 3: Enjoy with your new logo
Napravio sam MySQL bazu ali ne znam kako da podesim ovo boldovano. Config.php fajt ovako izgleda: