Per Usergroup HTML Posting Permission
Just like the name says, this ultra-simple little Product will allow you to specify Usergroups that may make forum posts in HTML and have that HTML be parsed.
Default vBulletin - You can only choose whether an entire forum has the HTML permission, for all Usergroups. With this modification, you can give the permission to a specific Usergroup. The code in this version is 100% identical to that in the 3.5 version (except for the lack of parseing in the Preview), which worked all the way through 3.6,7 and 8. Blog HTML permissions are, for some reason, actually there in Usergroup Manager, they control HTML in Blog entries and posts, and override the settings in this Product. ***BE AWARE THAT INDISCRIMINATE USE OF THIS PRODUCT 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. Controlled by a Setting in Usergroup Manager, it's phrased and works in editpost.php in WYSIWYG and normal modes, AND the Forum Rules shows HTML is ON to allowed Usergroups. In the current vB 4.0, this WILL apply retroactively. That is, if a User posted something in HTML in the past, before they were given the ability, that post will be parsed. This could prove dangerous/troublesome for anything not wrapped in PHP tags. Many thanks to Andreas for prodding me to figure it out by myself and not just telling me what to do. A "demo" is http://www.nzboards.com/index.php?t=89305&p=112214#post112214..html is OFF in that Forum, but those posts are made by an Admin with the setting to Yes, so the HTML is parsed. Known Issues: It is not currently possible to choose whether the HTML in a post is parsed or not - it will be.. unless (weirdly) you wrap it in PHP /PHP tags. I'll look into adding a toggle switch. Download
UsergroupAllowHTML4.0.zip (2.4 KB, 1777 downloads) |
Similar Mods
Allow Usergroups to Post HTML | vBulletin 3.5 Add-ons |