01.07.2024, 22:15
(Dieser Beitrag wurde zuletzt bearbeitet: 02.10.2024, 07:25 von MyBB.de Bot.)
Eine neue Erweiterung wurde veröffentlicht: Iframe Inserter Plugin for MyBB
Zitat: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:Installation:
- Automatic Embedding: Converts
tags in posts to actual iframes for allowed domains.Code:[iframe]...[/iframe]
- 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.
Usage:
- Upload Plugin:
- Upload the plugin files to your MyBB installation under
.Code:inc/plugins/
- 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.
- 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.
To embed an iframe in a post, use the following BBCode-like format:
bash
Copy code
ReplaceCode:[iframe]https://example.com/embed/video[/iframe]
with the actual iframe URL from an allowed domain.Code:https://example.com/embed/video
Settings:Troubleshooting:
- 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.,
).Code: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.
Notes:
- 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.
This guide provides a straightforward approach to installing, configuring, and using the Iframe Inserter plugin for MyBB, enhancing your forum's multimedia capabilities.
- 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.
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