Installation

1. Extract the zip containing Ad Manager Pro. It creates a folder. Feel free to rename this folder.
2. Upload all files onto your server into the correct directories. Upload all php files ASCII mode. The only exception is the file functions.php in administration directory, upload this file in BINARY mode. Don't upload folders do_not_upload.
3. Set permissions for directories and files.
   These directories need permission 777:
   - data directory.
   - banners directory.
   - all subdirectories of directory styles.
   - styles/_common/templates directory.
   These files need permission 666:
   - All files in styles/_common/templates directory.
   - File messages.php in styles/_common directory.
   Setting permissions for other files is not required on most servers.
   These permissions are recommended but if you have a special server configuration, you will need to set up another permissions. We can assist if needed.
4. Point your browser to your domain to file setup.php. If you receive an Internal Server Error page, delete file .htaccess in the directory where you uploaded the files.
   Fill in all fields and hit the Install button at the bottom of the form. You should see that the script creates some tables and files. After it finished its work, delete setup.php from your server.
5. Go to the administration directory. Both username and password are admin1. Click to the link Configuration in the menu on the left and enter values to all fields.
6. Click to the link Administrators, create a new admin. Then login with this new username and delete the default user "admin1".
7. Now you can use the script. Create a few test zones and ads, go to Code Generator, grab the html code, place it to a webpage and test if the ads are displayed correctly. You also can create new ad types, also update or delete existing ad types.
8. You also should configure the regular Daily Job. It contains important actions which must run every day, otherwise your statistic will be inaccurate. We can assist if needed.

Update from version 2.75
Open the folder do_not_upload/update. There is an update.php script and all instructions.
If you use an older version than 2.75, upgrade to 2.75 first.
How to move Ad Manager Pro on a new server/directory
Create a database backup by using our tool (in Administration) or by using PHPMyAdmin (data only). Install Ad Manager Pro on the new place and set up all variables, just like when you installed it for the first time. If your new URL will be different than your old URL, open the database backup in a text editor and replace all occurrences of the old URL with the new one. Save the backup and use it to restore the database by the same way as you created the backup. Then use function Fix ads.