davwheat Ad Units
Very good extension @davwheat !
And many thanks to @xasharma and @MikeJones for sponsoring and leave it open for everyone.
Ffuser1 Yes, I think is a good future update!
[deleted]
- Edited
Perhaps it's just me being a geek, but I read this and initially saw "Active Directory Organisation Units" and thought that Flarum had been bought by Microsoft
An infrastructure in joke that anyone in the same trade (IT) will definitely understand.....I hope.... Otherwise I'm going to be classed as nuts. Please, @katos and @tankerkiller125 back me up
@davwheat this next update is fantastic thanks so much! Payment just sent!
@xasharma for the Code for "Discussion sidebar [DESKTOP ONLY]" ad unit, I chacnged the data-ad-format to rectangle and I get a nice small rectangle which works well too
<center>
<!-- Header ad Homepage -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="xxxxxxxxxxxxx"
data-ad-slot="xxxxxxxxxxxxx"
data-ad-format="rectangle"
data-full-width-responsive="true"></ins>
</center>
You can see it live on mone of my discussions.
You can also style ads by adding 2-3 different sizes and google will manually show according to screen size
<style>
.example_responsive_1 { width: 320px; height: 100px; }
@media(min-width: 500px) { .example_responsive_1 { width: 468px; height: 60px; } }
@media(min-width: 800px) { .example_responsive_1 { width: 728px; height: 90px; } }
</style>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXX11XXX9" crossorigin="anonymous"></script>
<!-- example_responsive_1 -->
<ins class="adsbygoogle example_responsive_1"
style="display:inline-block"
data-ad-client="ca-pub-XXXXXXX11XXX9"
data-ad-slot="8XXXXX1"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
I think code be this for this extension -
<style>
.example_responsive_1 { width: 320px; height: 100px; }
@media(min-width: 500px) { .example_responsive_1 { width: 468px; height: 60px; } } (or width 300px; height 60px;)
@media(min-width: 800px) { .example_responsive_1 { width: 728px; height: 90px; } }
<!-- example_responsive_1 -->
<ins class="adsbygoogle example_responsive_1"
style="display:inline-block"
data-ad-client="ca-pub-XXXXXXX11XXX9"
data-ad-slot="8XXXXX1"></ins>
Just change your publisher id and ad slot id in this code if you want to add this
Will this extension work for any ads provider or is strictly for Google adsense?
[deleted] I can't not see AD and think Active Directory.
- Edited
davwheat ads served from locally hosted Revive Adserver.
Documentation here:
https://documentation.revive-adserver.com/display/DOCS/Revive+Adserver+Documentation
Akito if you have access to cpanel, you may be able to install it from softaculous.
Alternatively, you can download form here and install: https://www.revive-adserver.com/download/
When you install it, you can become your own adsense (you serve ads instead of relying on Google or other providers).