From 8202caea9d456670600f7c5683fddae030e89d11 Mon Sep 17 00:00:00 2001 From: Sarah Ni Date: Mon, 10 Aug 2015 09:26:21 +1000 Subject: [PATCH 1/2] Update README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 1cfe2c8..b2505b9 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,25 @@ git pull ⋅⋅* Don't click on the ad. ⋅⋅* On the last stroke of midnight, the magic will wear off. Make sure you leave the ball before then. +*Please test both plugins individually* - don't symlink both together, instead test them in isolation. + +Input 4 parts - publisher id (topmost box), ad code, width, height. And be sure to untick the disable box. Then, refresh the page for the inputs to take effect, and go to the ad location. + +Usually google sizes to input are (width*height) 300*250 or 728*90 (best) respectively. Input your pub_id and ad_code. + +The namings in settings are with reference to the plugin outlets created by Discourse. + +`adsense_topic_list_top_code`: ad will appear at the header of Discourse homepage + +`adsense_topic_above_post_stream_code`: ad will appear at the header of all Discourse forum topics + +`adsense_topic_above_suggested_code`: ad will appear at the footer above suggested topics of all Discourse forum topics + +`adsense_post_bottom_code`: ad will appear on the Nth post (be sure to input N in the bottom-most box called + +`adsense_nth_post_code` and ensure your total number of posts in topic >=N. For example, if you input N = 4, the forum should have at least 4 replies/posts) + + ### Sample DFP Ad Codes: 1. /142953540/PostandCourier/Postandcourier.com/News/Leaderboard_Bottom 2. /6355419/Travel/Europe/France/Paris From 2156f66caf60d17f8de89d0c984a919b27161340 Mon Sep 17 00:00:00 2001 From: Sarah Ni Date: Mon, 10 Aug 2015 09:28:19 +1000 Subject: [PATCH 2/2] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b2505b9..25ebc49 100644 --- a/README.md +++ b/README.md @@ -61,21 +61,21 @@ git pull *Please test both plugins individually* - don't symlink both together, instead test them in isolation. -Input 4 parts - publisher id (topmost box), ad code, width, height. And be sure to untick the disable box. Then, refresh the page for the inputs to take effect, and go to the ad location. +Input 3 parts - ad code (topmost box), width, height. And be sure to untick the disable box. Then, refresh the page for the inputs to take effect, and go to the ad location. -Usually google sizes to input are (width*height) 300*250 or 728*90 (best) respectively. Input your pub_id and ad_code. +Usually google sizes to input are (width*height) 300*250 or 728*90 (best) respectively. Input your dfp ad code. The namings in settings are with reference to the plugin outlets created by Discourse. -`adsense_topic_list_top_code`: ad will appear at the header of Discourse homepage +`dfp_topic_list_top_code`: ad will appear at the header of Discourse homepage -`adsense_topic_above_post_stream_code`: ad will appear at the header of all Discourse forum topics +`dfp_topic_above_post_stream_code`: ad will appear at the header of all Discourse forum topics -`adsense_topic_above_suggested_code`: ad will appear at the footer above suggested topics of all Discourse forum topics +`dfp_topic_above_suggested_code`: ad will appear at the footer above suggested topics of all Discourse forum topics -`adsense_post_bottom_code`: ad will appear on the Nth post (be sure to input N in the bottom-most box called +`dfp_post_bottom_code`: ad will appear on the Nth post (be sure to input N in the bottom-most box called -`adsense_nth_post_code` and ensure your total number of posts in topic >=N. For example, if you input N = 4, the forum should have at least 4 replies/posts) +`dfp_nth_post_code` and ensure your total number of posts in topic >=N. For example, if you input N = 4, the forum should have at least 4 replies/posts) ### Sample DFP Ad Codes: