![]() |
Quote:
|
Quote:
|
Quote:
C'mon guys. This is driving me up the wall. The HTML Purifier bundled with the zoints package has a youtube filter that is supposed to allow embedding youtube videos. Pretty please with sugar on top, can someone tell me how to make this work for blog posts? Oh.... one more thing. The "My Media' block only allows one video to be embedded within the block??? I wouldn't call it useless, but it's close. All the more reason to tell me how to use youtube embedding. The docs on the HTML Purifier website that discuss youtube embedding do nothing but add to my frustration. They don't seem to think it's important to tell the end user exactly how to implement the feature. I guess I'm just suppposed to print the docs out, and sit on them.... maybe the knowledge will transfer to me via assmosis. |
My apologies. I had assumed that Anthony had contacted you privately with that information. I'll touch base with him right now on it!
Also, while the block is limited to one item, you can use as many different instances of the Media block as you want, so you can share as many media clips as you want. -Paul Kemp |
Quote:
|
Quote:
They give an example of youtube filter code and then they make this statement: And the corresponding usage: Code:
<?php $config->set('Filter', 'YouTube', true); ?> |
Quote:
Step 1: Make sure you have YouTube.php in /z/includes/HTMLPurifier/Filter/ Step 2: Open /z/includes/external_auth/vbulletin36.php Find: PHP Code:
PHP Code:
Make sure /z/js/tiny_mce/plugins/media/ exists. Step 4: Open /z/includes/template/header.php Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
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:
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. |
here are my files. shouldn't be different.
|
OK!
I had made an edit in Filter.php that was messing things up and as soon as I reverted the file to the original version, everything was ok. Thanks!!!!!!!! As you can see, blog posts can have a lot more visual interest with a few options enabled: http://www.majorleaguetalk.com/forum...jdelasko&tab=6 I can think of a lot more filters to add in the future, but for now, YouTube is a really good start. Do you really need that 'My Media' block? http://www.majorleaguetalk.com/forum...delasko&&tab=1 |
All times are GMT. The time now is 05:48 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|