Version 1.2 Build #2

Change Log

Iframe Inserter Plugin Version 1.2 - Changelog
**1. Improved Message Parsing Hook:

  • Change: Updated the plugin to use the
    parse_message
    hook instead of the
    postbit
    and
    postbit_prev
    hooks.
  • 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.
**2. Enhanced BBCode Replacement:
  • Change: Improved the regular expression to accurately match
    [iframe]...[/iframe]
    BBCode tags.
  • Benefit: Provides better handling of custom iframe BBCode, supporting optional width and height attributes directly within the BBCode.
**3. Sanitization and Security:
  • 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.
**4. Configurable Default Dimensions:
  • 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.
**5. Settings Management:
  • 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.
**6. Improved Error Handling:
  • 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.
**7. Code Comments and Documentation:
  • 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.
**8. Version Update:
  • Change: Updated plugin version to
    1.2
    .
  • Benefit: Reflects the latest changes and improvements made in this release.

Date Uploaded
2024-07-03, 11:47 AM
Uploaded by
aamirali51
File Size
2.91 KB
MyBB Versions
1.8.x
MD5
84a2bd96829c66a16c521fa75ab061df
Downloads
49

Latest Stable Build

By downloading this build, you agree to the terms of this project's license agreement

Latest Builds

stable Version 1.2 Build #2

Uploaded on 2024-07-03, 11:47 AM

dev Version 1.1 Build #1

Uploaded on 2024-07-01, 08:58 PM