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 |
#167
|
|||
|
|||
Quote:
I am the only one with permission to post html and I can post it and see it no problem but, other users cannot see the HTML. It just shows as text. Others users could not even see HTML in Announcements and a closed forum that I use to post HTML in anymore either. I could see it but, the just saw text. I deactivated the hack and all is fine again. If you get a fix for that, it would be perfect. Thanks, Miguel |
#168
|
||||
|
||||
Seems to be working fine on my board. Cheers.
Btw Kall, I used to live in Auckland (North Shore). NZ is God's Country without a doubt. |
#169
|
||||
|
||||
Quote:
I disabled HTML in signatures. And I have the administrator and supermoderator usergroup permission to post HTML. So far no problems. At the forums (threads) and in the signatures HTML is parsed. But; when somebody receives a PB from a admin/smod the HTML in the signature isn't parsed and you can see the raw HTML code. Can you fix this? |
#170
|
|||
|
|||
can't seem to get this to work with a paypal button code.
Code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but5.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHPwYJKoZIhvcNAQcEoIIHMDCCBywCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBwIIj2KS+yT2oInNkAbIwFOejWyNsYtzxKHiDZIhzErHw6wjChomusCVsU5F3twXi8CkVC2l57yNlzxMmGrZ6gih2CXVJCV+ZqvWwxsHEv6sSW7wAf8u/viFRkCUTW+7Fn8qrZt4be1alV0x9Es9431suzjHmOjzCMJRHqyqrM8zELMAkGBSsOAwIaBQAwgbwGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIznZIKkyo77+AgZiVJBi5OLf/eNb0Ndk+gEtKITNDPF0pS0RQDo4c5L4eEV9L1ymfgjrw8AcyA9R5lYh5hdgDdmatfyWT4jMase2Fa9UsVxsVmAYsJMjPg+c22CstI/QzGTKwu9Vp0L4YAuN9flZsI9ZV7zH4rW91vThGuH68cdY1a3Tmwx/cukUM/iQOd7zSXqGpVRRXyo6qTxtQ4YMRV1raw6CCA4cwggODMIIC7KADAgECAgEAMA0GCSqGSIb3DQEBBQUAMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaX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BMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA2MDIwNzE5NDk0N1owIwYJKoZIhvcNAQkEMRYEFCNqHsl/1Ern/7r8Bgmz/saJD8g7MA0GCSqGSIb3DQEBAQUABIGALcFt9T9RuOBMhSgtrzxIyyyoKhL/SC3ZmC+cHHCn+8RVnEqGgvlnsfR52AiPeIOBeuiOY9ddy0u92w+aBVk5u0XVY7rnB+qtf4N5+6rMmM3d3RqzzNvF4kiSIBm0GF+YiKsh2ekkYJzOD5OZqIyUgQBdCS7cjZB8WtxiU5+R2ik=-----END PKCS7----- "> </form> |
#171
|
||||
|
||||
Quote:
<table width="100%" border="0"><tr><td><div align="center"> in front and </div></td></tr></table> @ the end, should work now ... ################################## Does anybody got js (javascript) working in signatures?? |
#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:
|