Changeset 958446
- Timestamp:
- 08/01/2014 03:31:43 AM (12 years ago)
- Location:
- advertising-manager/trunk
- Files:
-
- 3 edited
-
advertising-manager.php (modified) (2 diffs)
-
deploy.txt (modified) (4 diffs)
-
readme.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
advertising-manager/trunk/advertising-manager.php
r956361 r958446 6 6 Author: Scott Switzer 7 7 Author URI: http://github.com/switzer 8 Version: 3.4.2 68 Version: 3.4.27 9 9 Text Domain: advman 10 10 Domain Path: /languages … … 29 29 30 30 31 define('ADVMAN_VERSION', '3.4.2 6');31 define('ADVMAN_VERSION', '3.4.27'); 32 32 define('ADVMAN_PATH', dirname(__FILE__)); 33 33 define('ADVMAN_LIB', ADVMAN_PATH . '/lib/Advman'); -
advertising-manager/trunk/deploy.txt
r958424 r958446 7 7 php ../../tools/i18n/makepot.php wp-plugin . 8 8 mv ./advertising-manager.pot ./languages 9 svn ci languages/advertising-manager.pot -m "Updated i18n source file" 10 11 NEW: 12 1. Generate a translation pot template here: 13 http://wordpress.org/plugins/advertising-manager/admin/?action=pot 14 15 2. Sign into Transifex and add the pot file by going to: 16 https://www.transifex.com/projects/p/advertising-manager/resources/ 17 and clicking on ‘add new resource.’ 18 19 COMPLETED: 20 1. On Advertising Manager Overview page, click on the translation language, then on 21 the pot template 22 23 2. Download for translation 24 NOTE: ‘Download for translation’ generates a po file consisting of everything in the 25 pot file. 26 ‘Download only reviewed translations’ generates a po file consisting of only the 27 translations that were saved and reviewed. 28 29 3. Copy po file to /languages, then add and commit file: 30 svn add advman-lang.po 31 svn commit -m “adding new translation files” 32 33 4. Convert po file to mo file: 34 msgfmt -o advman-lang.po advman-lang.mo 35 36 5. Commit mo files: 37 svn commit -m “adding new mo files” 9 tx pull -a 10 cd ~/code/wordpress/advertising-manager/trunk/languages 11 msgfmt -o advman-ar.mo advman-ar.po 12 msgfmt -o advman-de_DE.mo advman-de_DE.po 13 msgfmt -o advman-el.mo advman-el.po 14 msgfmt -o advman-en_US.mo advman-en_US.po 15 msgfmt -o advman-es_ES.mo advman-es_ES.po 16 msgfmt -o advman-hu_HU.mo advman-hu_HU.po 17 msgfmt -o advman-id_ID.mo advman-id_ID.po 18 msgfmt -o advman-ja.mo advman-ja.po 19 msgfmt -o advman-ko_KR.mo advman-ko_KR.po 20 msgfmt -o advman-pt_BR.mo advman-pt_BR.po 21 msgfmt -o advman-ru_RU.mo advman-ru_RU.po 22 msgfmt -o advman-th.mo advman-th.po 23 msgfmt -o advman-tr.mo advman-tr.po 24 svn ci . -m "Updated i18n languages and source files" 38 25 39 26 … … 41 28 1. in the comments at the top of advertising-manager.php 42 29 2. in the code at the top of advertising-manager.php 43 3. in the readme file 44 4. in this build file (search for the version number 3.4.26 - there are a number of places in this file where the version exists) 45 5. check the upgrade to make sure any version upgrades are correct 30 3. in the readme file (stable tag at the top) 31 4. In the readme file (Changelog) 32 5. in this build file (search for the version number 3.4.27 - there are a number of places in this file where the version exists) 33 6. check the upgrade to make sure any version upgrades are correct 46 34 47 35 README … … 60 48 - Tag the version in wordpress 61 49 cd ~/code/wordpress/advertising-manager 62 svn cp trunk tags/3.4.2 663 svn ci -m "tagging version 3.4.2 6"50 svn cp trunk tags/3.4.27 51 svn ci -m "tagging version 3.4.27" 64 52 65 53 - Add a zipped file to the repository: … … 71 59 svn export http://svn.wp-plugins.org/advertising-manager/trunk 72 60 mv trunk advertising-manager 73 zip -r advertising-manager-3.4.2 6.zip advertising-manager/61 zip -r advertising-manager-3.4.27.zip advertising-manager/ 74 62 75 63 http://code.openx.org/projects/list_files/advertising-manager -
advertising-manager/trunk/readme.txt
r956365 r958446 5 5 Requires at least: 2.5 6 6 Tested up to: 3.9.1 7 Stable tag: 3.4.26 7 Stable tag: 3.4.27 8 License: GPLv2 or later 8 9 9 10 Easily place and rotate ads on inside your blog posts, templates, or sidebar widgets. Simple to use, powerful features. Used by thousands of blogs. … … 32 33 == Installation == 33 34 34 1. Unzip the package and upload the advertising-manager directory into your wp-content/plugins directory 35 1. Activate the plugin at the plugin administration page 36 1. Add your ad networks by clicking 'Create new' under the 'Ads' menu. Manage your ad networks by clicking 'Edit' under the 'Ads' menu. 35 1. Under the 'Plugins' menu in your Wordpress Admin console, click 'Add New'. 36 1. Search for 'advertising-manager'. 37 1. The first item should be 'Advertising Manager' by Scott Switzer. Click the 'Install Now' button. 38 1. Click 'Ok' if an alert box appears. 39 1. After the plugin installs, click 'Activate Plugin'. 40 41 == Usage == 42 43 1. Add your ads by clicking 'Create New' under the 'Ads' menu. 37 44 1. Place ads in your template by adding '<?php advman_ad(name) ?>' to your template in the place you want to see an ad (where 'name' is the name of your ad). 38 45 1. Place ads in your blog posts and pages by adding '[ad#name]' to your blog post (where 'name' is the name of your ad), or by using the 'Insert Ad' dropdown from the edit toolbar. … … 64 71 = Can Advertising Manager work in my language? = 65 72 Yes. Advertising Manager is localised. If your blog is in another language, and Advertising Manager shows in English, then it is most likely that a translation has not been done. 66 Don't worry - if you are a native speaker in English as well as your local language, you can help out! Information on how to get involved can be found here:67 68 NOTE: Translations are in the process of being upgraded to a new technology - updated instructions will happen in the next version 73 Don't worry - if you are a native speaker in English as well as your local language, you can help out! Advertising Manager translations can be updated here: 74 75 https://www.transifex.com/projects/p/advertising-manager/ 69 76 70 77 = Do I still need Advertising Manager now I can manage ads through Google's system? = 71 78 72 Yes. Advertising manager allows you to rotate ads, easily turn on/off ads, place them in your blog, and many features other than configuration of the ad colors and format. It a critical tool to use if you want to make more from your advertising. 73 74 = Why does changing Ad Format/Dimensions sometimes not change the size of the ad? = 75 76 For some ad networks (e.g. newer Adsense tags, WidgetBucks, Adroll, etc.) the dimensions of ads are managed through the online interface. There is no way to change these settings from within the WordPress system that would work reliably. You do not have to update these dimension settings if you update your Ad online, however, it can be useful in correctly identifying 'Alternate Ads' for AdSense blocks. 77 78 = How do I place Ad code at the top, bottom, left, right, etc. of the page? = 79 80 There is a (nice tutorial here)[http://www.tamba2.org.uk/wordpress/adsense/] which explains positioning using code in template files. You can use this together with Advertising Manager: just place the ad code tags <?php advman_ad('name'); ?> where it says "place code here". 79 Yes. Advertising manager allows you to rotate ads, easily turn on/off ads, place them in your blog, and many other features. It a critical tool to use if you want to make more from your advertising. 81 80 82 81 = How can I share revenue with my authors? = … … 87 86 1. In your author's ad, be sure to select the authors username in Display Options 88 87 1. Set the weights of the ads according to your revenue share. The easiest way to do this is to set YOUR ad weight to 36, and then set the weight of your author's ad according to the revenue share deal. For 10% revenue share, set the author ad weight to 4; 20% = 9; 33% = 18; 40% = 24; 50% = 36; 60% = 54; 66.7% = 72; 70% = 84; 80% = 144; 90% = 324. For the nerdy wonks out there, the formula is (AUTHOR AD WEIGHT) = (MY AD WEIGHT * REVENUE SHARE) / (1 - REVENUE SHARE) 89 90 More detailed instuctions can be found in the documentation: [Concepts - Placing ads on your blog](http://code.openx.org/wiki/advertising-manager/Placing_ads_on_your_blog)91 88 92 89 … … 101 98 * Add ability to show in an email 102 99 * Send daily and weekly statistics information 103 * Add version information to the footer in admin screens of advman104 100 105 101 106 102 == Upgrade Notice == 107 103 108 = 3.4.2 6=109 * Allowed default ad to be toggled from ad list again110 * Changed Ad.js URL to be from CDN104 = 3.4.27 = 105 * Updated translations to use Transifex (https://www.transifex.com/projects/p/advertising-manager/) 106 * Updated deployment instructions with new translation methodology 111 107 112 108 == Change Log == 109 110 = 3.4.27 = 111 * Updated translations to use Transifex (https://www.transifex.com/projects/p/advertising-manager/) 112 * Updated deployment instructions with new translation methodology 113 113 114 114 = 3.4.26 = … … 250 250 This plugin is released under the GPL - you can use it free of charge on your personal or commercial blog. Make sure to submit back to the project any changes that you make! 251 251 252 252 253 == Translations == 253 254 254 The plugin comes with various translations, please refer to the WordPress Codex for more information about activating the translation. If you want to help to translate the plugin to your language, please have a look at the advman.pot file which contains all defintions and may be used with a [gettext](http://www.gnu.org/software/gettext/) editor like [Poedit](http://www.poedit.net/) (Windows).255 Advertising Manager is translated into several different languages. If a translation is missing or incomplete, and you want to help, please head over to the [Advertising Manager Transifex](https://www.transifex.com/projects/p/advertising-manager/) project to help with your translation.
Note: See TracChangeset
for help on using the changeset viewer.