SaleCity PMD Mods.
Advertiser Module Pro1.1.2
Table of Contents
- Advertiser's Installation Notes
- Mod Package
- New Files
- Edits
- Common Issues
- Final Note
Advertiser's Installation Notes
Works on PMD: Version Fully compatible with PMD version 1.1.2
Safe Express install for PRO version 1.1.2
Release date: 03 May 2009
Author: SaleCity PMD Mods
Description: Create your own advertising campaign
NOTE: You can not re sell this modification or use it as a base
for other modifications and sell it.
Terms: You are free to modify this code for your own purposes. You
may install this mod on one instance of phpmydirectory for which you hold a valid phpmydirectory
license. Each additional license may be purchased at 50% of the existing cost.
DISCLAIMER: SaleCity NZ Ltd. Does not warrant the merchantability of
this modification, and all liability is limited to any amount paid. Installation of this modification is
done at your own risk. Backup your scripts before making changes to them.
Mod Package
The zip file you have received has two folders:
Edit: The modified code is a list of pmdmydirectory files that required changes as
part of this installation
New: The New Code are new files that will have to be uploaded as part of the
installation. The files should not overwrite any other unless you are doing a
second install or upgrade
Before you start: Go to c:\1-0-0-mods\advertiser\new\template\default
and rename \default to match your online template i.e \edge. this will ensure
you get the new upload into your correct online template
New Files
Safely upload all new files
Go to c:\1-0-0-mods\advertiser\new\
- cp
- files
- includes
- template
- advertiser_defaults.php
- advertiser_out.php
- advertiser_tables.php
Select All folders and files then upload them all to your directories root
folder. If connected to your server via ftp and you can visibly see defaults.php and defaults_setup.php in the list, this should be your directory's root folder
Once uploaded change the permissions to /files/advertiser folder to either 766 or 777
Adding Database Tables
Tables need installing before you can complete
the installation of this mod.
To install the tables point browser to www dot your-domain dot com/advertiser_tables.php, it is recomended you make a backup of the database before you continue
Tip:Go to your home page then copy paste adding the bold text above onto your browser url press enter
You should recieve a blank page with a success message, delete this file when done
Edited Files
Files to edit are
# | Filename and online location | What | Where | Why |
1 | defaults_setup.php | 2 lines added | Line 254 | Includes class and defaults |
2 | cp/template/defaults/admin_header.tpl | 1 line added | Line 68 | link in tools menu |
3 | includes/template_setup.php | 2 part edit | Lines 28 & 31 | sidebox setup |
4 | template/default/wrapper.tpl | 1 line added | Line 1 | echo sidebox |
Code for these can be found in c\1-0-0-mods\advertiser\edit\
folder. You have the choice whether to upload these files or search then copy code over to your
existing files, this will be based on weather your files are modified or not and if the version is 1.1.2. If search/copy, search salecity or if your editor shows line numbers use the where column above as a guide
Common issues
None to date
Final Note
Thank you for supporting my family, myself and the development of this modification,
much appreciated.
Kind Regards PB
Author PR. Baker.
Copyright © 2007 [SaleCity NZ Ltd]. All rights reserved.
Revised:
|