System Requirements
- PHP: 4.4.x or 5.x.x
- mySQL: 4.0, 4.1 or 5.x
- WordPress: 2.7 or newer
Basic Installation
- Plugin folder in the WordPress plugins folder must be gd-affiliate-center.
- Upload folder gd-affiliate-center to the /wp-content/plugins/ directory
- Activate the plugin through the 'Plugins' menu in WordPress
Version: 1.0.1 / january 3 2010
- new: spanish translation
Version: 1.0.0 / december 14 2009
- new: first stable release
English
- version: 0.6.0
- author: Milan Petrovic
- email: milan@gdragon.info
- web: http://www.gdragon.info/
| gdac_get_ad_short_url | ( | $ | ad_id | ) |
Get single ad url based.
- Parameters:
-
int $ad_id ad id to get url from
- Returns:
- string url
| gdac_get_ads | ( | $ |
settings = array(),
|
|
| ) |
Get ads based on filter parameters.
Array with settings contains several parameters:
- filter_format: dims, id, x, y
- filter_affiliate: affiliate short code/name
- ffx: filter format x value
- ffy: filter format y value
- ffdims: filter dimension (xxx.yyy)
- ffid: filter id
- limit: number of ads to return
- exclude_found: add all found to exclusion list for current page rendering
- affiliate_exclusive: only single affiliate ads
- Parameters:
-
array $settings rendering parameters
- Returns:
- array list of ads
| gdac_render_ad | ( | $ |
settings = array(),
|
|
| ) |
Render single ad based on filter parameters.
Array settings contains several parameters:
- filter_format: dims, id, x, y
- filter_affiliate: affiliate short code/name
- ffx: filter format x value
- ffy: filter format y value
- ffdims: filter dimension (xxx.yyy)
- ffid: filter id
- limit: number of ads to return
- exclude_found: add all found to exclusion list for current page rendering
- affiliate_exclusive: only single affiliate ads
- Parameters:
-
array $settings rendering parameters
Nothing here yet...