Commit Graph

337 Commits

Author SHA1 Message Date
Neil Lalonde a84ec3dd1e Merge pull request #37 from nlalonde/master
Ad every nth post, better descriptions, dfp refactor
2016-04-21 18:58:10 -04:00
Neil Lalonde 6dd726e168 Improve descriptions of DFP settings and re-order them a bit for clarity. 2016-04-21 18:53:39 -04:00
Neil Lalonde e4405dd486 Add support for showing ad after every nth post, not only after the nth post 2016-04-21 18:53:39 -04:00
Neil Lalonde cee3f66009 Render nth post dfp ads in position where post would be 2016-04-21 18:53:39 -04:00
Neil Lalonde 13b5d21565 Fix dfp ad dimensioned undefined. Refactor dfp ad component to remove unnecessary variables and rewrite copy-pasted code. 2016-04-21 18:53:39 -04:00
Neil Lalonde 196845d63f merge upstream 2016-04-21 18:52:53 -04:00
Neil Lalonde d27b67798a Improve description of the through_trust_level settings. 2016-04-18 10:43:42 -04:00
Vi Nguyen 55c9dbec23 Merge pull request #36 from nlalonde/pr2
Don't hard-code center justify of AdSense ads.
2016-04-05 06:59:46 +10:00
Vi Nguyen 08b2f136cb Merge pull request #35 from nlalonde/pr1
Improve description of DFP and AdSense settings.
2016-04-05 06:58:46 +10:00
Neil Lalonde ef45e3290e Don't hard-code center justify of AdSense ads. Let position be customized with CSS. 2016-04-04 16:51:34 -04:00
Neil Lalonde edffa20094 Improve description of DFP and AdSense settings. People keep putting javascript into those fields. Also add a constraint on the fields so people get an error when they paste javascript. 2016-04-04 16:49:01 -04:00
Neil Lalonde 240f281dab Improve description of DFP and AdSense settings. People keep putting javascript into those fields. Also add a constraint on the fields so people get an error when they paste javascript. 2016-04-04 13:42:42 -04:00
Vi Nguyen c0361c0e90 updated for broken link 2016-03-04 15:40:24 +11:00
Robin Ward 4ab0f0fab8 Upgrade to new Plugin API 2016-02-22 12:16:09 -05:00
Robin Ward ebed90fab7 Support linting, clean up some unused variables and weird spacing 2016-02-19 15:29:00 -05:00
Vi Nguyen 64996ed78c Merge pull request #28 from adcopywriter/master
Quick fix for formatting div in adsense.hbs
2015-12-25 04:27:24 +11:00
Vi Nguyen 7dd66b75f7 fixed up formatting
fixed up formatting
2015-12-25 04:24:40 +11:00
Vi Nguyen 74a073aef4 Merge pull request #27 from adcopywriter/master
Fix for Issue #25
2015-12-24 22:31:29 +11:00
Vi Nguyen 5dfa24c237 remove div label outside of the adwrapper style
fix for size of ad being cut by line in mobile view for adsense
2015-12-24 22:12:01 +11:00
Vi Nguyen 4eade6a1d9 put sizes back to their original 2015-12-24 22:10:26 +11:00
Vi Nguyen 268d180504 Update google-adsense.js.es6 2015-12-24 21:49:27 +11:00
Vi Nguyen 7759acf5be updated size of ad mobile height to mobile height
updated size of ad mobile height to mobile height
2015-12-24 21:30:09 +11:00
Vi Nguyen 05b053a110 adsense updated to a larger size container
updated to a larger size container
2015-12-24 21:15:23 +11:00
Vi Nguyen 1f0d85740e put mobile ad sizes back to original
testing on my forked version instead
2015-12-24 21:10:37 +11:00
Vi Nguyen a8c0910f5b changed ad mobile height for adsense
temp test for mobile ad height space for testing on mobile.
2015-12-24 20:50:22 +11:00
Sarah Ni c6b753ab67 variable change for amazon mobile ad
instead of user_input_mobile, use userInputMobile
2015-10-30 00:41:45 +11:00
Sarah Ni 21ef9924eb Merge pull request #24 from kcoop/master
Fixes to Amazon and Adsense mobile ad generation
2015-10-30 00:40:51 +11:00
Ken Cooper 31a59a454d Fixed: mobile iframe link for Amazon banners was generating the desktop link. 2015-10-28 19:40:37 -07:00
Ken Cooper ffbd69688e Fixed: mobile viewport was too large when presenting ads, making for a sloppy mobile experience. Restricted length of "Advertisement" label to fix it. 2015-10-28 16:51:53 -07:00
Robin Ward af22cd987d Merge pull request #23 from nlalonde/master
FIX: mobile ad with is too wide on 320px wide devices
2015-10-28 17:19:52 -04:00
Neil Lalonde 99319c7b91 FIX: mobile ad with is too wide on 320px wide devices 2015-10-28 17:08:38 -04:00
Robin Ward 89dc8b50df Merge pull request #22 from nlalonde/master
DFP: send a 0 value for discourse-category targeting on /latest, /categories, etc so that ads can show there while targeting categories
2015-10-28 12:40:55 -04:00
Neil Lalonde 85d357b007 DFP: send a 0 value for discourse-category targeting on /latest, /categories, etc so that ads can show there while targeting categories 2015-10-28 12:20:16 -04:00
Robin Ward f9ba0e4ae1 Merge pull request #21 from nlalonde/master
DFP: Send category slug for targeting
2015-10-28 11:11:51 -04:00
Neil Lalonde c5b9392ae5 FIX: ads not refreshing when going from one topic list to another 2015-10-27 17:44:03 -04:00
Neil Lalonde e13a6ecdce DFP: send key discourse-category and value as category slug when loading ads 2015-10-27 16:42:36 -04:00
Vi Nguyen a923d9a196 Merge pull request #20 from nlalonde/master
FIX: refresh DFP ads after navigating between topics and lists
2015-10-16 19:02:34 +11:00
Neil Lalonde cf850b273d FIX: refresh DFP ads after navigating between topics and lists 2015-10-15 13:58:49 -04:00
Sarah Ni 292951e302 Added Advertisement Label on top of Ad 2015-09-30 10:48:26 +10:00
Vi Nguyen e0b3e64962 Updated readme for newline 2015-09-21 18:17:10 +10:00
Sarah Ni 5a2d4889ec Concise Ad location Preview Screenshot
Added a screenshot that outlines all offered ad locations.
2015-09-21 12:08:53 +10:00
Sarah Ni 3a01792e3c .gitignore added and server files minor changes 2015-09-21 11:03:43 +10:00
vi df584b5f0c Updated readme for disable button removal, version numbers and added amazon plugin in spanish and french client 2015-09-21 10:53:39 +10:00
Sarah Ni fe9c53ce58 removed all disable boxes and changed trust levels for amazon 2015-09-21 10:44:37 +10:00
Sarah Ni 1d762c1c00 Updated README to include Amazon Instructions
Additions:
1. Description
2. Screenshot
2015-09-18 11:57:54 +10:00
vi 05706b2d35 Merge branch 'master' of git+ssh://github.com/team-melbourne-rgsoc2015/discourse-adplugin 2015-09-18 11:53:55 +10:00
vi f9bd4a2f1a Added amazon spanish translations 2015-09-18 11:53:31 +10:00
Sarah Ni 42c589d47c chinese version for amazon server in config 2015-09-18 11:33:47 +10:00
vi 87a3650259 Added amazon french translations 2015-09-18 11:29:40 +10:00
Sarah Ni 9c0d43bb3b updated descriptions on server.en.yml for amazon 2015-09-18 11:14:23 +10:00