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: 1576
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

  #106  
Old 17 Jun 2011, 12:13
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Your own post here may give you a hint - does it help if you disable smilie parsing for the relevant post?
__________________
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
  #107  
Old 17 Jun 2011, 13:18
Webbstre Webbstre is offline
 
Join Date: Dec 2009
Actually, I did try that, and it still didn't work.
Reply With Quote
  #108  
Old 12 Aug 2011, 22:44
ewebdesigner ewebdesigner is offline
 
Join Date: Dec 2010
Real name: Jonathan Smith
I have a question.

When I post in HTML why cannot I put up a buy now image and it be clickable to a paypal link to make a payment?

Just curious as I allow my members to post their internet marketing products for sale on one particular forum which is modded before it is live so I can check the HTML to make sure everything is OK!

I want them to be able to post their thread just like a squeeze page but in a post. Not the graphics or anything just an HTML buy now page and images not as a pop up.

Any suggestions?
Reply With Quote
  #109  
Old 07 Sep 2011, 11:19
listisimo.es listisimo.es is offline
 
Join Date: Feb 2011
Mod not working with Chrome and Internet Explorer

First of all let me say this is a really useful mod so thank you very much.

However, we have encountered a bit of a problem.

In our case, this mod only works with Firefox, but not with Chrome or IE.

For example, check out this thread using different browsers (Firefox, Chrome and IE):
http://www.listisimo.es/temas/11354-...voces-logitech

See what I mean?

Anyone else had this problem? Is there a fix so it works with all browsers?

Thanks
Reply With Quote
  #110  
Old 29 Sep 2011, 23:00
DNN DNN is offline
 
Join Date: Mar 2011
hopes this plugin works
Reply With Quote
  #111  
Old 19 Oct 2011, 11:18
listisimo.es listisimo.es is offline
 
Join Date: Feb 2011
Solved the problem I mentioned above. Nothing to do with this mod
Reply With Quote
  #112  
Old 20 Oct 2011, 11:38
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Originally Posted by listisimo.es View Post
Solved the problem I mentioned above. Nothing to do with this mod
You should really let everyone know what the problem was and how you fixed it, for the benefit of future searchers.

Anyway, I've just installed it in 4.1.7 and I too can't get the preview to work. Can anyone? Is there a trick to it? If not, the line in the first post about preview working should be edited.

Also, correct me if I'm wrong, but does the code in a post all have to be on the same line? If so, that should be mentioned in the first post.
Reply With Quote
  #113  
Old 15 Nov 2011, 10:24
delta1001's Avatar
delta1001 delta1001 is offline
 
Join Date: Apr 2011
Brilliant idea - just what I'm looking for, alas, I doesn't work with 4.1.7

- is it my mistake?
- will it be updated?

Thanks!
Reply With Quote
  #114  
Old 15 Nov 2011, 11:55
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Originally Posted by Videx View Post
I too can't get the preview to work. Can anyone? Is there a trick to it? If not, the line in the first post about preview working should be edited.
Good point, edited.

As for 'does it all have to be on one line'? No. No it does not.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #115  
Old 16 Nov 2011, 10:33
delta1001's Avatar
delta1001 delta1001 is offline
 
Join Date: Apr 2011
Now I hear, it is supposed to work with 4.1.7 - which I cannot confirm. On my site it doesn't do anything. I can edit html when it is turned on on a forum base which enables all users to use it. If it (html) is turned off, the addon doesn't allow the use for selected usergroups.

What am I missing?
Reply With Quote
  #116  
Old 16 Nov 2011, 13:15
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Originally Posted by delta1001 View Post
What am I missing?
Hard to say. It sounds like you've turned on html for everyone, in which case you don't need this mod.

But understand this is generally considered a Really Bad Idea, because if everyone can post html then anyone can totally screw your forum easily, if only by accident e.g. forgetting a closing tag.
Reply With Quote
  #117  
Old 17 Nov 2011, 09:00
delta1001's Avatar
delta1001 delta1001 is offline
 
Join Date: Apr 2011
Well, that is presently my workaround - as I need to use html so here's what I do:

- I create a subforum with html ON
- I resrict write rights to myself
- reading rights for the rest

When I turn html off, the plugin doesn't do a thing - even though I have turned on html for the usergroup admin - it doesn't work. I'm quite aware of the risks of allowing html to everybody.

So where do I look for the mistake? I've installed it properly - checked twice - help much appreciated

Thanks

Last edited by delta1001; 17 Nov 2011 at 09:05. Reason: spelling
Reply With Quote
  #118  
Old 17 Nov 2011, 13:15
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
You may be having the same problems I did when I was testing this last month. First it took me some time to figure out the preview wasn't working, so I actually had to post my test messages. Then there seemed to be some kind of problem with large blocks of code - specifically the product codes I was getting from Amazon. As I recall a simple one line html test worked fine. But as you can see above the author answered me and says a large code block should work, but I never got it to and haven't gotten back to it yet.
Reply With Quote
  #119  
Old 17 Nov 2011, 13:42
delta1001's Avatar
delta1001 delta1001 is offline
 
Join Date: Apr 2011
Yes, sir

You're right - the preview isn't working! Just tested it: the preview gives me the "literal" text, whereas after publishing the post/thread html is parsed.

BUT: now vB inserts an extra crlf and doubles the empty lines - something I can turn off when html is allowed for the forum.

So - how do I turn that off using this addon?

This is really necessary if you want to insert a properly styled page using html and css which is what I'm looking for.

Anyone - including the developer - having a brilliant idea?

Thank you very much
Reply With Quote
  #120  
Old 23 Dec 2011, 00:37
downloadfound downloadfound is offline
 
Join Date: Dec 2007
This script works great, even in 4.1.9, but I need something way more complex. Let's say I want permission only for certain HTML markup, would that be possible? I'm running a video script that automatically embeds HTML markup into new threads when someone uploads a video.

I only want to give permission to parse certain code, I doubt that's possible.

Or better yet, don't allow HTML code to be parsed that accesses an outside domain? If anyone can do it, I'll pay.

Last edited by downloadfound; 23 Dec 2011 at 00:59.
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 15:10.

Layout Options | Width: Wide Color: