Advertisements on your Drupal site 24 hours a day, 7 days a week!

This project is not covered by Drupal’s security advisory policy.

*NOTE* This module is not yet fully functional, and I seek a co-maintainer to help - especially with the "responsiveness" of the length of the ad banners and advertisements themselves; so that both are displayed properly for various screen widths. An alpha or dev version only will be released at first. This module is being developed for php 8.0 at present, however it will be stable at php 8.1, which will be a requirement within 6 months.

Overview

Ad banner allows you to display an advertising banner at the top and / or bottom horizontal strip of a Drupal site into which text ads served by a local instance of the revive adserver (https://revive-adserver) are displayed. It is displayed at a fixed position so ads are viewed within these top and bottom banners much like the administrator's toolbar. It also adds the ads to printed copies of Drupal site content.

It also integrates with the context module, so you can configure contexts to alter the ad banner background color and ad text depending on the context displayed. It can thus be combined with the "Taxonomy" condition: so your ad text changes along with the content being displayed

Features

Displays a "sticky" multilingual ad banner at the top and / or bottom of all Drupal pages.
Banner status (that is, if the banner is displayed or not) default text, background color and text colors can be changed for each banner separately by a user with appropriate priviliges.
Integrates with the context module so banner status, text and colors can changed with context changes.

Requirements

1) A local running instance of the Revive Adserver version 5.3.1 or later.
2) PHP 8.0 +. We will be upgrading to PHP 8.1 as soon as a stable version of Revive Adserver is ready and tested with 8.1.
3) MySQL 5.7
4) If you want to use context integration you need to install the context module and the ctools module.

This module under development is very narrow in scope. It is only for users who can install the revive adserver locally on the same server (or vps) that serves the drupal site. The only safe and secure way to deliver ads served by the Revive Adserver (https://revive-adserver.com) to a Drupal site is locally. Furthermore, this is the only way that browser ad blockers will not block the advertisement. No feature requests to allow this module to work with a non-internal revive adserver will be considered! I repeat - you * MUST * have a dedicated server or a vps with a fully functioning instance of the revive adserver running AND your drupal site must be on the same server. This requirement will NOT change.

This module is being developed for Drupal 9, Drupal 7 and Drupal 10. I am currently looking for help with responsive object-orientated php coding so that the top and (optional) bottom banners and the text within them adjust according to the screen size of the browser. I hope to make this work with any theme.

Credit for this idea and the origin of some base code is due to the existing module "site_banner" by user: ajosephau, from which the original idea and the basic outline of how to develop the code was taken. This is a different module, however, and is fully multilingual, and requires the Revive Adserver to be installed and running locally to function.

Project information

Releases