Additional Info
Type
Package ID
karlbenson:fixmessageemptyerro
First Created
October 17, 2007, 09:28:11 PM
Last Updated
February 01, 2021, 05:21:00 PM

Fix: Message Empty Error For Embed Video Mods v1.0

Fixes the 'Message Empty' error when using video embed mods
Compatible With 1.1.11, 1.1.12, 1.1.14, 1.1.15, 1.1.16, 1.1.17, 1.1.18, 1.1.19, 1.1.20, 1.1.21, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15, 2.0.16, 2.0.17, 2.0.18
Latest version v1.0
Downloads 4,331
Reviews 0
Rating 0/5
Subscribers 8
License (View License)
Author(s)


FIX MESSAGE EMPTY ERROR FOR EMBED VIDEO MODS v1.0



Introduction
This simple mod fixes a problem/bug in SMF for embedding video/clip mods.
Bug: If a user tries to post a message with ONLY a bbcode for a video clip in it, it will fail and will show the error message "The message body was left empty."
Fix: The fix adds <object> and <embed> to a list of html tags which can appear on their own in a post without any other content.

If you've got ANY of the videoclip type mods installed, you will want to install this.

Hopefully this fix will get added to a future SMF release.

Installation
Installation affects source files only (2 minor changes/additions to Post.php)
No manual theme/language edits will be required.

This mod is compatible with SMF 1.1.x and
with SMF 2.0 Beta 1 (which is currently available to Charter Members).

Support
Please use the modification thread for support with this modification.

Changelog
1.0 - 18th October 2007
o Initial release
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: