11.09.2026, 03:35
(Dieser Beitrag wurde zuletzt bearbeitet: 02.10.2026, 03:35 von MyBB.de Bot.)
Eine neue Erweiterung wurde veröffentlicht: Rotating Ads
Zitat:Rotating Ads
A flexible advertisement manager for MyBB 1.8
Rotating Ads provides a native MyBB advertisement manager for displaying and rotating square or banner advertisements throughout your forum.
Advertisements are managed individually through the Admin CP. Each advertisement can have its own delivery rules, targeting, limits, and performance totals.
Features
- Separate square and banner advertisement slots
- Native MyBB Admin CP advertisement manager
- Random server-side advertisement selection
- Optional JavaScript rotation while viewing a page
- Configurable minimum and maximum rotation intervals
- Weighted delivery for prioritizing advertisements
- Start and end date scheduling
- Maximum impression and click limits
- Automatic removal from rotation when a limit is reached
- Country allowlist and blocklist targeting
- Primary and additional usergroup exclusions
- Impression, click, and CTR tracking
- Optional destination hostname in tracked links
- Configurable sponsor label
- Configurable same-tab or new-tab behavior
- Support for HTTP(S) URLs and local image paths
- MyBB-managed theme stylesheet
- Responsive square and banner output
- No visitor identity storage
Advertisement Placement
The plugin provides two template variables:
Place either variable in any compatible MyBB template where you want that advertisement format to appear.Code:{$rotating_ads_square} {$rotating_ads_banner}
Rotating Ads does not automatically modify your page layout or force advertisements into predefined locations.
In-Page Rotation
By default, one weighted random advertisement is selected on every page request.
Administrators can optionally enable in-page rotation, allowing advertisements to change while a visitor remains on the same page. The minimum and maximum time between rotations can be configured.
In-page rotation requires JavaScript. Visitors without JavaScript will still receive the initial server-selected advertisement.
Campaign Controls
Each advertisement can be configured with:
- Delivery weight from 1 to 100
- Optional UTC start date
- Optional UTC end date
- Maximum impressions
- Maximum clicks
- Enabled or disabled status
- Country targeting rules
A value of 0 disables the corresponding impression or click limit.
Higher delivery weights make an advertisement more likely to be selected. For example, an advertisement with a weight of 5 will be selected approximately five times as often as one with a weight of 1 in the same eligible pool.
Country Targeting
Advertisements can be displayed to:
- All countries
- Only selected countries
- All countries except selected countries
Country codes use the standard two-letter format, such as:
Country detection requires the server or reverse proxy to provide one of the following:Code:US, CA, GB
The plugin does not send visitor IP addresses to an external geolocation service.Code:CF-IPCountry GEOIP_COUNTRY_CODE X-AppEngine-Country
Performance Tracking
The Admin CP advertisement manager displays lifetime:
- Impressions
- Clicks
- Click-through rate
- Delivery limits and current progress
Tracked click URLs can optionally reveal the destination hostname:
The displayed hostname is informational. The redirect is always resolved from the advertisement’s saved database record, preventing URL parameter tampering.Code:misc.php?action=ra_click&to=example.com&aid=1
Metrics are intended as lightweight operational statistics. They do not store visitor identities and should not be considered billing-grade or bot-filtered analytics.
Local Images
Full HTTP(S) image URLs and site-relative paths are supported:
InstallationCode:https://example.com/images/sponsor.jpg /images/sponsored/ad-hostpro.jpg
Upload the contents of the Upload directory into your MyBB installation root.
Install and activate the plugin from:
Manage individual advertisements from:Code:Admin CP > Configuration > Plugins
General display and rotation options are available from:Code:Admin CP > Configuration > Rotating Ads
CompatibilityCode:Admin CP > Configuration > Settings > Rotating Ads
- MyBB 1.8.x
- MySQL
- PostgreSQL
- SQLite