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 |
#22
|
||||
|
||||
Thanks ,, Taged for later try
|
#23
|
|||
|
|||
this should by a default on vb4
anyway good job kall |
#24
|
|||
|
|||
when try to enable it error
Code:
Database error in vBulletin 4.0.0: Invalid SQL: UPDATE vbusergroup SET ### UPDATE QUERY GENERATED BY fetch_query_sql() ### `title` = 'Administrators', `description` = '', `usertitle` = 'Administrator', `opentag` = '<span style=\"font-weight: bold;\" style=\"color:green;\">', `closetag` = '</span>', `passwordexpires` = '180', `passwordhistory` = '360', `ms_megaupload_upload_permissions` = '0', `ms_photobucket_upload_permissions` = '0', `allowhtmlpermissions` = '1', `ms_force_style_permissions` = '0', `force_style_id` = '', `forumpermissions` = '16777215', `genericpermissions` = '2147483583', `attachlimit` = '0', `pmquota` = '100', `pmpermissions` = '7', `pmsendmax` = '0', `pmthrottlequantity` = '0', `calendarpermissions` = '63', `wolpermissions` = '31', `adminpermissions` = '3', `genericpermissions2` = '1', `genericoptions` = '55', `profilepicmaxwidth` = '120', `profilepicmaxheight` = '120', `profilepicmaxsize` = '65535', `avatarmaxwidth` = '160', `avatarmaxheight` = '100', `avatarmaxsize` = '200000', `signaturepermissions` = '237567', `sigpicmaxwidth` = '500', `sigpicmaxheight` = '100', `sigpicmaxsize` = '10000', `sigmaxrawchars` = '0', `sigmaxchars` = '0', `sigmaxlines` = '0', `sigmaxsizebbcode` = '7', `sigmaximages` = '0', `albumpermissions` = '255', `albumpicmaxwidth` = '600', `albumpicmaxheight` = '600', `albummaxpics` = '100', `albummaxsize` = '0', `usercsspermissions` = '63', `visitormessagepermissions` = '63', `socialgrouppermissions` = '262143', `maximumsocialgroups` = '5', `groupiconmaxsize` = '65535', `ms_imageshack_upload_permissions` = '0' WHERE usergroupid=6; MySQL Error : Unknown column 'ms_megaupload_upload_permissions' in 'field list' Error Number : 1054 Request Date : Wednesday, December 30th 2009 @ 07:40:44 PM Error Date : Wednesday, December 30th 2009 @ 07:40:45 PM Script : http://www.symbiantalk.net/admincp/usergroup.php?do=update Referrer : http://www.symbiantalk.net/admincp/usergroup.php?do=edit&usergroupid=6 IP Address : 119.30.36.20 Username : Raju Classname : vB_Database MySQL Version : 4.1.20 |
#25
|
||||
|
||||
That would appear to be due to another mod that you have not totally uninstalled.
|
#26
|
|||
|
|||
why must html??
is it better for SEO? |
#27
|
||||
|
||||
Because, it is a feature not in standard vB.
No. Not everything is about SEO. This modification has as much bearing on SEO as whether or not you ate icecream last night. |
#28
|
|||
|
|||
On your demo page, a member tried to post HTML but it didn't work (#4). However, when the member quoted that post in post #5, the HTML appears to be working. Is that supposed to happen?
Also, does anyone know if you can post HTML in the CMS when creating articles? |
#29
|
||||
|
||||
This is standard functionality controlled by the permission system in the CMS.
|
#30
|
||||
|
||||
Quote:
I think what happened there is that I edited that second post. That will make it parse. |
#31
|
|||
|
|||
I found a bug.. This plugin is messing with the BBCodes.. Here's an example:
Someone posted this in green: Code:
why does he have blue wristbands and a red belt????? Code:
[COLOR=\\"lime\\"]why does he have blue wristbands and a red belt?????[/COLOR] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|