Merge branch 'master' of https://github.com/team-melbourne-rgsoc2015/discourse-adplugin
This commit is contained in:
		
						commit
						c30b5f0fd4
					
				
							
								
								
									
										19
									
								
								README.md
								
								
								
								
							
							
						
						
									
										19
									
								
								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 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 dfp ad code. | ||||
| 
 | ||||
| The namings in settings are with reference to the plugin outlets created by Discourse. | ||||
| 
 | ||||
| `dfp_topic_list_top_code`: ad will appear at the header of Discourse homepage | ||||
| 
 | ||||
| `dfp_topic_above_post_stream_code`: ad will appear at the header of all Discourse forum topics | ||||
| 
 | ||||
| `dfp_topic_above_suggested_code`: ad will appear at the footer above suggested topics of all Discourse forum topics | ||||
| 
 | ||||
| `dfp_post_bottom_code`: ad will appear on the Nth post (be sure to input N in the bottom-most box called  | ||||
| 
 | ||||
| `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: | ||||
| 1. /142953540/PostandCourier/Postandcourier.com/News/Leaderboard_Bottom | ||||
| 2. /6355419/Travel/Europe/France/Paris | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue