![]() |
Allow Usergroups to Post HTML
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. |
If they can post in it can everyone else still see if and not the html code instead?
|
Quote:
|
Quote:
2. It does now! 3. What do you mean? How? @Boofo: Yep, Posters make it in HTML and it is parsed for all viewers. |
Where are the settings for this? :S
|
Quote:
By default, its 5,6,7 . |
Quote:
|
Ugg, hate hard coded IDs because I have soooo many secondary usergroups ;)
Gotta love clan forums :P Perhaps do the extra hooks to make it so you set the yes/no through the usergroup manager? Rather then editting a plugin everytime you add another upper heirarchy usergroup. |
Yeah, a Usergroup Permission for that would be nice :)
|
Quote:
|
|
Alllrighty then, lets see what my flu-addled brain can come up with from that. :)
|
Oh my God, Kall... I'm going to come to your house and kiss you... *ahem* Err... thanks. This'll be great for my RSS Feeds hack!
|
A Kirk kissing an Ace. Now why doesn't that sound right to me? :surprised:
hehe |
Ha ha Boof! :mad:
What do I need to change so I can input a single Username in addition to a single Usergroup? Edit: PHP Code:
|
Quote:
|
I assume that it doesn't work if a non-html group member quoted the HTML code? ... and it shouldn't anyway... :)
|
I've been waiting for this mod for so long......... *tear*
If you were a girl and didn't live in another country, i'd kiss you. Awesome plugin! :) |
Aaaaargh! Why isn't this working??
PHP Code:
HTML Code:
<?xml version="1.0" encoding="ISO-8859-1"?> |
Did you rebuild the bitfields?
|
Quote:
:) |
$vbulletin is not within the Scope of a vB_BBCode_Parser object :)
Hint: $this->registry $permissions also might not be in the scope, not sure. |
Quote:
So its not possible to do this through bitfields and permissions then? :( |
Sure. You just have to access it correctly ;)
Eg. global $permissions or $this->registry->userinfo['permissions'] and $this->registry->bf_ugp |
WOW - If I get the confirmation that this is working as it should, I love yea...
*wait wait* |
Quote:
|
PHP Code:
Am I close? |
It's working for me, but the preview doesn't work though
|
The original plugin worked. The new one gives this error when I try to set HTML to yes for a usergroup:
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 627 |
Quote:
And.. does it work anyway? Thats a Warning, not an Error. :) |
NM. I got it now.
Works well (as long as you uninstall the original, doh!) thanks Kall! Works in preview post too! :banana: :banana: |
Quote:
Heh. That's 2 bbcode_parseing type plugins I have released now. |
That's awesome! Kick ass job!!
/me clicks install. |
what to do with the bitfield_allowhtml.xml file???
|
Upload it to your includes folder. ;)
|
it does not on me...:( everything is finish?? or let me wait..
|
It's working for me! :)
|
Quote:
|
Quote:
-edit- works great |
Maybe it's designed not to work that way, but HTML doesn't work in signature of the allowable group. Maybe v1.01 will change this? :D
|
All times are GMT. The time now is 04:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|