Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Embed XHTML valid YouTube and Google Video into your posts Details »»
Embed XHTML valid YouTube and Google Video into your posts
Version: 2.2.0, by Viper007Bond Viper007Bond is offline
Developer Last Online: Dec 2017 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.6.8 Rating:
Released: 11-04-2006 Last Update: 10-23-2007 Installs: 1040
Uses Plugins
Re-useable Code Additional Files  
No support by the author.

==============================
DON'T FORGET TO CLICK INSTALL!
==============================


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

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]
Code:
[gvideo]http://video.google.com/videoplay?docid=3688185030664621355[/gvideo]
[gvideo]3688185030664621355[/gvideo]
[gvideo="http://video.google.com/videoplay?docid=3688185030664621355"]1980's Izuzu Gemini Advertisement[/gvideo]
[gvideo="3688185030664621355"]1980's Izuzu Gemini Advertisement[/gvideo]
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.

Comments
  #62  
Old 11-15-2006, 05:22 PM
Adult SEO's Avatar
Adult SEO Adult SEO is offline
 
Join Date: May 2006
Location: The Netherlands
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redlabour View Post
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
Reply With Quote
  #63  
Old 11-16-2006, 12:31 AM
Viper007Bond's Avatar
Viper007Bond Viper007Bond is offline
 
Join Date: Oct 2006
Location: Portland, OR, USA
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 View Post
I nominated it for mod of the month considering the recent google purchase. Great work, Viper.
Thanks!
Reply With Quote
  #64  
Old 11-16-2006, 07:49 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Viper007Bond View Post
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 ?
Reply With Quote
  #65  
Old 11-16-2006, 07:57 AM
Viper007Bond's Avatar
Viper007Bond Viper007Bond is offline
 
Join Date: Oct 2006
Location: Portland, OR, USA
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #66  
Old 11-16-2006, 08:09 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Viper007Bond View Post
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.
Reply With Quote
  #67  
Old 11-16-2006, 11:16 AM
Viper007Bond's Avatar
Viper007Bond Viper007Bond is offline
 
Join Date: Oct 2006
Location: Portland, OR, USA
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redlabour View Post
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).
Reply With Quote
  #68  
Old 11-16-2006, 12:01 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Viper007Bond View Post
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.
Reply With Quote
  #69  
Old 11-16-2006, 12:39 PM
delmarva's Avatar
delmarva delmarva is offline
 
Join Date: Jun 2006
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Adult SEO View Post
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.
Reply With Quote
  #70  
Old 11-16-2006, 12:47 PM
Adult SEO's Avatar
Adult SEO Adult SEO is offline
 
Join Date: May 2006
Location: The Netherlands
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by delmarva View Post
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
Reply With Quote
  #71  
Old 11-16-2006, 01:37 PM
delmarva's Avatar
delmarva delmarva is offline
 
Join Date: Jun 2006
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you going to start your own thread on this? Looking forward to testing it out.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:59 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04759 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete