Advertisement:

Navigation

SMF Mod Site

Mod Name:
Fix: Message Empty Error For Embed Video Mods
Created By:
SMFHacks.com Team
Type:
BBC
First Created:
October 17, 2007, 09:28:11 PM
Last Modified:
November 20, 2017, 08:20:44 PM
Latest Version:
1.0
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.9, 2.0.10, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15
Total Downloads:
4016

Download this mod

Fix Message Empty Error For Embed Video Mods.zip (2kB) [3077]
Manual Install Instructions for SMF

Description:


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