PDA

View Full Version : BB Code Enhancements - Embed XHTML valid YouTube and Google Video into your posts


Pages : [1] 2

Viper007Bond
11-04-2006, 10:00 PM
==============================
DON'T FORGET TO CLICK INSTALL! (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=130868)
==============================


Just thought I'd share what I did to allow my users to embed YouTube and Google Video videos into posts on my forum. This is my very first mod I've made since switching to vB, so forgive me if I screwed something up. :)


Demo:

http://forums.finalgear.com/test-forum/embedded-video-test-thread-14892/

The black bar will be different for you as it'll match your theme (it uses the same style as the whole quick reply box).


Upgrading from v1.x:

Just remove the plugin you added before (manage plugins -> delete) and then continue on to the installation instructions.

If you already have v2.x installed, you do NOT need to do this.


Installation:

Download and install the attached product. It will automatically create the new custom BBCode and add in some filtering plugins.

Save the two attached images and upload them to /images/editor/.


Usage:

Here's some examples:

http://www.youtube.com/watch?v=hl2UUunlI2Q
hl2UUunlI2Q
Aston Martin Crash
Aston Martin Crash

http://video.google.com/videoplay?docid=3688185030664621355
3688185030664621355
1980's Izuzu Gemini Advertisement
1980's Izuzu Gemini Advertisement

Using vBAdvanced? It lacks the hook this plugin uses apparently, so if you wish to use this plugin with it, you need to use only the video ID and NOT the full URL for it to display correctly. Nothing I can do about it, it's vBAdvanced's fault.


How do I customize the look of the new box thingies?

Just edit the new custom BBCode items. It's in the admin area, near the bottom.

Viper007Bond
11-05-2006, 10:08 PM
CHANGELOG:


v2.2.0: new feature -- increase video size (to 150%)
v2.0.2: update to YouTube video sizes to match YouTube
v2.0.1: minor bug in the resetting invalid BBCode calls plugin
v2.0.0: complete recode from the ground up!
v1.0.1: allow for no "www." in YouTube URLs (thanks alahnae!)
v1.0.0: initial release

boyrules
11-05-2006, 10:43 PM
Everything Is Looking Fine ..

..but The yutube video is not showing in the post....

please fix it

abramelin
11-05-2006, 10:48 PM
too much tables :/ why dont you use less tables or make tableless . if you optimize the code then it will be great.

Wachtmeister
11-05-2006, 11:14 PM
Isn't it easier to define a custom vbCode?

I have one to insert Youtube Videos very easy:

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/ejOJkcs-a7s"></param><embed src="http://www.youtube.com/v/ejOJkcs-a7s" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

SuperJETT
11-05-2006, 11:37 PM
Very nice, installed.

Viper007Bond
11-05-2006, 11:42 PM
Everything Is Looking Fine ..

..but The yutube video is not showing in the post....

please fix it
Link me to a page where it doesn't please so I can see what's wrong. :)

Viper007Bond
11-05-2006, 11:42 PM
too much tables :/ why dont you use less tables or make tableless . if you optimize the code then it will be great.
Super simple to make it tableless. Heck, you could even just do a standard <object> and nothing else if you wanted. I just used a table to make it match most forums.

Viper007Bond
11-05-2006, 11:44 PM
Isn't it easier to define a custom vbCode?
That's exactly what I did. However, via the standard vbCode, you cannnot have it accept the full video URL, only the ID. My little snippet of PHP transforms the full URL into a format that vB can handle.

I have one to insert Youtube Videos very easy:

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/ejOJkcs-a7s"></param><embed src="http://www.youtube.com/v/ejOJkcs-a7s" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
Yeah, that's exactly what mine does, just with a table for style and no <embed> as that's not valid XHTML.

As said though, you can do any styling/HTML you want, it's the PHP that is the real meat of my little plugin. :)

morrow
11-05-2006, 11:59 PM
Someone just posted this the other day.

https://vborg.vbsupport.ru/showthread.php?t=111386&highlight=youtube

Viper007Bond
11-06-2006, 12:49 AM
Someone just posted this the other day.

https://vborg.vbsupport.ru/showthread.php?t=111386&highlight=youtube
That's just standard custom BBCode. Anyone can do that and I only provided how to do it for those who couldn't figure out how to do it themselves.

The real meat and point of this plugin is that it can accept full URLs rather than just the ID of the video. ;)

redlabour
11-06-2006, 07:14 AM
Can you add wma and qt at the next Update please ? :)

Deinstalled the Plugin - to much Serverload. Take a look at the AnyMedia Code. ;)

Viper007Bond
11-06-2006, 07:38 AM
Can you add wma and qt at the next Update please ? :)
Standard custom BBCode should be enough to take care of that. Google will provide you with the needed HTML to do it. ;)

Deinstalled the Plugin - to much Serverload.
Eh, how so? It's just a little bit of regex that's run on each post. And actually, think it only runs on new posts and is cached on old ones.

Hornstar
11-06-2006, 09:52 AM
Looks good, Is there a way to enable/disable this to certain forums only tho?

Pagandream
11-06-2006, 01:34 PM
great work!

bchertov
11-06-2006, 06:33 PM
Great Hack! Thanks for sharing!

Maybe you can help me and possibly a few other users.

Currently I use YouTube's embed HTML to post YTs on my forum, though you hack will make it easier. It works great!

I have hacked my site to send out HTML emails of posts but the video is not shown in the html email, even though it works on the website. Is this possible? Do you know what I need to do to make it work?

Thanks!
Barry

Mecho
11-06-2006, 07:38 PM
if we start to show some videos from those sites , is it use bandwidth of our server ??

Tnx

Viper007Bond
11-06-2006, 09:34 PM
Looks good, Is there a way to enable/disable this to certain forums only tho?
This mini-plugin just enhances the built-in custom BBCode feature to allow people to enter full URLs.

It's probably possible to write a plugin to disable certain BBCodes in certain forums, but this one is not it. ;)

Viper007Bond
11-06-2006, 09:37 PM
I have hacked my site to send out HTML emails of posts but the video is not shown in the html email, even though it works on the website. Is this possible? Do you know what I need to do to make it work?
Run the BBCode parser on your posts to get the HTML. My plugin doesn't actually do the BBCode or anything like that.

It just transforms:

http://www.youtube.com/watch?v=9VOYF4jVo-Q&eurl=

to:

9VOYF4jVo-Q

so that the built-in custom BBCode parser can make use of it.

fsakbas
11-07-2006, 01:02 AM
thanks great job.

vivamexico55
11-07-2006, 07:02 AM
How do you install this? I tried to import but it told me it was a plugin. Where do you need to attach it, and what do I fill in the fields?

Thanks =)

Dream
11-07-2006, 07:36 AM
great thanks

just put a <center></center> on both and its perfect

Viper007Bond
11-07-2006, 08:16 AM
How do you install this? I tried to import but it told me it was a plugin. Where do you need to attach it, and what do I fill in the fields?

Thanks =)
Go to the "Download / Upload Plugins" page and scroll all the way down. ;)

vivamexico55
11-07-2006, 03:30 PM
Go to the "Download / Upload Plugins" page and scroll all the way down. ;)

LOL

Sorry man, I was a bit dumb, thanks for the help =)

Viper007Bond
11-07-2006, 06:36 PM
No worries. :)

McMendo
11-08-2006, 06:54 PM
Since this hack uses a feature which is built in the code of vbulletin, I wonder if there is a way to embed mp2 and wmv videos hosted in the forum's server.

if we start to show some videos from those sites , is it use bandwidth of our server ??I'm asking myself that same question.

Processor usage I imagine that it is on the machine of the user executing the video.

Viper007Bond
11-08-2006, 08:35 PM
Since this hack uses a feature which is built in the code of vbulletin, I wonder if there is a way to embed mp2 and wmv videos hosted in the forum's server.
Standard custom BBCode without a plugin should be able to handle that since no transformation is needed. Just Google on how to embed those kinda videos. ;)

I'm asking myself that same question.

Processor usage I imagine that it is on the machine of the user executing the video.
As said, it's YouTube or Google Video's bandwidth.

As for CPU usage, uh, I guess technically yeah, but it's just a Flash file. Flash is all over the web and is probably gonna use like 0.1% of your CPU...

alahnae
11-11-2006, 12:56 AM
why does the parser work just for goolge and not for the youtube?

tested it with this
http://youtube.com/watch?v=BWW4Np5Tn0M

ogameclub
11-11-2006, 10:22 AM
Thank you this great video hacks.

Viper007Bond
11-11-2006, 11:26 AM
why does the parser work just for goolge and not for the youtube?

tested it with this
http://youtube.com/watch?v=BWW4Np5Tn0M
Ah, I had hard coded "www." in. Thanks for pointing this out.

Plugin updated to make "www." optional. :)

iran.gs
11-11-2006, 02:16 PM
Installed thanks so much l love it ...... xoxoxoxoxox

UK Jimbo
11-11-2006, 02:52 PM
I'm using the following code for the plugin:

$viper_patterns = array(
'#\http://(www.youtube|youtube).com/watch\?v=(.*?)&(.*?)\[/youtube\]#si',
'#\[youtube\]http://(www.youtube|youtube).com/watch\?v=(.*?)\[/youtube\]#si',
'#\[gvideo\]http://video\.google\.([^/]*?)/videoplay\?docid=(\d+)(.*?)\[/gvideo\]#si',
);

$viper_replacements = array(
'[YOUTUBE]$2',
'$2',
'$2',
);

$text = preg_replace($viper_patterns, $viper_replacements, $text);

The first change means that you can include content from local sites like video.google.co.uk, the second change (using \d+) is possible because the docid always seems to be an integer.

Viper007Bond
11-11-2006, 09:00 PM
Don't forget that the Google Video ID can be negative. ;)

And I wasn't aware of Google.co.uk. I'll update and good thinking on the integer only. Thanks. :)

funkmeister
11-12-2006, 05:03 AM
Great plug-in and works perfectly - thanks.

One thing - can you put update details in a revision list in the main entry post (above) for the plug-in - that way we don't have to scroll through pages of posts to find out what updates and new features have been made and added.

Thanks.

Viper007Bond
11-12-2006, 07:52 AM
Great plug-in and works perfectly - thanks.

One thing - can you put update details in a revision list in the main entry post (above) for the plug-in - that way we don't have to scroll through pages of posts to find out what updates and new features have been made and added.

Thanks.
Uh, first real post on the first page? ;)

https://vborg.vbsupport.ru/showthread.php?t=130868#2

funkmeister
11-12-2006, 02:00 PM
Uh, first real post on the first page? ;)

https://vborg.vbsupport.ru/showthread.php?t=130868#2Ah, thanks :classic:

rex_b
11-12-2006, 02:02 PM
Great hack- thank you sir

MAME
11-12-2006, 03:42 PM
Youtube seemed to install fine, but googlevideo isnt showing up. Any ideas?

UK Jimbo
11-12-2006, 03:44 PM
Don't forget that the Google Video ID can be negative. ;)

And I wasn't aware of Google.co.uk. I'll update and good thinking on the integer only. Thanks. :)

I looked at this for another 10 mins and think that this should do the trick for both expressions:

$viper_patterns = array(
'#\http://(www.youtube|youtube).com/watch\?v=([\w]+)(.*?)\[/youtube\]#si',
'#\[gvideo\]http://video\.google\.([^/]*?)/videoplay\?docid=([\d\-]+)(.*?)\[/gvideo\]#si',
);

$viper_replacements = array(
'[YOUTUBE]$2',
'$2',
);

I spotted that if you preview a post the text in the editor window gets edited too which isn't ideal I guess. I wonder if there's a way of preventing that from happening?

UK Jimbo
11-12-2006, 03:45 PM
Youtube seemed to install fine, but googlevideo isnt showing up. Any ideas?

I'm guessing that a link saying what BB Code you're using and a link to a post with it in would be handy for debugging.

Viper007Bond
11-12-2006, 11:26 PM
I wonder if there's a way of preventing that from happening?
Yeah, I'll just check for the right $_POST value to see if it's a preview or not. :)

And thanks for the regex. I may be quite good at PHP/MySQL, but I'm still a noob at regex. :(

exilera
11-13-2006, 02:20 AM
I added the custom BB code for just YouTube per the instructions, but it doesn't seem to be working. Here's a link to a post on my forum using the code.

http://www.jabber-box.com/jabber/showthread.php?t=27

Any idea why it's not displaying the video?

Viper007Bond
11-13-2006, 05:08 AM
Any idea why it's not displaying the video?

You have HTML in your URL...

http://www.youtube.com/v/<font color="#555143">wfWfX3GdDUo</font>

UK Jimbo
11-13-2006, 07:59 AM
And thanks for the regex. I may be quite good at PHP/MySQL, but I'm still a noob at regex. :(

No worries. My perl background helps me out with that. Really powerful and useful to learn.

Viper007Bond
11-13-2006, 08:12 AM
I spotted that if you preview a post the text in the editor window gets edited too which isn't ideal I guess. I wonder if there's a way of preventing that from happening?

Only happens with the WYSIWYG editor since that apparently uses the BBCode parser to make it's output. :confused:

delmarva
11-13-2006, 05:59 PM
One problem I see with this mod: If you click anywhere but the https://vborg.vbsupport.ru/
image, it takes you to the YouTube.com home page. Any way around this?

Otherwise, the members get stuck spending hours on Youtube instead of continuing to browse my site. :)

Mecho
11-13-2006, 07:48 PM
One problem I see with this mod: If you click anywhere but the https://vborg.vbsupport.ru/
image, it takes you to the YouTube.com home page. Any way around this?

Otherwise, the members get stuck spending hours on Youtube instead of continuing to browse my site. :)

I need it too .

Viper007Bond
11-14-2006, 03:47 AM
Nothing I can do about any of that kinda stuff. It's their Flash file being loaded off their server.

delmarva
11-14-2006, 04:24 AM
THat's cool, man. Great job on the mod. Excellent stuff.

Adult SEO
11-14-2006, 07:44 AM
Hi!

The plugin itself contains a bug, the code is sometimes already parsed and available in $parsedtext instead of $text.

This code will fix it.

One other bug, Google video is available on multiple domains also on video.google.nl or co.uk etc. Also fixed with this code.

I didn't test YouTube however.

$viper_patterns = array(
'#\http://(www.youtube|youtube).[^/]+/watch\?v=(.*?)&(.*?)\[/youtube\]#si',
'#\[youtube\]http://(www.youtube|youtube).[^/]+/watch\?v=(.*?)\[/youtube\]#si',
'#docid=http://video.google.[^/
]+/videoplay\?docid=(\d+)[^"]+?"#si',
);

$viper_patterns2 = array(
'#\[youtube\]http://(www.youtube|youtube).[^/]+/watch\?v=(.*?)&(.*?)\[/youtube\]#si',
'#\[youtube\]http://(www.youtube|youtube).[^/]+/watch\?v=(.*?)\[/youtube\]#si',
'#\[googlevideo\]http://video.google.[^/
]+/videoplay\?docid=(\d+)[^\]]+?\[/googlevideo\]#si',
);

$viper_replacements = array(
'[YOUTUBE]$2',
'$2',
'docid=$1"',
);

$viper_replacements2 = array(
'$2',
'$2',
'$1',
);

if (!empty($parsedtext)) {
$parsedtext = preg_replace($viper_patterns, $viper_replacements, $parsedtext);
} else {
$text = preg_replace($viper_patterns2, $viper_replacements2, $text);
}

Adult SEO
11-14-2006, 07:55 AM
Hi!

Is it ok that I write an SEO extension for this mod and publish it?

Best Regards,
Jan Jaap

Viper007Bond
11-14-2006, 09:15 AM
The plugin itself contains a bug, the code is sometimes already parsed and available in $parsedtext instead of $text.

This code will fix it.

Forgive me, but what's $parsedtext set to? I'm new to vB.

One other bug, Google video is available on multiple domains also on video.google.nl or co.uk etc. Also fixed with this code.

Already mentioned and addressed. ;) I just haven't released an update yet and I'm completely overhauling the plugin right now to be much better. :)

Is it ok that I write an SEO extension for this mod and publish it?

I'm totally open to any reasonable suggestions for this plugin, so if you think there's anything wrong with it, I'm all ears. :)

delmarva
11-14-2006, 02:01 PM
Thanks for your efforts! Can I see a working version of this fix?

Tolas
11-14-2006, 02:40 PM
Installed

Thanks for this. You Rock!

Adult SEO
11-14-2006, 06:32 PM
Thanks for your efforts! Can I see a working version of this fix?

Hi!

I've developped a new mod inspired by this mod. It will enable you to manage all from the admin!

https://vborg.vbsupport.ru/showthread.php?p=1117273

Have Fun!
Jan Jaap

emmanuel132
11-14-2006, 06:37 PM
good job using it on my forum :-D

Adult SEO
11-14-2006, 08:56 PM
Hi!

Would you be interested to work with me together on the ultimate Video mod for vB (for free)?

I made a start: https://vborg.vbsupport.ru/showthread.php?p=1117273

Best Regards,
Jan Jaap

redlabour
11-15-2006, 10:41 AM
One problem I see with this mod: If you click anywhere but the http://www.atlanticanglers.com/forum/youtube/youtube.jpg
image, it takes you to the YouTube.com home page. Any way around this?

Otherwise, the members get stuck spending hours on Youtube instead of continuing to browse my site. :)

No - this is default by youtube.com.

Hi!

I've developped a new mod inspired by this mod. It will enable you to manage all from the admin!

https://vborg.vbsupport.ru/showthread.php?p=1117273

Have Fun!
Jan Jaap

Warning - his Mod is not Stable yet. SQL Errors and broken Links.

delmarva
11-15-2006, 02:37 PM
No - this is default by youtube.com.

I don't mean it is a problem... It would just be better if members click on the play button. It took me a while to figure out that if you click anywhere else on the inserted video, it opens up a whole new youtube.com screen. Then, your members get stuck on one of the biggest sites on the Internet instead of yours... Price you pay for using their video, I fear.

delmarva
11-15-2006, 02:38 PM
I nominated it for mod of the month considering the recent google purchase. Great work, Viper.

Adult SEO
11-15-2006, 05:22 PM
No - this is default by youtube.com.



Warning - his Mod is not Stable yet. SQL Errors and broken Links.

Yes, it's being worked on verry hard.

The demo of the video index is available on http://www.papegaaienforum.com/videos.html

Viper007Bond
11-16-2006, 12:31 AM
Complete recode coming soon. It'll have some light error checking (so people can't do like http://www.yahoo.com/ and make a bunch of broken HTML) as well as the ability to set custom titles (I've had that feature on my forums since I first made this, but I never bothered to release the code). :)

I nominated it for mod of the month considering the recent google purchase. Great work, Viper.

Thanks! :cool:

redlabour
11-16-2006, 07:49 AM
Complete recode coming soon. It'll have some light error checking (so people can't do like http://www.yahoo.com/ and make a bunch of broken HTML) as well as the ability to set custom titles (I've had that feature on my forums since I first made this, but I never bothered to release the code). :)



Thanks! :cool:

Can you fix the displaying of YouTube Videos on vBAdvanced CMPS then ?

Viper007Bond
11-16-2006, 07:57 AM
I haven't a clue what that is and really all this thing is is some custom BBCode with a helper plugin that makes it so you can have full URLs. Nothing more. ;)

redlabour
11-16-2006, 08:09 AM
I haven't a clue what that is and really all this thing is is some custom BBCode with a helper plugin that makes it so you can have full URLs. Nothing more. ;)

You forget a [GLOBAL] Variant or something like this. On a vBadvanced (you do not know what this is ???? :surprised: ) there is only the Box for the Video and the Content stays "grey".

http://www.vbadvanced.com/

At Showthread everything is still fine.

Viper007Bond
11-16-2006, 11:16 AM
you do not know what this is ???? :surprised:

No, I've only had vB for a couple weeks and I use WordPress for my CMS stuff (with the amount of traffic I get, I can't afford to run stuff that can't run in a static mode). ;)

redlabour
11-16-2006, 12:01 PM
No, I've only had vB for a couple weeks and I use WordPress for my CMS stuff (with the amount of traffic I get, I can't afford to run stuff that can't run in a static mode). ;)

vBa doent uses much more Traffic. It depends which Modules you activate and which not.

Anyway - can you fix it ? The Problem happens on every other Page then Showthread (not only vBa) where your BB Code is used. Look around for the Way you can use [GLOBAL] Commands to show modifications on every vBulletin Page/Template and you would have fixed it for vBa and every other Portal. ;)

delmarva
11-16-2006, 12:39 PM
Yes, it's being worked on verry hard.

The demo of the video index is available on http://www.papegaaienforum.com/videos.html

Man, you are really on to something there! Great work. ;)


Let us know when we can do it as easy as Vipers mod.

Adult SEO
11-16-2006, 12:47 PM
Man, you are really on to something there! Great work. ;)


Let us know when we can do it as easy as Vipers mod.

Hi!

It's actualy 10 times more easy, you just install the product and you will be able to configure all from the adminpanel and original vBulletin features like Phrases (multi-lingual support) and Templates (for the videos).

Next to the ability to offer your users the ability to publish videos on your forum, it will also generate extra traffic from Search Engines (as it's an SEO solution) and you will have the ability to put a videobar on any page on your forum with the latest published videos and you could use an SEO video index wich will enable your users to view all published videos and navigate through them.

I've offered Viper to work together on this mod, so we could make it perfect but he wasn't interested. So it will remain as is, just for Google and YouTube.

Best Regards,
Jan Jaap

delmarva
11-16-2006, 01:37 PM
Are you going to start your own thread on this? Looking forward to testing it out.

redlabour
11-16-2006, 03:37 PM
I've offered Viper to work together on this mod, so we could make it perfect but he wasn't interested. So it will remain as is, just for Google and YouTube.

Best Regards,
Jan Jaap


Chris has give the Permission to use his AnyMedia 3.5 Code. His code is the best. Why did you not use his ?

transitbus
11-16-2006, 04:03 PM
edit nm wrong mod im thinking of

redlabour
11-16-2006, 04:37 PM
No it was not AnyMedia 3.5 is very stable. The only Things that have to be done :

More Features (and here comes the SEO Part)
Google and YouTube Player Update

So - it was less work as code a new one.

Adult SEO
11-16-2006, 05:28 PM
No it was not AnyMedia 3.5 is very stable. The only Things that have to be done :

More Features (and here comes the SEO Part)
Google and YouTube Player Update

So - it was less work as code a new one.

Hi!

I'm willing to spend a few days fulltime (17+ hours per day) on it to implement SEO features etc. and make it better but will it then be ok to require a returnlink?

The returnlink could be a small icon on the video template, like 16x16 with a link to information on how to obtain the mod for free on my site www.publiceren.net (http://www.publiceren.net). Ofcourse no spamming etc, just information on how to obtain the mod and extra SE value to my domain wich is what I want.

Best Regards,
Jan Jaap

redlabour
11-16-2006, 07:17 PM
Hi!

I'm willing to spend a few days fulltime (17+ hours per day) on it to implement SEO features etc. and make it better but will it then be ok to require a returnlink?

The returnlink could be a small icon on the video template, like 16x16 with a link to information on how to obtain the mod for free on my site www.publiceren.net (http://www.publiceren.net). Ofcourse no spamming etc, just information on how to obtain the mod and extra SE value to my domain wich is what I want.

Best Regards,
Jan Jaap

You misunderstand me - you can release it as your Own Hack "AnyMedia 3.6.x" .... ;)

Cris wont do it and gave permission to anyone who will.

Viper007Bond
11-17-2006, 12:52 AM
Can you guys please stop hijacking my thread? :|

vBa doent uses much more Traffic. It depends which Modules you activate and which not.

Anyway - can you fix it ? The Problem happens on every other Page then Showthread (not only vBa) where your BB Code is used. Look around for the Way you can use [GLOBAL] Commands to show modifications on every vBulletin Page/Template and you would have fixed it for vBa and every other Portal. ;)

My plugin just uses the built in BBCode parser. If that parser isn't applied to certain pages, there's not much I can do about that unfortanetly.

transitbus
11-17-2006, 06:04 PM
Few quick questions or suggestions:

1) Is it possible to add a time out function?
2) Any chance to get the title of the video in the "header bar"?

The Wedge
11-18-2006, 12:40 PM
I haven't a clue what that is and really all this thing is is some custom BBCode with a helper plugin that makes it so you can have full URLs. Nothing more. ;)

I can't figure out why helper plugin is not workin on my site. It just give a black box and no video. If I use the partial url it works fine. And I have installed this on another site and it worked fine. The only other thing I have running on my site different from that one is photopost. But I dont know how that could interfere with it. I've also removed all my google adsense and analytics in case that was the problem. But nothing is working.

here is a link to an example

http://sicktracks.com/forums/showthread.php?p=1060945#post1060945

p0ng0
11-18-2006, 01:36 PM
Installed - thanks very much!

smoknz28
11-18-2006, 07:48 PM
Installed on v3.6.3 with ease. ;)

Thank you for sharing your work with the rest of us.

Gonzo

bombardier
11-18-2006, 08:09 PM
Installed ! and it works great thank yoiu very very much

Viper007Bond
11-19-2006, 02:18 AM
Few quick questions or suggestions:

1) Is it possible to add a time out function?
2) Any chance to get the title of the video in the "header bar"?
1) It's just a simple <object> with a remote Flash file, so no.
2) I have this on my forum and I'll be adding it to the plugin in the next release (which is mostly done and should be released soon). :)

I can't figure out why helper plugin is not workin on my site. It just give a black box and no video. If I use the partial url it works fine. And I have installed this on another site and it worked fine. The only other thing I have running on my site different from that one is photopost. But I dont know how that could interfere with it. I've also removed all my google adsense and analytics in case that was the problem. But nothing is working.

here is a link to an example

http://sicktracks.com/forums/showthread.php?p=1060945#post1060945

All 4 videos on that site show up correctly for me.

Viper007Bond
11-19-2006, 04:26 AM
New version out! (2.0.0)

Total recode featuring custom titles, light error checking (ex: people can't do http://www.google.com/ for example), one click installation (no more having to manually add the BBCode), etc.

MorrisMcD
11-19-2006, 04:48 AM
So should we remove the BB Code we added before installing the plugin?

Viper007Bond
11-19-2006, 05:00 AM
No, you can leave it. It'll attempt to add it again, but will silently fail (although it will add two new ones used for the custom titles). :)

transitbus
11-19-2006, 05:02 AM
New version is working great! Thanks for updating :D

Viper007Bond
11-19-2006, 05:35 AM
New version is working great! Thanks for updating :D

Ah, good to hear! I tested on both my test forums and my real forums, but I still wasn't sure it was fully bug free. :)

transitbus
11-19-2006, 05:38 AM
that reminds me... one thing i did notice was that you did not need quotes around the ID when doing a custom title.

MorrisMcD
11-19-2006, 05:39 AM
No, you can leave it. It'll attempt to add it again, but will silently fail (although it will add two new ones used for the custom titles). :)

Good deal.. All is well!

Thanks!

Viper007Bond
11-19-2006, 05:54 AM
that reminds me... one thing i did notice was that you did not need quotes around the ID when doing a custom title.

That is indeed correct. I coded it to handle both methods, just as vB does with like [url].

redlabour
11-19-2006, 06:03 AM
Hi,

now i have a great Problem. How can i change [youtube] and [gvideo] to [yt] and [gv] ???

And one Bug - after i have installed your Product i cant see any longer at AdminCP my own vBCodes. After deinstalling your Product this leaves the same.

Who can i fix this ?

s. Screenshot.

I have looked for a problem with phpMyAdmin everything looks fine and the BB Codes are still working. :confused:

Restore of vb3_bb Code Table brings no success.

hcmagix
11-19-2006, 06:22 AM
I need a myvideo.de integration. :D I will wait.

Viper007Bond
11-19-2006, 07:28 AM
now i have a great Problem. How can i change [youtube] and [gvideo] to [yt] and [gv] ???
You'll need to edit the two plugins this product adds and replace all instances of youtube/gvideo with yt and gv.

And one Bug - after i have installed your Product i cant see any longer at AdminCP my own vBCodes. After deinstalling your Product this leaves the same.

That is very odd... :ermm:

When the plugin is uninstalled, it removes the BBCode it adds and everything, so it shouldn't screw anything up. I really don't know what to suggest. :(

What happens if you view the source of that frame window?

Viper007Bond
11-19-2006, 07:29 AM
I need a myvideo.de integration. :D I will wait.

Sorry, won't be happening. Not enough demand and I'm not really looking to make this into an "everything under the sun" plugin. ;)

redlabour
11-19-2006, 07:58 AM
What happens if you view the source of that frame window?



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html dir="ltr" lang="de">
<head>
<script type="text/javascript">
<!--
// get out of any containing frameset
if (self.parent.frames.length != 0)
{
self.parent.location.replace(document.location.hre f);
}
// -->
</script>
<title>politikstube.de & theologieforum.de - die christliche Community (Politikforum & Theologieforum) Administrator-Kontrollzentrum</title>
</head>

<frameset cols="195,*" framespacing="0" border="0" frameborder="0" frameborder="no" border="0">

<frame src="index.php?do=nav" name="nav" scrolling="yes" frameborder="0" marginwidth="0" marginheight="0" border="no" />
<frameset rows="20,*" framespacing="0" border="0" frameborder="0" frameborder="no" border="0">
<frame src="index.php?do=head" name="head" scrolling="no" noresize="noresize" frameborder="0" marginwidth="10" marginheight="0" border="no" />
<frame src="index.php?do=home" name="main" scrolling="yes" frameborder="0" marginwidth="10" marginheight="10" border="no" />
</frameset>
</frameset>

<noframes>
<body>
<p>Ihr Browser unterst?tzt keine Frames. Bitte installieren Sie einen, der das kann!</p>
</body>
</noframes>
</html>


It tells me in Firefox 2.0 and IE 7.0 that my Browser does not support Frames. :confused:

Rabbitoh Warren
11-19-2006, 08:06 AM
*100th Install* :p

redlabour
11-19-2006, 08:08 AM
It tells me in Firefox 2.0 and IE 7.0 that my Browser does not support Frames. :confused:

And if i look for the Frame source :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="de">
<head>
<title>vB Codes verwalten - politikstube.de & theologieforum.de - die christliche Community (Politikforum & Theologieforum) - vBulletin Administrator-Kontrollzentrum</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" type="text/css" href="../cpstyles/vBulletin_2_Default/controlpanel.css" />
<script type="text/javascript">
<!--
var SESSIONHASH = "";
function set_cp_title()
{
if (typeof(parent.document) != 'undefined' && typeof(parent.document) != 'unknown' && typeof(parent.document.title) == 'string')
{
parent.document.title = (document.title != '' ? document.title : 'vBulletin');
}
}
//-->
</script>
<script type="text/javascript" src="../clientscript/vbulletin_global.js"></script>
</head>

<body style="margin:0px" onload="set_cp_title();">
<div class="pagetitle">vB Codes verwalten</div>
<div style="margin:10px">
<!-- END CONTROL PANEL HEADER -->


<!-- form started:8 queries executed -->
<form action="bbcode.php?do=add" method="post" name="cpform" id="cpform">
<input type="hidden" name="do" value="add" />
<input type="hidden" name="adminhash" value="134ab670d5c6ac34d59c503e028764a2" />
<br />
<table cellpadding="4" cellspacing="0" border="0" align="center" width="90%" class="tborder" id="cpform_table">
<tr>
<td class="tcat" align="center" colspan="6">
<div style="float:right"><a class="helplink" href="#" onclick="js_open_help('bbcode', 'modify', ''); return false;">Hilfe <img src="../cpstyles/vBulletin_2_Default/cp_help.gif" alt="" border="0" title="Ich brauche Hilfe bei diesen Optionen" style="vertical-align:middle" /></a></div>

<b>vB Codes verwalten</b>
</td>
</tr>
<tr valign="top" align="center">
<td class="thead" align="left">Titel</td>
<td class="thead" align="left">vB Code</td>
<td class="thead" align="left">HTML</td>
<td class="thead" align="left">Einzuf?gender Code</td>

<td class="thead" align="left">Schaltfl?chen-Grafik</td>
<td class="thead" align="left">Einstellungen</td>
</tr>

Viper007Bond
11-19-2006, 08:28 AM
And if i look for the Frame source :

Looks like the while() that outputs each BBCode entry is failing. I don't know why, sorry. :(

Look for some PHP errors in your logs is all I can suggest.

*100th Install* :p

Woot! :D

redlabour
11-19-2006, 10:34 AM
Looks like the while() that outputs each BBCode entry is failing. I don't know why, sorry. :(

Look for some PHP errors in your logs is all I can suggest.



Woot! :D

Sorry - not your Fault. It was vBAnonymizer.

redlabour
11-19-2006, 10:59 AM
I need a myvideo.de integration. :D I will wait.

Wait for AnyMedia 3.6.x (https://vborg.vbsupport.ru/showpost.php?p=1119198&postcount=143) ....

You'll need to edit the two plugins this product adds and replace all instances of youtube/gvideo with yt and gv.


Please integrate this into AdminCP as it is here :

SEO YouTube and Google Videos (https://vborg.vbsupport.ru/showthread.php?t=131567)

For know i have asked here :

Change used BB-Code in Posts if BB-Code was changed (https://vborg.vbsupport.ru/showthread.php?p=1120700#post1120700)

smoknz28
11-19-2006, 04:08 PM
Doh! I had just installed this yesterday with the previous version. :cross-eyed:

Please recommend the best way to upgrade this mod.

Would it be best to take out the custom BB codes that were instructed from previous? Do I uninstall the previous plugin and then install this new one?

Just looking for the best recommended way of upgrading this. I didn't see any instructions for those of us upgrading.

Thanks,
Mark

redlabour
11-19-2006, 04:19 PM
Wait for AnyMedia 3.6.x (https://vborg.vbsupport.ru/showpost.php?p=1119198&postcount=143) ....



Please integrate this into AdminCP as it is here :

SEO YouTube and Google Videos (https://vborg.vbsupport.ru/showthread.php?t=131567)

For know i have asked here :

Change used BB-Code in Posts if BB-Code was changed (https://vborg.vbsupport.ru/showthread.php?p=1120700#post1120700)



Just looking for the best recommended way of upgrading this. I didn't see any instructions for those of us upgrading.

Thanks,
Mark

You do not see any Instruction ? Maybe you should read the last Post before yours and wait for a answer ? :cool: :confused:

xtrass
11-19-2006, 04:33 PM
I installed it, but it does not work for me, here is a link to it
http://www.ezpicking.com/forum/showthread.php?p=415#post415

please help as this would be a great feature for my fourm!

Thank you.

redlabour
11-19-2006, 04:51 PM
I installed it, but it does not work for me, here is a link to it
http://www.ezpicking.com/forum/showthread.php?p=415#post415

please help as this would be a great feature for my fourm!

Thank you.

Take a working YouTube Link. Hack seems ok.

xtrass
11-19-2006, 04:55 PM
That is a working youtube link :surprised:

http://www.youtube.com/watch?v=ya9CsMioPxA

Just does not work in my post with this mod

smoknz28
11-19-2006, 04:57 PM
You do not see any Instruction ? Maybe you should read the last Post before yours and wait for a answer ? :cool: :confused:

That's correct....don't bother hijacking my post amigo. I still don't get what you're refering to. And if there was a "last post" before mine....it may be possible I was in the middle of typing my post as the last poster was hitting the save button.

I love smart-arses....

xtrass
11-19-2006, 05:21 PM
Ok, not sure what happened, but it seems if you edit the post it becomes invalid and you have to enter the youtube url again.

Works now.

RidinHighSpeeds
11-19-2006, 07:03 PM
Great mod, however I would strongly recommend a new feature much like the "hyperlink" pop-up windows.

If you currently click on Google or the YouTube link, it brings up the window where you enter the URL. However, many users do not enter a title within the tags, and then when they submit just the URL, it does not display the video..

I think there should be 2 windows. 1 window for the URL, and another for the TITLE. That would work perfectly!

Viper007Bond
11-19-2006, 08:01 PM
Please recommend the best way to upgrade this mod.

Remove the old plugin entry and then import the new product.

I've edited my post to include upgrade instructions (sorry!).

smoknz28
11-19-2006, 08:04 PM
Remove the old plugin entry and then import the new product.

I've edited my post to include upgrade instructions (sorry!).

Thank you Viper007Bond. ;)

I know you hit on this one previously....but I'd like to know if it would be better to remove the Custom BB Codes we added with the previous version of this hack? Seemed like your response was more of a...you can if you want...but if not...there's no issues. But I'd rather not have it there if there's no need for it with this verion.

Thanks again Viper007Bond.

Viper007Bond
11-19-2006, 08:08 PM
Ok, not sure what happened, but it seems if you edit the post it becomes invalid and you have to enter the youtube url again.

Let me explain a little how this plugin works behind the scenes, using as an example (the Google Video one works the same way).

First, it finds all validly formatted calls to the BBCode and replaces them with gakjh43hj34f. Anything left over is then bad calls to the BBCode (ex: [YOUTUBE]http://www.yahoo.com/). These get replaced with [INVALIDYOUTUBE] so that the BBCode parser doesn't replace them and make a broken embed box.

Then once the BBCode parser is done, it replaces all of the [INVALIDYOUTUBE]'s with . This results in them displaying as the user typed in (in plain text) with no HTML.

However, it seems that second plugin (which puts the tags back) doesn't always work and I'm not quite sure why (since I'm new to vB). That's why you may see [INVALIDYOUTUBE]'s sometimes in your posts rather than [YOUTUBE]http://www.yahoo.com/. Valid calls to the BBCode though should always work and show up correctly.

Viper007Bond
11-19-2006, 08:09 PM
Great mod, however I would strongly recommend a new feature much like the "hyperlink" pop-up windows.

If you currently click on Google or the YouTube link, it brings up the window where you enter the URL. However, many users do not enter a title within the tags, and then when they submit just the URL, it does not display the video..

I think there should be 2 windows. 1 window for the URL, and another for the TITLE. That would work perfectly!
Wait, what? I'm lost.

Viper007Bond
11-19-2006, 08:10 PM
I know you hit on this one previously....but I'd like to know if it would be better to remove the Custom BB Codes we added with the previous version of this hack? Seemed like your response was more of a...you can if you want...but if not...there's no issues. But I'd rather not have it there if there's no need for it with this verion.

No, there is no need to remove them. :)

ubblite
11-19-2006, 08:21 PM
A CMPS module would be a great addition for this mod.

Also, if you could have your own player instead of using Google's and YouTube's, it would be a real nice option.

xtrass
11-19-2006, 08:27 PM
Viper, great mod. I also run a SMF forum, version 1.1 RC3,

any chance you can port this over for 1.1RC3?

They only have a similar mod for 1.1RC2 and all the suggested hacks to get it to work on RC3 fails. Plus you need to install 2 mods to get what your VB mod does!

I know your mod would be greatly appreciated for SMF :)

Any chance it happening?

smoknz28
11-19-2006, 08:57 PM
No, there is no need to remove them. :)

Sounds good....thanks again for taking time out in putting this hack together. ;)

RidinHighSpeeds
11-19-2006, 08:59 PM
Wait, what? I'm lost.

When you click the YouTube icon for example, it brings up a window where you enter in the URL of the video.

Now if I submit my reply without entering in a title within the tags, it does not display the video. I would recommend another pop-up window asking the user to enter in a description or title.

redlabour
11-19-2006, 09:28 PM
Attention :

If you have used something like before this Update and want to change now all old Codes to operate this SQL Querie.

UPDATE vb3_post SET pagetext = REPLACE(pagetext, '[gv]', '[gvideo]');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '', '');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '', '');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '', '');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '', '');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '', '');

Same for old [anymedia] or [yt] Codes. ;)

Attention - maybe you have to change Tableprefix.

@Viper007Bond - include this to Installinstructions please or use it for coding a AdminCP Option. ;)

transitbus
11-19-2006, 10:26 PM
Wait, what? I'm lost.

I think what he is asking is like the insert link:

56240

ByG SteAm
11-19-2006, 11:28 PM
I am a little confused, you have the example usage thing but how do i make it so when they click to insert the video url it shows more than the [google][ /google] thing but instead the full Usage code you have posted above.

RidinHighSpeeds
11-19-2006, 11:48 PM
I think what he is asking is like the insert link:

56240

Yes. Insert URL of the link. Then after that, another window saying "please insert the title of the link"

Viper007Bond
11-20-2006, 12:56 AM
A CMPS module would be a great addition for this mod.

Also, if you could have your own player instead of using Google's and YouTube's, it would be a real nice option.

Sorry, I don't use vBadvanced and wouldn't know where to start.

As for your own player, I'm not sure if YouTube & Google Video would appreciate that or not. I think they want you to use their Flash player.

Viper, great mod. I also run a SMF forum, version 1.1 RC3,

any chance you can port this over for 1.1RC3?

They only have a similar mod for 1.1RC2 and all the suggested hacks to get it to work on RC3 fails. Plus you need to install 2 mods to get what your VB mod does!

I know your mod would be greatly appreciated for SMF :)

Any chance it happening?

Nope, no chance, of me making a version that is. I hate SMF and will never install it, sorry.

When you click the YouTube icon for example, it brings up a window where you enter in the URL of the video.

Now if I submit my reply without entering in a title within the tags, it does not display the video. I would recommend another pop-up window asking the user to enter in a description or title.

I was unaware such a thing happened. I only use Firefox and when you click the button for a custom BBCode, it just inserts the BBCode into the write box.

Either way, my plugin doesn't add the button, vB does, so there's not much I can do about it AFAIK.

Attention :

If you have used something like before this Update and want to change now all old Codes to operate this SQL Querie.

UPDATE vb3_post SET pagetext = REPLACE(pagetext, '[gv]', '[gvideo]');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '', '');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '', '');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '', '');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '', '');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '', '');

Same for old [anymedia] or [yt] Codes. ;)

Attention - maybe you have to change Tableprefix.

@Viper007Bond - include this to Installinstructions please or use it for coding a AdminCP Option. ;)

Yeah, when I have a chance to release an update, I'll allow you to easily change the BBCode. :)

Kwak
11-20-2006, 04:30 AM
Thank you for the great mod, clicked Install.

webspider
11-22-2006, 10:52 AM
I'm doing the update but what about the old bbcode code that was manually put in is it updated or should it be deleted?

Viper007Bond
11-23-2006, 09:06 AM
I'm doing the update but what about the old bbcode code that was manually put in is it updated or should it be deleted?

You can leave it. :)

trichnosis
11-24-2006, 04:04 PM
it's a great product. i have installed;)

da_judge
11-24-2006, 06:16 PM
Top bloody draw... nice plugin m8

Installed clicked

Been Told
11-24-2006, 08:20 PM
A very fine hack, thanks man! :D My forum needed something just like this :)

Viper007Bond
11-28-2006, 08:37 AM
v2.0.1 has been released. It fixes a minor issue in the invalid BBCode reseter. It wasn't replacing the temporary placeholders in the post cache.

Nothing critical, but worth a upgrade if you have a chance.

smoknz28
11-28-2006, 12:20 PM
Updated....to your latest version.

Thanks ;)

Canis Firebrand
11-28-2006, 12:56 PM
I'm interested in this and had a question.

Is there a way to automatically pull in the title of the video to display at the top of the window if the user doesn't specifically put one in?

|oR|Greg
11-28-2006, 07:16 PM
Viper, you were the inspiration behind this.

https://vborg.vbsupport.ru/showthread.php?t=132702

rish123
11-28-2006, 09:34 PM
thanks alot works 100%

Viper007Bond
11-28-2006, 11:11 PM
I'm interested in this and had a question.

Is there a way to automatically pull in the title of the video to display at the top of the window if the user doesn't specifically put one in?

Yes, but it won't be happening in my product. I want to keep mine relatively simple.

There are however other plugins that have started as a result of this product which do that. A small search here will help you find them. ;)

Viper007Bond
11-28-2006, 11:12 PM
Viper, you were the inspiration behind this.

https://vborg.vbsupport.ru/showthread.php?t=132702
Cool!

redlabour
11-29-2006, 05:30 PM
Sorry, but the Bug within vBadvanced is still happening.

At Threaddisplay the Video plays at Portal it is only grey.

You have still forgotten the $GLOBALS[YOURDISPLAYCOMMAND] in the Code. Please fix this. :)

Every other YouTube and/or GV Plugin on vbulletin.org hasn?t this Problem. Can you please take a look ? But without this Error yours is the best.

Viper007Bond
11-29-2006, 07:24 PM
You have still forgotten the $GLOBALS[YOURDISPLAYCOMMAND] in the Code. Please fix this. :)

That's because I still don't have any clue what you're talking about. As I've said, I've never used vBAdvanced and I'm relatively new to vB, so you'll have to explain it to me. :(

redlabour
11-29-2006, 08:18 PM
vBadvanced is the best known free Portalsoftware as you can see here :

http://www.vbadvanced.com/

At Portal the Videos are only grey (s. Screenshot 1)

At Forum the work (s. Screenshot 2)

This is espacially important for every Newsboard with a Portal. Please install vBadvanced at your Developmentboard (only takes a few Minutes). ;)

The Problem is that you have coded your Code only to appear at Postings. With a Variable like i posted above it is shown whereever the Users want.

Just take a look at the Sourcecode from AnyMedia 3.5 to understand - may help. ;)

Viper007Bond
11-29-2006, 08:48 PM
The Problem is that you have coded your Code only to appear at Postings.

No I didn't. ;)

I take it you're using the full YouTube URL? Try using just the ID rather than the URL. It looks like vBAdvanced is somehow skipping the hook I'm using (bbcode_parse_start), so my plugin isn't running that replaces full URLs with just the ID so the built in BBCode parser can make valid HTML.

redlabour
11-29-2006, 09:17 PM
No I didn't. ;)

I take it you're using the full YouTube URL? Try using just the ID rather than the URL. It looks like vBAdvanced is somehow skipping the hook I'm using (bbcode_parse_start), so my plugin isn't running that replaces full URLs with just the ID so the built in BBCode parser can make valid HTML.

Great now it works. Please integrate this into the Instructions. ;)

ninjamaster
11-30-2006, 06:31 AM
thanks for this :)

DevilYellow
11-30-2006, 11:54 AM
It would be cool if the tag was switched to just "video" and could be a link from googe, youtube, break.com, streetfire.net, fquick.com, ebaumsworld .....

Viper007Bond
12-01-2006, 03:25 AM
It would be cool if the tag was switched to just "video" and could be a link from googe, youtube, break.com, streetfire.net, fquick.com, ebaumsworld .....

Then how would it tell them apart if only the ID was entered?

As for the other sites, Break.com's embed code has nothing in common with the URL you view the video at, so it's out. Streetfire is doable. fquick.com wouldn't be used by many people, so it's not worth my time. ebaumsworld is also nearly there (is it really that hard to link to the video rather than embed it?).

DevilYellow
12-01-2006, 08:14 PM
I was just saying entire urls ... Not sure how many people picked up on the ability for it to embed with just the ID.

I just liked the idea of embedding it because it keeps users on my site. Keeps them looking at my ads, keeps my traffic up. At least to a small extent.

MrPHD
12-02-2006, 09:56 AM
Nice and Installed. Thanhks

deeoo
12-02-2006, 10:09 AM
Great mod, but shouldn't it be able to extract the title of a youtube video?

Viper007Bond
12-02-2006, 10:20 AM
Great mod, but shouldn't it be able to extract the title of a youtube video?

Define "shouldn't it be able".

Is it possible? Of course, assuming you have a server that allows fsockopen(). Will I add the feature to my plugin? Nope, there are other plugins out there if you want that. Mine's simple on purpose. ;)

deeoo
12-02-2006, 10:26 AM
Define "shouldn't it be able".

Is it possible? Of course, assuming you have a server that allows fsockopen(). Will I add the feature to my plugin? Nope, there are other plugins out there if you want that. Mine's simple on purpose. ;)

Thanks for the quick answer. Great mod none-theless.

HUMMERh3
12-02-2006, 01:51 PM
Does this hack work for http://www.break.com/ and http://www.liveleak.com/?ogr=1 ?? If so what would be the BBC code?

Viper007Bond
12-03-2006, 12:13 AM
Does this hack work for http://www.break.com/ and http://www.liveleak.com/?ogr=1 ?? If so what would be the BBC code?

Nope, only YouTube and Google Video currently. I plan on adding IFILM and Metacafe at some point though.

Break.com won't work because their embed code has nothing in common with the URL in your address bar. I mean, it could work, but it'd be too hard for the average use to be worth it. Better off linking to Break.com.

Never heard of http://www.liveleak.com/, but I'll look into it.

smoknz28
12-03-2006, 08:31 PM
Does this hack work for http://www.break.com/ and http://www.liveleak.com/?ogr=1 ?? If so what would be the BBC code?

Here's for LiveLeak ---> https://vborg.vbsupport.ru/showthread.php?t=132864&highlight=liveleak

tobybird
12-04-2006, 04:52 AM
Sweet! Thanks! Clicked Install :)

eta: Would anyone be able to tell me how I could add the YouTube and Google Video options to my quick reply? Thanks!

redlabour
12-05-2006, 10:58 AM
Can you not be an ass and stop advertising in my thread please? :rolleyes:

The most people using your Hack are waiting for this. Its just a Info and as you allways written you wont include more Filetypes and Services - so what ?

ericgtr
12-05-2006, 04:40 PM
The most people using your Hack are waiting for this. Its just a Info and as you allways written you wont include more Filetypes and Services - so what ?
Please stop advertising other mods in this thread, it's not the place for it. If you have any further questions about it feel free to drop me a PM but any more soliciting posts will be deleted.

StuntFactoryX
12-07-2006, 12:36 AM
i know you looking to keep this simple but myspace videos are getting exreamly popular on my site... would it be hard to add that in?

Viper007Bond
12-07-2006, 06:38 AM
Not that hard. I added it into my similar plugin for WordPress.

I'll add some more site into this one when I have a chance (busy lately).

netcommander
12-07-2006, 05:24 PM
how can I disable using in signature
Regards

Viper007Bond
12-08-2006, 07:07 AM
how can I disable using in signature
Regards

I don't believe you currently can as it uses in the built-in BBCode parser.

I'll look into coming up with a solution though.

BigJimTheLug
12-08-2006, 05:28 PM
can you add myspace and metacafe to the video list?

Please do so...it would be so cool, thanks!

netcommander
12-08-2006, 07:09 PM
I don't believe you currently can as it uses in the built-in BBCode parser.

I'll look into coming up with a solution though.
Hmm ok thanks I will wait new version
kind regards

Viper007Bond
12-09-2006, 12:40 AM
can you add myspace and metacafe to the video list?


Please do so...it would be so cool, thanks!

Yeah, when I have a chance. :)

StuntFactoryX
12-09-2006, 11:01 PM
clicked installed for the notifacation of update on myspace. my members will be happy campers.

thanks

edge23
12-10-2006, 10:56 PM
Thanx m8 works great!!!! vB 3.6.4

kellogs
12-11-2006, 03:14 PM
Thank you for the great mod but it does not display the youtube inline video instead it is showing the link with youtube tag.

This is the link

http://www.fishingouting.com/forums/fishing-cafe/1601-tokara-marine-challenger-videos.html#post12258

Any idea?

TIA
-K

jyajay
12-12-2006, 06:00 PM
After installing this mod the "custom bbcode edit" page does not load anymore, sorry i can't use this modification.

Viper007Bond
12-12-2006, 07:28 PM
Thank you for the great mod but it does not display the youtube inline video instead it is showing the link with youtube tag.

Status: Not Installed

Sorry, but I only offer support to those who have marked it as installed. ;)

MiskaTorn
12-14-2006, 11:39 AM
Then how would it tell them apart if only the ID was entered?

As for the other sites, Break.com's embed code has nothing in common with the URL you view the video at, so it's out. Streetfire is doable. fquick.com wouldn't be used by many people, so it's not worth my time. ebaumsworld is also nearly there (is it really that hard to link to the video rather than embed it?).Don't put your money on that one ;)

RidinHighSpeeds
12-16-2006, 12:08 AM
Looks like it does not work in Preview mode..

Lots of members told me it was not working and I tried my best to tell them how to do it. They then told me it was because they though they were doing it wrong since it wasn't playing in the preview post.

Just thought i'd let you know.

Viper007Bond
12-16-2006, 10:02 AM
Looks like it does not work in Preview mode..

Lots of members told me it was not working and I tried my best to tell them how to do it. They then told me it was because they though they were doing it wrong since it wasn't playing in the preview post.

Just thought i'd let you know.

Yeah, I'm aware of the issue. It's because of some cheating I had to do in order for it to work right with the WYSIWYG editor.

When I have a chance to tweak this plugin again in the next few days hopefully, this is one of the things I'll address. :)

Viper007Bond
12-16-2006, 10:03 AM
Don't put your money on that one ;)
Alright, well I'll consider it then. :)

Neal-UK
12-16-2006, 10:57 AM
Can't get this to work. I enter the full url or just the video number and then wrap the youtube code around it and it just shows:


h6KBiuVxOOY

Quantnet
12-16-2006, 05:42 PM
click Installed. Works great on 3.6.4
thanks

Neal-UK
12-16-2006, 06:19 PM
click Installed. Works great on 3.6.4
thanks

Boo hoo, how you get it to work?

florino1
12-16-2006, 07:18 PM
Can't get this to work. I enter the full url or just the video number and then wrap the youtube code around it and it just shows:


h6KBiuVxOOY


Same thing here ! :(

rossco_2005
12-16-2006, 07:47 PM
I like this, it's nice that users can put the id or full URL as it saves me having to explain how to get the url a hundred times to members. :P

Just noticed one bug and not sure if it was posted.
I was trying to make a quick explanation to users by writing the code URL inside of [noparse] tags but your code still removes the full url and changes it to just an id which is a bit confusing to members (they don't know where the id came from :P).

Not a big deal but you should make your hack detect if the tag is inside of [noparse] tags or not. ;)

Quantnet
12-16-2006, 10:52 PM
Boo hoo, how you get it to work?
I use full url, haven't tried ID yet..works great with youtube and googlevideo. Just download the xml, and wrap around it using the tag.

Here is an example of youtube
http://www.quantnet.org/forums/showthread.php?t=1506

Here is an example of googlevideo
http://www.quantnet.org/forums/showthread.php?t=1229

Viper007Bond
12-17-2006, 03:12 AM
Can't get this to work. I enter the full url or just the video number and then wrap the youtube code around it and it just shows:


h6KBiuVxOOY


It needs to be all on one line. ;)

h6KBiuVxOOY

Viper007Bond
12-17-2006, 03:15 AM
I like this, it's nice that users can put the id or full URL as it saves me having to explain how to get the url a hundred times to members. :P

Just noticed one bug and not sure if it was posted.
I was trying to make a quick explanation to users by writing the code URL inside of [noparse] tags but your code still removes the full url and changes it to just an id which is a bit confusing to members (they don't know where the id came from :P).

Not a big deal but you should make your hack detect if the tag is inside of [noparse] tags or not. ;)

I didn't know about that tag (I'm kinda new to vB). :surprised:

I do this to show users:

blah

It's kinda ugly, but it gets the job done.

Oh, and I'll work on making it not do anything inside [noparse] tags. My plugin transforms the URL -> ID so that the internal BBCode parser can parse it, but I didn't code it to look for [noparse]. :(

Neal-UK
12-17-2006, 08:15 AM
It needs to be all on one line. ;)

h6KBiuVxOOY

Ha har, working now. Brilliant thankyou.

kellogs
12-17-2006, 12:44 PM
Sorry, but I only offer support to those who have marked it as installed. ;)

Sorry mate, i have clicked installed :)

Please share some ideas

Thank you
-K

Murty
12-17-2006, 10:15 PM
Is there someway that this can be used for like User Profiles? so they just need to insert the link and a profile field and it would show up in their profile?

Protonus
12-18-2006, 12:42 AM
Then how would it tell them apart if only the ID was entered?

As for the other sites, Break.com's embed code has nothing in common with the URL you view the video at, so it's out. Streetfire is doable. fquick.com wouldn't be used by many people, so it's not worth my time. ebaumsworld is also nearly there (is it really that hard to link to the video rather than embed it?).

I'm awaiting streetfire support before I install this one.. half of the streaming video posted on my site is from streetfire... the rest is likely youtube.

AS for a common tag, thats what Anymedia does, unfortantly it's still beta. I'd rather lose the ability to have it just play based on ID, to gain the ability to type one tag and have to enter the full URL.

Viper007Bond
12-18-2006, 10:05 AM
Thank you for the great mod but it does not display the youtube inline video instead it is showing the link with youtube tag.

This is the link

http://www.fishingouting.com/forums/fishing-cafe/1601-tokara-marine-challenger-videos.html#post12258

Any idea?

TIA
-K

Sorry mate, i have clicked installed :)

Please share some ideas

Thank you
-K

You have color BBCode inside your tags. As a result, the plugin aborts the replacement as it'd otherwise break the HTML.

Remove it and it should work fine. ;)

[YOUTUBE]http://www.youtube.com/watch?v=90M39W9FIKA

Viper007Bond
12-18-2006, 10:12 AM
Is there someway that this can be used for like User Profiles? so they just need to insert the link and a profile field and it would show up in their profile?

No, that'd be totally separate. A custom profile field where they enter the ID and then a profile template edit would probably get the job done.

Something like this:

<if condition="$post['field9']"><object width="425" height="340" type="application/x-shockwave-flash" data="http://www.youtube.com/v/$post['field9']"><param name="movie" value="http://www.youtube.com/v/$post['field9']" /><param name="wmode" value="transparent" /></object></if>

Viper007Bond
12-18-2006, 10:15 AM
I'm awaiting streetfire support before I install this one.. half of the streaming video posted on my site is from streetfire... the rest is likely youtube.

AS for a common tag, thats what Anymedia does, unfortantly it's still beta. I'd rather lose the ability to have it just play based on ID, to gain the ability to type one tag and have to enter the full URL.

One tag for all full URLs is possible, but frankly it's a pain in the ass and I don't see the huge advantage of it. I mean it's not that hard for a user to use a different tag per and it ensures that some unsupported site isn't tried.

I will make sure to add Streetfire in the recode that I'm currently working on. :)

RaceJunkie
12-21-2006, 11:15 PM
Using vBAdvanced? It lacks the hook this plugin uses apparently, so if you wish to use this plugin with it, you need to use only the video ID and NOT the full URL for it to display correctly. Nothing I can do about it, it's vBAdvanced's fault.

this is the code I used in my post.


frRx1CD-gts

If you look at my homepage you can see that the Video does not show up.

Did I miss something?
Late Model Rollover Crash (VIDEO)
www.localracechat.com

Viper007Bond
12-22-2006, 09:53 AM
All my plugin does is transform the full URL into just the ID so the built in BBCode parser can use the custom BBCode this plugin adds to it can replace it with some working HTML.

So, since you're directly entering the ID and you're using vBAdvanced which doesn't even make use of my plugin, all you're left with is the custom BBCode that's been added to the list in the admin area by my plugin.

So, did you modify the BBCode at all there or something? I ask 'cause this is the HTML that should be displayed:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
<tr>
<td class="tcat" colspan="2" style="text-align:center">
<a href="http://www.youtube.com/watch?v=hl2UUunlI2Q" title="View this video at YouTube in a new window or tab" target="_blank">YouTube Video</a>
</td>
</tr>
</thead>
<tbody>
<tr>

<td class="panelsurround" align="center">
<object width="425" height="340" type="application/x-shockwave-flash" data="http://www.youtube.com/v/frRx1CD-gts">
<param name="movie" value="http://www.youtube.com/v/frRx1CD-gts" />
<param name="wmode" value="transparent" />
<em><strong>ERROR:</strong> If you can see this, then <a href="http://www.youtube.com/">YouTube</a> is down or you don't have Flash installed.</em>
</object>

</td>
</tr>
</tbody>
</table>

Instead, this is what you get (ignore the lack of line breaks, that doesn't matter):

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0"> <thead> <tr> <td class="tcat" colspan="2" style="text-align:center"> <a

Yeah, it just stops there...

RaceJunkie
12-22-2006, 03:37 PM
No I installed it per the instructions.. Uploded the plugin then the images. I made no changes to the custom bb codes at all.

SonicGT
12-22-2006, 07:37 PM
I added the mod, seems to work only if I do not use the full url, when I use the full url I am getting the box, but not video

Viper007Bond
12-23-2006, 01:00 AM
No I installed it per the instructions.. Uploded the plugin then the images. I made no changes to the custom bb codes at all.

Weird. Does it work on your actual forum?

Viper007Bond
12-23-2006, 01:01 AM
I added the mod, seems to work only if I do not use the full url, when I use the full url I am getting the box, but not video

Link me please.

RaceJunkie
12-23-2006, 01:03 AM
Weird. Does it work on your actual forum?

Yes. See it here (http://www.localracechat.com/forums/showthread.php?t=19004)

Bill Bickley
12-27-2006, 03:27 PM
Save the two attached images and upload them to /images/editor/.

Where are these images? Can't seem to locate them...

TIA.

Bill

RaceJunkie
12-27-2006, 04:51 PM
Where are these images? Can't seem to locate them...

TIA.

Bill

They are at the bottom of the OP.. In the screenshots box:confused:

TheWhite
12-28-2006, 04:05 AM
cool

Viper007Bond
12-29-2006, 11:54 PM
Yes. See it here (http://www.localracechat.com/forums/showthread.php?t=19004)
Very odd. I'm frankly clueless to why it's doing that.

I can only think that it's another plugin causing the problem.

Zowners
01-01-2007, 10:43 PM
great hack viper!
thanks =)

I have one question though
Is there any way to add the quick icon function in the quick replies? because i only have the icon when you go to "advance reply"

anyway thanks!

kdemonte
01-02-2007, 12:32 AM
Let me first give the disclaimer...I have NO idea what I am doing when it comes to adding hacks/plugins or any of it. Anyway, I tried to upload this and ever time I get this error "XML Error: Reserved XML Name at Line 1"
What I am I doing wrong?

RFViet
01-02-2007, 05:34 PM
My question is : how to make it collapsable ??

raagaswaram
01-04-2007, 05:16 AM
hey
im using rss feed to get youtube rss feed to post it in thread i put

{rss:description}

{rss:link}

and in the thread it displays as this since there is no watch in the link is there anyway i can just get the id or is there any way you can modify the code so it works like this

http://youtube.com/?v=LOGz0RK_w5Y

it is not showing as the player is just gives me the code

thanks

Breathex
01-06-2007, 10:38 AM
great hack viper!
thanks =)

I have one question though
Is there any way to add the quick icon function in the quick replies? because i only have the icon when you go to "advance reply"

anyway thanks!
Nice question, i'm looking for this too.

zincpony
01-06-2007, 12:13 PM
this is an awesome hack, but my site is all automotive and i wanna add www.streetfire.net video posting ability on my site. how can i do that??

wilburshere
01-07-2007, 07:26 AM
excellent that had to be the easiest install ever

thanks *INSTALLED*

Viper007Bond
01-09-2007, 05:20 AM
this is an awesome hack, but my site is all automotive and i wanna add www.streetfire.net video posting ability on my site. how can i do that??

I'll be adding it to the next version. :)

hey
im using rss feed to get youtube rss feed to post it in thread i put

{rss:description}

{rss:link}

and in the thread it displays as this since there is no watch in the link is there anyway i can just get the id or is there any way you can modify the code so it works like this

http://youtube.com/?v=LOGz0RK_w5Y

it is not showing as the player is just gives me the code

thanks

Will add to the next version. :)

Viper007Bond
01-09-2007, 05:22 AM
My question is : how to make it collapsable ??
That's tough because every collapsible box has to have a unique ID and the BBCode -> HTML replacement is done via the built in custom BBCode replacer.

Simply put, I don't think it's possible unless I make the plugin itself handle the BBCode -> HTML replacement which I'd rather not do.

BobbyBig
01-11-2007, 01:53 AM
not compatible for stupid Forum users

justachump
01-11-2007, 08:09 AM
Fine job !!! Installed !! works great !!

Devile
01-19-2007, 01:58 PM
There's a bug with CODE tags wrapping youtube or google tags. It shows the video inside the code instead of the text. You cant see this:

http://www.youtube.com/watch?v=hl2UUunlI2Q

instead you see the video inside the code box.

Viper007Bond
01-21-2007, 03:16 AM
First off, the BBCode to HTML is done by vB itself, not my plugin. I didn't want to reinvent the wheel. So if this was actually a bug, it'd be a vB one.

Second, it's not a bug, it's actually intended behavior:

some text underlined text

If you don't want something to parse, then use the [ noparse ] tag.

some text underlined text

What you posted only works here because this site doesn't have my plugin installed and therefore doesn't know about / parse the [youtube] tag.

captainron19
01-23-2007, 03:01 PM
outstanding add on. Worked very well. I have 2 quick questions...

1. Is there any plans to upgrade or add where a hosted video (Other than google or youtube) can be embedded in the thread. Say if I hosted a video on my web space, would there be an ability to embed it?

2. Is there a way to not have "Google Video" appear in the box of the video player?

Breathex
01-24-2007, 04:28 AM
how can I disable using in signature
Regards
i also need this as soon as possible please

thuffner
01-24-2007, 09:17 PM
Sweet! Thanks! Clicked Install :)

eta: Would anyone be able to tell me how I could add the YouTube and Google Video options to my quick reply? Thanks!
Awesome hack.

I agree...Any way to add the buttons to Quick Reply yet?

Thanks!

Pulsorock
01-30-2007, 12:54 PM
Hi!

Great mod...

I was wondering if there is a way to edit the template for this mod or a way to remove the table that holds the flash object. I want it just to display the embedded code and not the complete table that holds the video in the post.

Could that be possible?

Thanks...

shaynehammy
01-30-2007, 08:55 PM
Awesome hack.

I agree...Any way to add the buttons to Quick Reply yet?

Thanks!

Yeah. I've been looking for ages how to edit this.

captainron19
02-01-2007, 12:47 PM
Ran into a problem with playing google video today. I have apost located at: http://fire-forums.com/forums/showthread.php?p=614#post614 with a google video that has been working fine up until today. Now, instead of showing the video it is just showing the google tags and the video ID (as originally inputted when i started the thread).

I have another video on my board that is a you tube video and that one is playing fine.

Anyone have an idea what went wrong?

captainron19
02-01-2007, 12:57 PM
Well I got the google video working again. For some reason it required me to input the entire url of the video and it stopped workin when just putting in the video ID number

ReQueM
02-01-2007, 01:10 PM
nice hack
thank you *installed*

doberlec
02-01-2007, 01:20 PM
Does anyone have a clue on how to hack the files in order to allow only a certain usergroup to post the Youtube videos? I tried to call $vbulletin->userinfo['usergroupid'], but that doesn't do any good :-/

Get Shorty
02-03-2007, 03:07 AM
I'll be adding it to the next version. :)

Will add to the next version. :)

Looking forward to the next version... :)

Viper007Bond
02-04-2007, 09:19 PM
Hi!

Great mod...

I was wondering if there is a way to edit the template for this mod or a way to remove the table that holds the flash object. I want it just to display the embedded code and not the complete table that holds the video in the post.

Could that be possible?


Thanks...

Yeah, just go into the custom BBCode area of your admin area and edit the replacement HTML. ;)

Viper007Bond
02-04-2007, 09:19 PM
Yeah. I've been looking for ages how to edit this.

Dunno, sorry.

Viper007Bond
02-04-2007, 09:21 PM
Does anyone have a clue on how to hack the files in order to allow only a certain usergroup to post the Youtube videos? I tried to call $vbulletin->userinfo['usergroupid'], but that doesn't do any good :-/

This plugin uses the built in BBCode system to do it, so you'd need a plugin like the BBCode permissions or whatever to control it probably.

kylek
02-05-2007, 08:53 AM
Thanks for this, easy install, works great.

RTFA
02-07-2007, 11:39 PM
Hi...Trying to install this and obviously I am doing something wrong. It says on the first page it will create the custom BBcode tags...but I don't see then anywhere. I uploaded the two GIF images to my server using an FTP client and then installed this "product"

Yet nothing happens...no buttons, dont work...nothing. I know I did not do something I am supposed to, but don't know what? Help?

h3ads.com
02-10-2007, 08:52 PM
Very nice, installed. !!!

IS POSIBLE TO ADD METACAFE?

Thanks a lot!

Lizard King
02-12-2007, 07:40 AM
I am having a small problem with displaying the youtube bbcode in vblogetin. The author thinks the following line can cause the problem. Is there any way to modify it to work with vBlogetin. Here is a link (http://www.ayyas.com/blogs/lizard-king/entry-100/) with no video . Thanks in advance

if ( $_REQUEST['editorid'] || $_REQUEST['towysiwyg'] || ($_POST['preview'] && $_REQUEST['do'] != 'updatepost') || ($vbulletin->userinfo['showvbcode'] == 2 && $_REQUEST['do'] == 'editpost') ) {
// Do nothing (it was easier this way than to reverse the if statement)

RoutineX
02-20-2007, 08:59 PM
Any ideas why this won't work with vBadvanced? I just get a box saying
"ERROR: If you can see this, then YouTube is down or you don't have Flash installed."

karrerax
02-25-2007, 10:32 AM
Clicks INSTALL :)

angkor408
02-28-2007, 12:17 AM
is this work for 3.5?

tuanluu
03-03-2007, 02:53 PM
the youtube video not work? for example if the youtube link is http://www.youtube.com/watch?v=8O6kci9orm8 ====XXXX

http://www.youtube.com/v/8O6kci9orm8 <====== work fine

hmmmm

Playa82
03-06-2007, 03:02 PM
works great with 3.6.5

Thanks

confus
03-07-2007, 10:50 AM
Great hack, means user doesn't have to learn just the right thing to put in there

Didn't seen to like videos with the v, e.g http://www.youtube.com/v/8O6kci9orm8
(some use that format as was the old system)

ended up adding the lines:

'#\[YOUTUBE\]http://(www.youtube|youtube)\.com/v([\w-]+)(.*?)\[/YOUTUBE\]#i',

'[VALIDYOUTUBE' . $ytgv_key . ']$2[/VALIDYOUTUBE' . $ytgv_key . ']',


in their respective places to recognise that url format
not important but I also didn't want all that table data and such, so replaced the code with basic embed code as shown is on youtube pages

for anyone seeing the attachment, it is NOT the correct version/file, download that from the top post of this page
the attached file has the edits I mentioned above(accepts /v/ and outputs simple embed code), works for me

Remington
03-08-2007, 11:53 PM
Quick question. You said this in instructions:

Download and install the attached product.
Install where?? Am I missing something here? Upload to what directory?

Thanks

Remington
03-09-2007, 12:06 PM
OK I got it installed but isn't working. I am using version 3.6.0

Will this work on that version??

Anybody else using that same version?

blind-eddie
03-11-2007, 02:54 AM
How can I get this to work in the quick reply box?

GrendelKhan{TSU
03-22-2007, 06:11 AM
<< installed
working great in 3.6.0 and 3.6.5
thanks and great job!! :D


How can I get this to work in the quick reply box?


yah me too!! would love and appreciate if someone can say how to get this working in the QR box. :)

Viper007Bond
03-24-2007, 12:12 AM
Sorry, don't know. :(

GrendelKhan{TSU
03-24-2007, 01:01 AM
Sorry, don't know. :(

no worries... as the saying goes..
beggers can't be choosers

great mod anyway. thanks!! :D


oh... not to push my luck... er... how about any chance of adding other flashsites? like ... veoh, dailymotion, or metacafe? (if you even feel like it. :))

TrekkerOfFiles
03-24-2007, 05:08 PM
I installed this but it only has the Google icon, no YouTube icon. :(

Andyucs
03-27-2007, 04:58 PM
wicked m8ty works a treat 3.6.5

KipLarson
03-30-2007, 02:42 AM
So there is no way to get it to work on vBadvanced? i.e. if I make a post that goes into the news module on the front page (and I put a youtube video in it) the youtube video will not show up on my main page?

icemanic
03-30-2007, 11:02 AM
I installed this but it only has the Google icon, no YouTube icon. :(

me too!!!

anyone know Y ??????

CADguru
03-30-2007, 08:53 PM
me too!!!

anyone know Y ??????

Just right click and save the icon from the first post and then upload to the /images/editor folder.

I used the modified file from confus on previous post #232 and it works perfectly (3.6.4) :up:

LateralG
04-01-2007, 05:20 AM
installed! and..op.. been a fan for "finalgear" for a while!

v12kid
04-01-2007, 05:23 AM
installed and working, thanks!

Annie^.^
04-02-2007, 03:07 PM
<< installed
working great in 3.6.0 and 3.6.5
thanks and great job!! :D


yah me too!! would love and appreciate if someone can say how to get this working in the QR box. :)


Yes I was looking for the same thing but I was dissapointed that this functions is not available. I'm not a programmer but i did some digging in the codes and I was able to make it appear in the Quick Reply ......


Template to edit
Show Thread Templates ---> showthread_quickreply

Find:
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>

After add:
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_youtube"><img src="$stylevar[imgdir_editor]/youtube.gif" width="21 height="20" alt="$vbphrase[youtube]" /></div></td>

<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_gvideo"><img src="$stylevar[imgdir_editor]/google.gif" width="20" height="20" alt="$vbphrase[google]" /></div></td>


Make sure your images are in the your custom style Editor folder too :)
I hope this helps.

mlk_f1
04-09-2007, 11:42 PM
Anyone find out how to disable this feature in the signature posting editor yet?

rknight111
04-10-2007, 02:51 AM
I installed on my board today, I run 3.6.5 and It works with no problems. I have one question when people go on Youtube or Google even if there is 3 or 4 people at the same time does my board slow down..

Great Mod..

RON

Viper007Bond
04-11-2007, 11:58 PM
I have one question when people go on Youtube or Google even if there is 3 or 4 people at the same time does my board slow down..

No, nothing is being loaded off your server but a few lines of HTML. The video is being streamed off their servers.

qcho
04-12-2007, 05:09 PM
Works Great!!! Thanks !! :D