davwheat Ad Units
A Flarum extension that provides ad unit support for your Flarum forum.
Supporting my work
Want to support my open source work? You can sponsor me with a monthly or one-time payment through my GitHub Sponsors profile.
Thank you to @MikeJones and @alphadot for sponsoring this extension! 🥰
Install with composer:
composer require davwheat/flarum-ext-ads:"*"
composer update davwheat/flarum-ext-ads:"*"
php flarum migrate
php flarum cache:clear
Head to your admin dashboard and enable the extension. Switch on the Ad Unit locations you'd like, then paste your ad code in the textboxes below.
If you use "between post" ads, make sure to configure the gap between ads in the extension settings page.
⚠️ If you use Google AdSense, only insert the
<ins> tag into the textbox.
⚠️ The text boxes do not support
<script> tags. These scripts will not be executed if you enter them into the text boxes, due to how Mithril functions.