The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Allow Usergroups to Post HTML Details »» | |||||||||||||||||||||||||
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. Show Your Support
|
Благодарность от: | ||
HeyMe |
Comments |
#172
|
|||
|
|||
Quote:
|
#173
|
|||
|
|||
Great hack and I've got it installed correctly surprising myself as I did it
I'm trying to use the following php code to show what I'm listening to in Itunes in my signature but it won't display, can this hack handle PHP?? If so what am I doing wrong PHP Code:
|
#174
|
|||
|
|||
I'm taking a wild guess here but since its called allow html and not allow php, I'm guessing no.
|
#175
|
||||
|
||||
Quote:
|
#176
|
||||
|
||||
Quote:
|
#177
|
|||
|
|||
wow! This is the best hack ever !!!!!!!!!!!!!!!!
Thank you x10000000000000000000000000 |
#178
|
|||
|
|||
I am having problems with this hack. I have Administrators enabled to have HTML parsed, but it doesn't work. I still have to enable HTML in the forum in order to have the HTML display as anything other than text.
In plug-in manager the feature is shown as in the preview. Is this correct. Can anyone help wuold be much appreciated.. |
#179
|
||||
|
||||
Quote:
Umm, perhaps one of the plugins needs to be added to one of the pm_ hooks? |
#180
|
|||
|
|||
Problem here:
I've tried uninstalling and re-installing, but I've had the same usergroup problem each time: Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 666 I tried to uninstall yet again but it will not uninstall - I have even tried using the advanced product manager to uninstall. It also seems to give me a database error when I try to uninstall the product or edit the usergroups now. Code:
Database error in vBulletin 3.5.3:
Invalid SQL:
UPDATE usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Administrators',
`description` = '',
`usertitle` = 'Administrator',
`opentag` = '<font color=\"#0000FF\"><b>',
`closetag` = '</b></font>',
`passwordexpires` = '180',
`passwordhistory` = '360',
`forumpermissions` = '1048575',
`attachlimit` = '0',
`pmquota` = '350',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions` = '205520831',
`genericoptions` = '31',
`profilepicmaxwidth` = '320',
`profilepicmaxheight` = '240',
`profilepicmaxsize` = '102400',
`avatarmaxwidth` = '160',
`avatarmaxheight` = '160',
`avatarmaxsize` = '102400',
`vbspacecomments` = '31',
`anymediapermissions` = '1',
`allowhtmlpermissions` = ''
WHERE usergroupid=6;
MySQL Error : Unknown column 'allowhtmlpermissions' in 'field list'
Error Number : 1054
Date : Sunday, March 5th 2006 @ 08:01:10 PM
Script : ***/usergroup.php
Referrer : ***/usergroup.php?do=edit&usergroupid=6
IP Address :
Username :
Classname : vb_database
edit: Here is the database error when I try to uninstall: Code:
Database error in vBulletin 3.5.3:
Invalid SQL:
ALTER TABLE usergroup DROP allowhtmlpermissions;
MySQL Error : Can't DROP 'allowhtmlpermissions'. Check that column/key exists
Error Number : 1091
Date : Sunday, March 5th 2006 @ 08:03:42 PM
Script : ***/plugin.php
Referrer : ***/plugin.php?do=productdelete&productid=nzbgroupallowhtml&s=
IP Address :
Username :
Classname : vb_database
I managed to uninstall it again, I just had to go into the advanced edit, and click delete for the install / uninstall code and then proceed with further removal. I tried installing it again, but just like last time I get the Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 666 |
#181
|
|||
|
|||
Great hack, but one downside so far. When I edit my signature the preview dont show the HTML parsed. Nor does it when I am about to post. But after I do it shows just fine.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|