|
Picture Ads 4Pro
Instructions:
Step 1: Install the Picture Ads
4Pro.
Step 2: Database Installation.
Creating MySQL database.
1) Login to your cpanel account.
2) Go to your MySQL databases.
3) Create a new database.
You'll see a column to create a new database. Enter you desired name for your
database and click create database button.
Check if you receive a confirmation that your database has been added.
Reminder: In this example I enter
"photoadtest". Remember that before your database name, there is a default prefix name (e.g. soft4profit_) for your
database before the name that you enter in creating a database.
(e.g. soft4profit_photoadtest -> this is your database name).
4) Create a new user and password.
Go to add new user column and enter your desired username and password for your
databse.
Check if you receive a confirmation that your username and password has been
added.
Reminder: For the username, remember
that before your user name, there is a default prefix name (e.g. soft4profit_) for your user before the name that
you enter in creating a username. For this example I enter "photoadm".
(e.g. soft4profit_photoadm -> this is your user name).
5) Add permission/priviledges for your username.
Select the username and the database that you are using for the picture ads
4Pro.
(e.g. soft4profit_photoadm (user name) and soft4profit_photoadtest (database
name)).
After selecting the username and database, check the all priviledges and click "ok"
or "make changes"
Check if you receive a confirmation that your username and databe has been added for
priviledges.
6) Go to your phpmyadmin to insert the tables .
7) Select the database that you create for the Picture Ads.
8) After selecting the database, click the import tab, then click the browse button
and select the "pictureads.sql" file to install the tables for the database. then click go button.
Reminder: The "pictureads.sql" file
can be found at the script folder where you install the Picture Ads 4Pro (e.g. Program Files -> Picture Ads 4Pro
-> script).
After installing your database, We are ready to customize the
application.
Step 3: Picture Ads Script Installation and
Configuration.
1) Create a folder to your server where you will upload the needed script files of
the Picture Ads 4Pro.
For this example I use "photoads" as my folder name.
(e.g. root folder -> photoads folder).
Also create a folder name "pictures" in the folder that you created for Photo
Ads.
(e.g. root folder -> photoads -> pictures folder).
Reminder: "pictures" is a default
name of the folder where you will save the picture, if you use other name, the images will not show to your
website.
2) Open the application.
3) Click the "settings" button.
a) Site URL - The url of the photoads (e.g.
Http://www.yourdomain.com/photoads/
b) MySQL host - Mostly "localhost".
c) Database Name - The database that you created for picture ads. (e.g.
soft4profit_photoadtest).
d) Database User - The username that you created for picture ads. (e.g.
soft4profit_photoadm).
e) User Password - The password that you created for picture ads.
f) Ads Width - The default width of your ad.
4) Upload the scripts and pictadssettings.php file to your web server in the folder
you created earlier (e.g. photoads).
Reminder: The script file and
pictadssettings.php can be found at the folder where you install the Picture ads. (e.g. Program Files -> Picture
Ads 4Pro folder).
Step 4: Using the Photo Ads
Application.
1) Upload the images that you will use for photoads and upload it to "pictures"
folder that you created earlier.
2) Create a picture ad. To add a picture ad, click "Add ad" button then click
ok.
a) Ad Title - Enter the title for your ads.
b) Subtitle - Enter the sub-title for your ads.
c) URL - Enter the URL that the user will redirect when they click the
ads.
d) Picture - Enter the filename of the picture.
Reminder: You need to specify the
exact filename along with the extension name (case-sensitive) that you upload in the pictures folder.
e) Content - Enter the content or description of your ads.
f) Active - Check if you want your ads to be active.
3) After you add a Photo ad, the information of the Photoad that you create will now
show on the data grid of the software.
4) To preview your ads, click "Preview Picture Ad" button. To edit your ads, click
"Edit Ad". To delete your ads, click "Delete Selected" button.
Step 5: Copy and paste the code to your
webpage.
After you add a Photo ad, click the "Code to insert" button to generate the php code
that you will use and put to your web pages.
a)In the first part of the code, it is mandatory that you enter the code at the top
of any web page that you want to add your ads. If you enter the first part of the code after any code or tags, an
error will occur.
b)In the second part of the code, this is the code that will display the ads. You can
put this code in any part of the web page that you wish to put the ads.
Reminder: It is important that your
file is in .php format or else the ads will not work. It is important also that the two codes are put in your php
file or else the photo ads will not work.
|