vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Allow Usergroups to Post HTML (https://vborg.vbsupport.ru/showthread.php?t=96926)

Puntoboy 02-08-2006 03:08 PM

Quote:

Originally Posted by Doc Great
Try to put

<table width="100%" border="0"><tr><td><div align="center">

in front and

</div></td></tr></table>

@ the end, should work now ... :)

cheers, that works but then paypal gives an error.

Gizmo999 02-21-2006 02:05 PM

Great hack and I've got it installed correctly surprising myself as I did it :D

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:

<?php include('http://www.myserver.com/itunes.php'); ?>


EasyTarget 02-21-2006 03:13 PM

I'm taking a wild guess here but since its called allow html and not allow php, I'm guessing no.

kall 02-21-2006 04:29 PM

Quote:

Originally Posted by EasyTarget
I'm taking a wild guess here but since its called allow html and not allow php, I'm guessing no.

Plus, there's probably a vB setting that stops this.. the old 'Allow Dynamic Content in Signatures' setting.

Eagle Creek 02-21-2006 07:28 PM

Quote:

Originally Posted by Eagle Creek
I have a problem (I guess a bug).

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?

:) repost

CSS59 02-26-2006 10:39 PM

wow! This is the best hack ever !!!!!!!!!!!!!!!!

Thank you x10000000000000000000000000 :)

majoreyeswater 03-05-2006 11:06 AM

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..

kall 03-05-2006 04:38 PM

Quote:

Originally Posted by Eagle Creek
:) repost

Oh, sorry..

Umm, perhaps one of the plugins needs to be added to one of the pm_ hooks?

Pickalo 03-06-2006 12:03 AM

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

Please help.


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

edit again:

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

senkin 03-07-2006 05:04 AM

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.


All times are GMT. The time now is 02:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01564 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete