The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Per Usergroup HTML Posting Permission Details »» | |||||||||||||||||||||||||||
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
Show Your Support
|
2 благодарности(ей) от: | ||
Razor87, RichieBoy67 |
Comments |
#112
|
|||
|
|||
Solved the problem I mentioned above. Nothing to do with this mod
|
#113
|
||||
|
||||
Quote:
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. |
#114
|
||||
|
||||
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! |
#115
|
||||
|
||||
Quote:
As for 'does it all have to be on one line'? No. No it does not. |
#116
|
||||
|
||||
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? |
#117
|
||||
|
||||
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. |
#118
|
||||
|
||||
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 :up: |
#119
|
||||
|
||||
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.
|
#120
|
||||
|
||||
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 |
#121
|
|||
|
|||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|