VibeFox Banners Management — Help
Requirements
WordPress: 5.8 or later.
PHP: 8.0 or later.
WooCommerce: not needed.
External services: none. For HTML/JavaScript banners of an ad network (for example Google AdSense) you need the code from your ad network account.
VibeFox license key: bought on vibefox.net. One key works on one domain.
Installation
1. In WordPress go to Plugins > Add New > Upload Plugin, choose the plugin ZIP file and click Install Now. You can also upload the vf_banners_management folder to /wp-content/plugins/ by FTP.
2. Click Activate. WordPress opens VF Banners Management > Settings > License. Paste your VibeFox license key into License key and click Activate. Until the key is active the plugin stays switched off and its menu shows only Settings (see License key).
3. The menu VF Banners Management appears in the admin with All Banners, Add Banner, Groups, Dashboard and Settings.
4. Go to Add Banner and create a banner.
5. Copy its shortcode for a page, post or widget, or its PHP snippet for a theme template. To rotate several banners, create a group under Groups and use its embed code.
6. Adjust the options under Settings.
Banners
All Banners lists the banners with a preview, ID, type and priority, the effective state (Active, Scheduled, Expired, Paused, Draft), the schedule, impressions, clicks and CTR, and the shortcode and PHP snippet to copy (click to copy). Status tabs with counters and a search filter the list. The Active switch in the first column turns a banner on or off; click the name to edit it; Duplicate creates a draft copy and Delete removes the banner after confirmation.
Add Banner / edit banner:
Banner
Title: required, for you.
Type: Image or HTML/JS Code.
Image: click Select Image to choose it from the Media Library, or enter an image URL. Per language: a language without its own image shows the image of the default language.
Link URL: where a click leads, per language. On other languages an internal link of the default language leads to the translation of that page.
Alt text: per language.
Open link in: New tab or Same tab.
Add rel="nofollow" (recommended for ads)
For HTML/JS Code paste the code of the banner or ad network, per language. Users without the right to post unfiltered HTML (for example on multisite) can save only safe HTML.
Display Conditions
Leave empty to show everywhere. Click Add Condition, choose Include or Exclude, a type and the values. Several values are separated by commas. Include rules of the same type are combined with OR, different types with AND; any matching Exclude rule hides the banner. Types:
With Polylang and WPML, page, post, category and tag IDs also match their translations.
Publish
Status: Active, Paused or Draft.
Start Date / End Date: optional, in the site time zone. Empty = no limit. The end can not be earlier than the start.
Priority: inside a group, banners with the highest priority are shown first; lower ones only when none of them can be displayed.
Click Save Banner. The editor also shows the embed codes and the statistics of the banner.
Groups
Groups > Add Group creates an ad zone that rotates several banners in one place.
Title
Rotation:
Status: Active or Paused.
Choose the banners of the group (with their weights for Weighted) and click Save Group. Only active banners inside their schedule whose conditions match are used. The group list shows the mode, status and banners of each group, with the Active switch, Duplicate and Delete.
Configuration
Settings are on VF Banners Management > Settings. Click Save Changes to save.
General
Enable banners globally: default on. Turn off to hide all banners on the site without deleting them.
Ad label text: a small caption shown with every banner (for example Advertisement), per language. Leave empty to disable.
Label position: Above (default) or Below.
Default margin: CSS margin around every banner, for example "20px 0" or "0 auto". Default: 10px 0.
Statistics
Enable tracking: counts impressions and clicks of banners. Default: on.
Impression tracking:
Clicks are always tracked in the browser.
Keep detailed log (days): default 90. Raw impression and click records (IP, user agent, referrer) older than this are deleted once a day. The daily totals used by the Dashboard are kept.
Exclude bots: default on. Do not count requests from search engine crawlers and other bots.
Exclude admins: default on. Do not count views and clicks of administrators.
Performance
Lazy loading: default off. Adds loading="lazy" to image banners, so they load only when scrolled into view.
How to use
Examples of the shortcodes and PHP functions, ready to copy (see Shortcodes and PHP).
Logging
Enable logging: writes banner and group changes, maintenance and errors to a protected log file. Default: off.
Log level: Info (default), Warning or Error.
Max log size (MB): default 5. When the file grows larger it is rotated (one previous file is kept).
The log viewer shows the last 100 lines.
Uninstall & Clear
Delete all data on uninstall: see Uninstall. Default: off.
Cleanup buttons, each with the number of records and a confirmation: Delete banners, Delete groups, Delete statistics, Clear banner cache and Clear log.
License
The VibeFox license block (see License key).
Status
Your PHP and WordPress versions compared with the minimum versions, the active multilingual plugin and the site languages.
Import / Export
Download Export File saves the settings as a JSON file. On another site choose the file and click Import.
Shortcodes and PHP
[vfbm_banner id="1"]: shows one banner.
[vfbm_group id="1"]: shows one banner of a group (zone), picked by its rotation mode.
Shortcodes work in posts, pages, the Shortcode block, text and HTML widgets and page builders.
In a PHP theme template use a numeric banner or group ID, and check function_exists() so the template also works when the plugin is inactive:
The older template functions vfbm_show_banner() and vfbm_show_group() are still available. The banner and group lists and editors provide ready-to-copy shortcodes and PHP snippets.
How it works
A banner is shown when it is Active, the current date is inside its start and end dates, all its display conditions match and Enable banners globally is on. In a group the plugin picks one of the banners that can be shown by the rotation mode, starting with the highest priority.
The banner appears with the ad label (if set) and the default margin, in the width of the content column. Image links use the chosen target and rel="nofollow"; links that open in a new tab get noopener noreferrer. The plugin's CSS and JavaScript load only on pages that show a banner.
Statistics
With AJAX tracking, impressions are sent from the browser, so cached pages are counted too. Clicks are sent so that they are counted even when the visitor leaves the page. To protect the counters, requests from other sites are refused, one IP address is counted at most 60 impressions and 10 clicks per banner per hour, a click counts only after an impression from the same address, and only active banners are counted. One banner shown twice on a page counts one impression.
VF Banners Management > Dashboard shows impressions, clicks, CTR (clicks ÷ impressions) and the number of banners shown, a daily chart (also as a table) and a table per banner with its share of impressions. Filters: From / To, Banner, and 7 days, 30 days, 90 days.
Multilingual sites
The image, link, alt text, code and ad label have language tabs (qTranslate-XT, Polylang, WPML). Visitors see the banner in their language.
The plugin has no automatic insertion into content, sticky or popup banners, frequency capping, geo targeting, A/B tests or e-mailed reports.
License key
VibeFox license key: bought on vibefox.net. One key works on one domain.
The plugin works only with an activated key. Without it the plugin is switched off: its features, shortcodes, blocks, admin pages, scheduled tasks and e-mails do not run, and its menu shows only Settings with the License tab. Your settings and data are kept and come back as soon as a key is activated. Right after you activate the plugin in Plugins, WordPress opens this tab.
Open VF Banners Management > Settings > License, paste the key into License key and click Activate. The plugin switches on at once (the page reloads). The block License — VibeFox Banners Management then shows the masked key, the status Active until with the date and the domain, the buttons Check now, Change key, Remove key and the link Manage licenses and domains in your account.
Messages under the field: The key looks incomplete — copy the whole key from your account. (nothing is sent), Key not found. Check that you copied the whole key from your account., This key belongs to another product. (use the key bought for VibeFox Banners Management) and Domain limit reached (free a slot for this domain in your account, then click Check now). After the site address changes, click Check now.
An expired license keeps the plugin working, but without updates and support. Remove key switches the plugin off on this site; the domain slot is freed only in your vibefox.net account. If the license server cannot be reached, the plugin keeps working on the last known status. When the plugin is deleted, the key and its status are always removed.
Troubleshooting
The plugin menu shows only Settings: the license key is not active. Open VF Banners Management > Settings > License and click Activate (or Check now if a key is already entered); the messages under the field are explained in License key.
A banner is not displayed: the banner must be Active, the current date must be inside its start and end dates, all its display conditions must match, and Enable banners globally must be on. The banner list shows the effective state.
I do not see impressions when I view my own site: administrators are excluded by default. Log out, use another browser, or turn off Exclude admins.
Statistics on a cached site: use AJAX (browser). The Server (on render) mode is not compatible with full-page caching.
Developers: filters vf_bm_should_show_banner, vf_bm_conditions_match, vf_bm_banner_output and vf_bm_track_limits; actions vf_bm_before_banner, vf_bm_after_banner, vf_bm_banner_created, vf_bm_banner_updated, vf_bm_banner_deleted.
Uninstall
Deactivating the plugin keeps all data. To remove it, deactivate and delete it on the Plugins page. Banners, groups, statistics, settings, transients and log files are removed only if Delete all data on uninstall was on. Otherwise they stay for a later re-install. The key and its status are always removed with the plugin; the domain slot is freed only in your vibefox.net account.
Google AdSense is a trademark of its respective owner. This plugin is not affiliated with or endorsed by Google.
