Iframe Inserter Plugin for MyBB
The Iframe Inserter plugin for MyBB automatically embeds iframes into posts when specific BBCode-like tags are used.
Change Log for Iframe Inserter Plugin for MyBB
Version 1.2 stable Build #2
Iframe Inserter Plugin Version 1.2 - Changelog
**1. Improved Message Parsing Hook:
- Change: Updated the plugin to use the
hook instead of theparse_message
andpostbit
hooks.postbit_prev
- Benefit: This change ensures that iframes are inserted earlier in the message parsing process, allowing the core BBCode parser and other plugins to work seamlessly with the transformed content.
- Change: Improved the regular expression to accurately match
BBCode tags.[iframe]...[/iframe]
- Benefit: Provides better handling of custom iframe BBCode, supporting optional width and height attributes directly within the BBCode.
- Change: Added URL sanitization and domain validation in the BBCode replacement logic.
- Benefit: Ensures only allowed domains are used for iframes, enhancing security by preventing unauthorized domains from being embedded.
- Change: Introduced settings for default iframe width and height in the admin panel.
- Benefit: Allows administrators to specify default dimensions for iframes, providing flexibility in how embedded content is displayed.
- Change: Added a dedicated settings group and individual settings for the allowed domains and iframe dimensions.
- Benefit: Facilitates easy configuration and management of plugin settings directly from the MyBB admin panel.
- Change: Added error messages for disallowed domains in the iframe embedding.
- Benefit: Provides clear feedback to users when they attempt to embed iframes from unauthorized domains.
- Change: Added detailed comments throughout the code for better understanding and maintainability.
- Benefit: Helps developers and administrators understand the plugin’s functionality and makes future modifications easier.
- Change: Updated plugin version to
.1.2
- Benefit: Reflects the latest changes and improvements made in this release.
Version 1.1 dev Build #1
The first build has no changes.