Fade-In Slideshow Script
Text Ad Script
Lead Follow-Up Database Script
Address Book Script
AdFreely -Ad Board Script-
URL Shortening Script
Ajax Poll Script
Contact Us Script
Life Insurance Quotes Request Form Script
Real Estate Contact Form Script
Protect HTML Script |
Installation GuideThis page will explain how to install AdFreely -Ad Board Script- v1.01
Step 1
Unzipping the downloaded file
Step 2
Setting up database configurations
define( 'DB_HOSTNAME', 'Your Hostname Here' );
Please replace the highlighted text with
your Hostname, Database, Username, and Password.
define( 'DB_DATABASE', 'Your Database Name Here' ); define( 'DB_USERNAME', 'Your Username Here' ); define( 'DB_PASSWORD', 'Your Password Here' );
About Hostname, Database, Username, and Password.
If you have installed any scripts that use MySQL, it may be ultra-easy for you to
figure out what those values are. If this is the first time, however, you may be
scratching your head or pulling your hair out ( or maybe both? )Don't feel bad. This step is truely a pitfall that we have all fallen into at least once. First, slow down, relax, and take your time. All other steps are easy and this is the only step where you need to think a little longer... Here is a page where I explained each of them in more details. The page will help you figure out what Hostname, Database, Username, and Password are. Check it out! Save web/config/config.db.inc.php.
Step 3
Setting up the script path
//-- The URL of this script folder
Currently, it is assumed that the name of script folder is "web"
and placed on the root folder of you web site. If you are going to rename the
script folder, you need to modify the line above.
For example, if you are going to change the script folder name from "web" to "myfolder"
change the line like shown below:
define( 'URL_SCRIPT_ROOT', '/web/' );
//-- The URL of this script folder
Save the file.
define( 'URL_SCRIPT_ROOT', '/myfolder/' );
Step 4
Uploading script to your website
Step 5
Running the installation script
Step 6
Checking sample ad pages
Step 7
Logging in to the admin panel
Step 8
Create an ad page
<?php require( dirname(__FILE__) . '/../cell/cell.inc.php' ); ?>
The line above loads web/cell/cell.inc.php If you move your ad page out
of the folder (web/adpages/),
this line no longer works because it uses a relative path to refer to
web/cell/cell.inc.php. You need to adjust the path so that your ad
page can refer to /cell/cell.inc.php correctly.
Step 9
Add an ad cell to your ad page
<?php Cell( 'Z001' ); ?>
Open your ad page in a browser and you will see "Your Ad Here!" message
on a gray box. Now you successfully created a new ad cell.
That's it! Have a fun!
|