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.
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:
Code:
[youtube]http://www.youtube.com/watch?v=hl2UUunlI2Q[/youtube]
[youtube]hl2UUunlI2Q[/youtube]
[youtube="http://www.youtube.com/watch?v=hl2UUunlI2Q"]Aston Martin Crash[/youtube]
[youtube="hl2UUunlI2Q"]Aston Martin Crash[/youtube]
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.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Complete recode coming soon. It'll have some light error checking (so people can't do like [youtube]http://www.yahoo.com/[/youtube] 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).
Quote:
Originally Posted by delmarva
I nominated it for mod of the month considering the recent google purchase. Great work, Viper.
Complete recode coming soon. It'll have some light error checking (so people can't do like [youtube]http://www.yahoo.com/[/youtube] 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!
Can you fix the displaying of YouTube Videos on vBAdvanced CMPS then ?
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 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".
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).
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.
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.