2024-07-02, 07:22 PM
(This post was last modified: 2024-07-03, 02:11 AM by aamirali51.)
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:
To embed an iframe in a post, use the following BBCode-like format:
bash
Copy code
None
Select All
Replace
None
Select All
with the actual iframe URL from an allowed domain.
Settings:
Download hare and let me know if you want any additional features; Extend MyBB - Iframe Inserter Plugin for MyBB
Need you Opinions and suggestions on the plugin to improve further....
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]
None
Select All
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.
- Upload Plugin:
- Upload the plugin files to your MyBB installation under
inc/plugins/
None
Select All
.
- Upload the plugin files to your MyBB installation under
- 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.
- Log in to your MyBB Admin Control Panel (ACP).
- 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.
- After installation, navigate to Configuration > Settings > Iframe Inserter Settings.
To embed an iframe in a post, use the following BBCode-like format:
bash
Copy code
[iframe]https://example.com/embed/video[/iframe]
None
Select All
https://example.com/embed/video
None
Select All
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
None
Select All
).
- 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.
- 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.
- 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.
Download hare and let me know if you want any additional features; Extend MyBB - Iframe Inserter Plugin for MyBB
Need you Opinions and suggestions on the plugin to improve further....