I get php errors when I add your code to /z/includes/external_auth/vbulletin36.php
Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in
/home/major/public_html/forums/z/includes/HTMLPurifier/Filter.php on line
30
Below is the edited portion of my vbulletin36.php file:
Code:
if ($this->html_purifier === null)
{
require_once(ZDIR . '/includes/HTMLPurifier.auto.php');
$config =& HTMLPurifier_Config::createDefault();
$config->set('HTML', 'DefinitionID', 'external.php parse_text');
$config->set('HTML', 'DefinitionRev', 1);
$config->set('Core', 'Encoding', 'ISO-8859-1');
$this->html_purifier =& new HTMLPurifier($config);
require_once (ZDIR . '/includes/HTMLPurifier/Filter/YouTube.php');
$this->html_purifier->addFilter(new HTMLPurifier_Filter_YouTube());
}
I had already addded the media plugin to Tinymce, as well as a few other plugins. Can you attach your vbulletin36.php, header.php, and YouTube.php files so that I can make a detailed comparison to my own files?
There are some differences between the YouTube.php file that is included in the Zoints release and the standard YouTube.php that comes with HTMLPurifier.