Version: 1.00, by kall
Developer Last Online: Aug 2021
Version: 3.5.4
Rating:
Released: 09-25-2005
Last Update: 11-27-2005
Installs: 510
Uses Plugins
Is in Beta Stage
No support by the author.
Just like the name says, this ultra-simple little Product will allow you to specify Usergroups that may post in HTML and have that HTML be parsed...SOME PEOPLE ARE HAVING TABLE PROBLEMS - THIS IS UNSUPPORTED USEAGE OF THE MODIFICATION AND I AM UNABLE TO ASSIST!
***BE AWARE THAT INDISCRIMINATE USE OF THIS HACK IS RISKY - RESTRICT IT TO ONLY THOSE USERGROUPS YOU TRUST ABSOLUTELY***
The scary message above is to make sure you are aware that enabling HTML for any group opens you up to security issues. This is why it is not a feature of Stock vB, probably.
I decided I needed to have the ability to post in HTML because I just installed ZT's RSS Feeds hack, and the ones I got from Google looked all horrible.
Now updated to be controlled by a Setting in Usergroup Manager, it's phrased and even works in editpost.php (preview) in WYSIWYG and normal modes, AND the Forum Rules shows HTML is ON.
This will not work retroactively. That is, if a User posted something in HTML before they were given the ability, that post has to be edited by that member (or someone else with HTML ability) in order to be parsed. I am assuming this is due to post caching.
Many thanks to Kirby for prodding me to figure it out by myself and not just telling me what to do.
A "demo" is here..html is OFF in that Forum, but the post is made by an Admin, so the HTML is parsed.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Try this for the bbcode_parse plugin (provided by the master Kirby):
PHP Code:
global $post;
$perms =& $post['permissions'];
if (!$perms)
{
$perms = fetch_permissions(0, $post['userid'], $post);
}
// Was this post made by an allowed Usergroup member?
if ($perms['allowhtmlpermissions'] & $this->registry->bf_ugp_allowhtmlpermissions['canposthtml'])
{
// This is an allowed post so parse HTML.
$dohtml = '1';
}
If you could try that and report back to me that it is all good (works perfectly on NZB as far as I can tell), I will update the .zip when I get home from work.
I did - but it doesnt work properly, doesnt encode the HTML content inbetween [CODE] tags.
What does that mean?
HTML within [quote] Tags is rendered instead of being displayed as HTML Code?
AFAIK that's the way vBulletin works, test it with this Hack being disabled and a Forum that does allow HTML.
I didn't implement that code snippet, no. Just 3.50 and this thread's plug-in (1.0 RC1).
I would implement it if there were directions on how to do so. I don't use the [ CODE] tag on my forum. (What it sounds like Red Fox is describing is that HTML code in the [ CODE] [/CODE] tag is being parsed rather than displaying the code itself, while the [ CODE] tag is intended to allow users to show code.)
Try this for the bbcode_parse plugin (provided by the master Kirby):
PHP Code:
global $post; $perms =& $post['permissions']; if (!$perms) { $perms = fetch_permissions(0, $post['userid'], $post); } // Was this post made by an allowed Usergroup member? if ($perms['allowhtmlpermissions'] & $this->registry->bf_ugp_allowhtmlpermissions['canposthtml']) { // This is an allowed post so parse HTML. $dohtml = '1'; }
If you could try that and report back to me that it is all good (works perfectly on NZB as far as I can tell), I will update the .zip when I get home from work.
Still having the same problem. I have to edit in advanced mode before the html will parse.
I didn't implement that code snippet, no. Just 3.50 and this thread's plug-in (1.0 RC1).
I would implement it if there were directions on how to do so. I don't use the [ CODE] tag on my forum. (What it sounds like Red Fox is describing is that HTML code in the [ CODE] [/CODE] tag is being parsed rather than displaying the code itself, while the [ CODE] tag is intended to allow users to show code.)
Also for some reason, it is allow HTML in signature of user groups that are not suppose to have HTML. One person on my board has an IMG tag in his signature, and it is showing when I enable this plug in. I disabled it and it is not showing anymore. I tried to uninstall it, but got a database error when creating a new user group. It seems like the uninstall didn't completely remove everything.