Changeset 363418
- Timestamp:
- 03/22/2011 07:40:32 PM (15 years ago)
- Location:
- admangler/trunk
- Files:
-
- 3 added
- 3 edited
-
adMangler.class.php (modified) (1 diff)
-
adMangler.php (modified) (2 diffs)
-
readme.txt (modified) (4 diffs)
-
screenshot-1.png (added)
-
screenshot-2.png (added)
-
screenshot-3.png (added)
Legend:
- Unmodified
- Added
- Removed
-
admangler/trunk/adMangler.class.php
r293200 r363418 14 14 function AdminMenu() 15 15 { 16 add_menu_page('AdMangler Settings', 'Ad mangler', 9, __FILE__, array($this, 'CreateAdminPage'), '/'. PLUGINDIR . '/admangler/images/logo.gif');16 add_menu_page('AdMangler Settings', 'AdMangler', 9, __FILE__, array($this, 'CreateAdminPage'), '/'. PLUGINDIR . '/admangler/images/logo.gif'); 17 17 //add_submenu_page(__FILE__, 'AdMangler Settings', 'Settings', 9, 'settings', array($this, 'CreateAdminPage')); 18 18 add_submenu_page(__FILE__, 'AdMangler Settings', 'Banners', 9, 'banners', array($this, 'CreateAdminPage')); -
admangler/trunk/adMangler.php
r293200 r363418 4 4 Plugin URI: http://www.webternals.com/projects/admangler/ 5 5 Description: Display, sell, and manage ad space on your Wordpress powered site with AdMangler. 6 Version: 0.0.9. 2.Alpha6 Version: 0.0.9.3.Alpha 7 7 Author: Webternals, LLC - Allen Sanford 8 8 Author URI: http://www.webternals.com/ … … 35 35 add_filter('the_content', array($adMangler, 'FilterTheContent')); 36 36 add_shortcode('AdMangler', array($adMangler, 'ShortCodeHandler')); 37 add_shortcode('admangler', array($adMangler, 'ShortCodeHandler')); 37 38 } 38 39 add_action('init', array('AdMangler', 'RegisterWidgets'), 1); -
admangler/trunk/readme.txt
r293200 r363418 4 4 Tags: Ads 5 5 Requires at least: 2.8.2 6 Tested up to: 3. 0.17 Stable Tag: 0.0.9. 2.Alpha6 Tested up to: 3.1.0 7 Stable Tag: 0.0.9.3.Alpha 8 8 9 9 Display, sell, and manage ad space on your Wordpress powered site with AdMangler. … … 40 40 </ul> 41 41 42 Please remember we are still in the Alpha phase of this project not everything is as it seems. 43 44 If you would like to contribute please contact webmaster at webternals dot com and tell us where you feel you can contribute. 42 If you would like to contribute please contact admangler@webternals.com and tell us where you feel you can contribute. 45 43 46 44 More Information can be found at http://www.webternals.com/projects/admangler/ … … 50 48 1. Upload `admangler.zip` or `admangler.tgz` to the `/wp-content/plugins/` directory and extract the contents. 51 49 1. Activate the plugin through the 'Plugins' menu in WordPress. 52 1. Place `<?php global $adMangler; ?>` near the top of any template file you plan to use the $adMangler object. 53 1. Place `<?php $adMangler->GetAd(array('width'=>486,'height'=>60,'return'=>false)); ?>` to call and add. 54 1. Wordpess ShortCodes are supported like so [AdMangler width="468" height="60"] 50 1. Template File Usage: <?php do_shortcode('[AdMangler width="468" height="60" position="1"]'); ?> 51 1. Wordpess ShortCodes for pages and posts: [AdMangler width="468" height="60"] 55 52 1. (Not Yet Working) To display the AdMangler Front-end panel you will need to create an empty page and place the following tag in that page: [AdMangler type="Panel"] 56 1. (Deprecated) Place `<?php $adMangler->GetAds(<width>, <height>, false); ?>` ex: `<?php $adMangler->GetAds(468, 60, false); ?>`. 53 1. (Deprecated): Place `<?php global $adMangler; ?>` near the top of any template file you plan to use the $adMangler object. 54 1. (Deprecated): Place `<?php $adMangler->GetAd(array('width'=>486,'height'=>60,'return'=>false)); ?>` to call an Ad. 55 1. (Deprecated): Place `<?php $adMangler->GetAds(<width>, <height>, false); ?>` ex: `<?php $adMangler->GetAds(468, 60, false); ?>`. 57 56 1. (Deprecated): Alternativly you can place [AdMangler:`<width>`x`<height>`] ex: [AdMangler:468x60] inside any page or post where you wish your ad to show. 58 57 1. (Deprecated): To display the AdMangler Front-end panel you will need to create an empty page and place the following tag in that page: [AdMangler:Panel] … … 60 59 == Frequently Asked Questions == 61 60 62 = When I try to use the $adMangler object to display ads it errors out, what is the deal? = 63 64 You may need to explicitly tell PHP to use the global $adMangler object like so `<?php global $adMangler; ?>` 61 = (Deprecated): When I try to use the $adMangler object to display ads it errors out, what is the deal? = 62 (Deprecated): You may need to explicitly tell PHP to use the global $adMangler object like so `<?php global $adMangler; ?>` 65 63 66 64 67 65 == Screenshots == 68 None Yet (Waiting to finish the Front-end before I take screenshots) 66 1. Screenshot 1 67 1. Screenshot 2 68 1. Screenshot 3 69 69 70 70 == Changelog == 71 72 = 0.0.9.3.Alpha = 73 * Improved Template File Usage capabilities 74 * Dirty code cleanup. 71 75 72 76 = 0.0.9.2.Alpha =
Note: See TracChangeset
for help on using the changeset viewer.