Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Per Usergroup HTML Posting Permission Details »
Per Usergroup HTML Posting Permission
Mod Version: 4.001, by kall (Coder) kall is offline
Developer Last Online: Sep 2016 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (31 votes - 4.87 average) Installs: 299
Released: 28 Nov 2009 Last Update: Never Downloads: 1580
Not Supported DB Changes Uses Plugins Additional Files  

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 here..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 Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Allow Usergroups to Post HTML kall vBulletin 3.5 Add-ons 473 21 Sep 2010 17:13

  #61  
Old 03 May 2010, 23:02
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Thumbs up

Installed on v4.03 ....

Very nice... thank you ...

We needed this for our forums ...

Regards,
Badger
Reply With Quote
  #62  
Old 10 May 2010, 23:02
biosclan biosclan is offline
 
Join Date: Jan 2010
Thanks this worked like a champ!
Reply With Quote
  #63  
Old 24 May 2010, 22:07
Halfhidden's Avatar
Halfhidden Halfhidden is offline
 
Join Date: Sep 2009
Real name: Steff
Perhaps I'm missing something. I uploaded the xml and then imported the product. I then set allow html for pm's in VB general setting (presuming that everybody would be blocked from using html with this new product) Then went to the the Usergroup manager and set Allow HTML Permissions "Should this usergroups HTML posts be parsed?" to yes for my group only.
Now I was able to send html pm's but so were the rest of the users. If I disable the html settings in private message nobody can send html messages regardless of the settings set for this plugin including my group.
Reply With Quote
  #64  
Old 25 May 2010, 06:45
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Originally Posted by Halfhidden View Post
Perhaps I'm missing something.
Posts != PMs.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #65  
Old 25 May 2010, 07:03
Halfhidden's Avatar
Halfhidden Halfhidden is offline
 
Join Date: Sep 2009
Real name: Steff
Originally Posted by kall View Post
Posts != PMs.
Sorry Kall you lost me. Are you saying that pm's don't work only posts do?
Reply With Quote
  #66  
Old 25 May 2010, 09:18
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Originally Posted by Halfhidden View Post
Sorry Kall you lost me. Are you saying that pm's don't work only posts do?
From the mod description:
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
Red color added by me.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #67  
Old 25 May 2010, 09:34
Halfhidden's Avatar
Halfhidden Halfhidden is offline
 
Join Date: Sep 2009
Real name: Steff
Originally Posted by cellarius View Post
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.
Thanks cellarius..... that answers the question I asked Kall in post 57
Reply With Quote
  #68  
Old 08 Jun 2010, 20:04
Mr Morningstarr's Avatar
Mr Morningstarr Mr Morningstarr is offline
 
Join Date: Jun 2006
Originally Posted by rajubd View Post
when try to enable it error

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
I'm getting exactly the same error when I try to use this plug in, any idea how to solve this?
__________________
The Morningstarr*
Reply With Quote
  #69  
Old 08 Jun 2010, 20:19
Mr Morningstarr's Avatar
Mr Morningstarr Mr Morningstarr is offline
 
Join Date: Jun 2006
OK, I read what Kall said and checked the xml folder and ther was an xml file for a product I wasn't using anymore still in there, one for restricting urls. I deleted that, re-uploaded the xml file and imported the product and it works fine now.

Cheers Kall, great mod, I couldn't be without it.
__________________
The Morningstarr*
Reply With Quote
  #70  
Old 08 Jun 2010, 21:18
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Originally Posted by Halfhidden View Post
Thanks cellarius..... that answers the question I asked Kall in post 57
Sorry I missed the followup question. That answer cel quoted - its the very first thing in this thread, at the very top of the modification.

Pleas forgive me for feeling that I had already made the fact abundantly clear, by posting it as the first sentence of the mod.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #71  
Old 11 Jun 2010, 22:15
powerful_rogue's Avatar
powerful_rogue powerful_rogue is offline
 
Join Date: Jan 2007
Real name: Dave
Hi Kall,

Ive got a quick question and wondered if you may be able to help.

Ive installed the mod and posted some HTML, however I get what is shown in the attachment.


This was the HTML I tried to post


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

Just wondered if you had any ideas at all.

Also, im using 3.8.5
Attached Images
File Type: png code.png (104.3 KB, 19 views)
__________________
facejacker.org - The unofficial facejacker forum
Reply With Quote
  #72  
Old 11 Jun 2010, 22:30
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
From a quick glance, I see a in the very first line. I bet that's getting parsed before the HTML bit does.

Maybe try changing the execution order of the plugin to 1, but that probably wont help. Removing the smiley would, but would screw with your everywhere, probably. Sorry.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #73  
Old 12 Jun 2010, 15:15
share4vn.com share4vn.com is offline
 
Join Date: Feb 2008
Ex: Set Allow HTML for AdminGroup, in a post by an admin, a SuperMod or Moderator edit that post follow his style... It's really bad, very dangerous, right?

Could you prevent that? By protect that posts, may add keyword to filter them and restrict any action from other Usergroups or something...

Some my opinions
Reply With Quote
  #74  
Old 20 Jun 2010, 20:48
a7lameza.com a7lameza.com is offline
 
Join Date: May 2010
thank you
Reply With Quote
  #75  
Old 21 Jun 2010, 07:42
AURFSCAN AURFSCAN is offline
 
Join Date: Jan 2008
just for admin use this works great.. thx
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:38.

Layout Options | Width: Wide Color: