davwheat/flarum-ext-ads

Ads support for your Flarum forum.

Fund package maintenance!
davwheat

Installs: 318

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 2

Language:TypeScript

Type:flarum-extension

1.0.0 2021-08-07 08:50 UTC

This package is auto-updated.

Last update: 2021-09-25 19:54:31 UTC


README

License Latest Stable Version Total Downloads

A Flarum extension that provides ad unit support for your Flarum forum.

Special thanks

Thank you to @"alphadot"#36731 and @"MikeJones"#17198 for sponsoring this extension! 🥰

Installation

Install with composer:

composer require davwheat/flarum-ext-ads:"*"

Updating

composer update davwheat/flarum-ext-ads:"*"
php flarum migrate
php flarum cache:clear

Usage

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.

Links