vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=96926

Allow Usergroups to Post HTML
by kall
26 Sep 2005 10:29

1 Attachment(s)
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.

Boofo 26 Sep 2005 10:40

If they can post in it can everyone else still see if and not the html code instead?

Andreas 26 Sep 2005 10:42

Quote:

as I expect to have Marco or Kirby to quietly come up
Here I am :D
  • Posting Rules display does not show that I am allowed to post HTML
  • Preview does not work
  • You might want to check if parsing is really done for a forum item before just enabling it

kall 26 Sep 2005 11:04

Quote:

Originally Posted by KirbyDE
Here I am :D
  • Posting Rules display does not show that I am allowed to post HTML
  • Preview does not work
  • You might want to check if parsing is really done for a forum item before just enabling it

1. They do now. ;)

2. It does now!

3. What do you mean? How?

@Boofo: Yep, Posters make it in HTML and it is parsed for all viewers.

SHANE-D-PAIN 26 Sep 2005 11:20

Where are the settings for this? :S

kall 26 Sep 2005 11:35

Quote:

Originally Posted by SHANE-D-PAIN
Where are the settings for this? :S

Inside the xml.

By default, its 5,6,7 .

SHANE-D-PAIN 26 Sep 2005 11:38

Quote:

Originally Posted by kall
Inside the xml.

By default, its 5,6,7 .

Okay, cheers! :)

Cyricx 26 Sep 2005 12:45

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.

Andreas 26 Sep 2005 12:49

Yeah, a Usergroup Permission for that would be nice :)

kall 26 Sep 2005 19:42

Quote:

Originally Posted by KirbyDE
Yeah, a Usergroup Permission for that would be nice :)

Wanna tell/teach me how to do that? :)

Andreas 26 Sep 2005 19:48

http://www.vbulletin.org/forum/showthread.php?t=82844
:)

kall 26 Sep 2005 19:50

Alllrighty then, lets see what my flu-addled brain can come up with from that. :)

Kirk Y 26 Sep 2005 20:06

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!

Boofo 26 Sep 2005 20:10

A Kirk kissing an Ace. Now why doesn't that sound right to me? :surprised:

hehe

Kirk Y 26 Sep 2005 20:14

Ha ha Boof! :mad:

What do I need to change so I can input a single Username in addition to a single Usergroup?

Edit:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That close?


All times are GMT. The time now is 19:28.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.