MyBB Community Forums

Full Version: postad-lite html mistake
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've installed this plugin( http://mods.mybb.com/view/postad-lite ) but after installing it I found Html errors when I tried to validate it. So there seems to be mistake in line 129 of postad.php

$post['message'] = "<div style=\"float:right;\">{$ads}</div>{$post['message']}<div style=\"clear:both;\">";

where last div is not closed. So I corrected it to

$post['message'] = "<div style=\"float:right;\">{$ads}</div>{$post['message']}<br style=\"clear:both;\" />";

Now my html validator is not complaining.

I hope I've done the right thing Smile
You might want to post here to notify developer: http://community.mybb.com/thread-70018-page-9.html Smile