Iframe Inserter Plugin for MyBB

by aamirali51 0 Stars 14 Downloads

The Iframe Inserter plugin for MyBB automatically embeds iframes into posts when specific BBCode-like tags are used.

Project Details

Introduction:

The Iframe Inserter plugin for MyBB automatically embeds iframes into posts when specific BBCode-like tags are used. This allows users to easily embed external content such as videos or other media from allowed domains directly into their forum posts.
Features:
  • Automatic Embedding: Converts
    [iframe]...[/iframe]
    tags in posts to actual iframes for allowed domains.
  • Domain Whitelisting: Specify which domains are allowed for embedding in the plugin settings.
  • Default Dimensions: Set default width and height for iframes.
  • Customization: Various settings to control iframe attributes and behavior.
Installation:
  1. Upload Plugin:
    • Upload the plugin files to your MyBB installation under
      inc/plugins/
      .
  2. Install Plugin:
    • Log in to your MyBB Admin Control Panel (ACP).
    • Go to Configuration > Plugins > Install & Activate.
    • Find Iframe Inserter in the plugin list and click Install.
  3. Configure Settings:
    • After installation, navigate to Configuration > Settings > Iframe Inserter Settings.
    • Configure settings such as allowed domains, default iframe dimensions, and other options as per your requirements.
    • Save the settings.
Usage:

To embed an iframe in a post, use the following BBCode-like format:
bash
Copy code
[iframe]https://example.com/embed/video[/iframe]
Replace
https://example.com/embed/video
with the actual iframe URL from an allowed domain.
Settings:
  • Allowed Domains: Comma-separated list of domains from which iframes can be embedded.
  • Default Width & Height: Dimensions applied to iframes if not specified in the BBCode.
  • Custom Parameters: Additional attributes to add to all iframes (e.g.,
    frameborder=0
    ).
  • Responsive Iframes: Enable responsive behavior for iframes to adapt to different screen sizes.
  • Error Handling: Customize error messages for non-allowed domains or other issues.
Troubleshooting:
  • Iframes not appearing: Ensure the domain is listed in the allowed domains setting.
  • White screen or errors: Check for syntax errors in plugin files or server compatibility issues.
Notes:
  • Always test new configurations in a development environment before applying changes to a live forum.
  • Regularly update the plugin for compatibility with newer MyBB versions and security patches.
This guide provides a straightforward approach to installing, configuring, and using the Iframe Inserter plugin for MyBB, enhancing your forum's multimedia capabilities.



Need you Opinions and suggestions on the plugin to improve further please post hare ....>  [/url][url=https://community.mybb.com/thread-241315.html]Plugin Suggestion Improvemen post  
Author
aamirali51
Collaborators
None
Version
1.2
Submitted
2024-07-01, 08:58 PM
Last Updated
2024-07-03, 11:47 AM
Bug Tracking
Disabled
MyBB Versions
1.8.x