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.
Any way to have a per user permission setting override?
There should be... my brain's a bit scrambled at the moment, tough day at work but..
PHP Code:
// Was this post made by an allowed Usergroup member? if ($perms['allowhtmlpermissions'] & $this->registry->bf_ugp_allowhtmlpermissions['canposthtml'])
Somewhere in there... a "or $bbuserinfo[userid] == 'x'" style thing.. Did you mean 'override those who can't, so they can... or override those who can, so they can't?
I am hoping someone with a working brain will be able to sort it out.
There should be... my brain's a bit scrambled at the moment, tough day at work but..
PHP Code:
// Was this post made by an allowed Usergroup member? if ($perms['allowhtmlpermissions'] & $this->registry->bf_ugp_allowhtmlpermissions['canposthtml'])
Somewhere in there... a "or $bbuserinfo[userid] == 'x'" style thing.. Did you mean 'override those who can't, so they can... or override those who can, so they can't?
I am hoping someone with a working brain will be able to sort it out.
Make is so if a usergroup is allowed to use it, you can turn it off for a member in that grouop and leave it on for the others. And also, if it is turned off for a group, be able to turn it on for a member, while leaving it off for the other memebers in that group.
Hmmm...doesn't work for me either. I have the option to allow HTML for usergroups in my admin CP but, like the others, I just get the html showing up as text.
I'm on VB 3.5.3