The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Embed XHTML valid YouTube and Google Video into your posts Details »» | |||||||||||||||||||||||||||
Embed XHTML valid YouTube and Google Video into your posts
Developer Last Online: Dec 2017
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] 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
|
Comments |
#92
|
||||
|
||||
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. Restore of vb3_bb Code Table brings no success. |
#93
|
|||
|
|||
I need a myvideo.de integration. I will wait.
|
#94
|
||||
|
||||
Quote:
Quote:
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? |
#95
|
||||
|
||||
Sorry, won't be happening. Not enough demand and I'm not really looking to make this into an "everything under the sun" plugin.
|
#96
|
||||
|
||||
Quote:
|
#97
|
||||
|
||||
*100th Install*
|
#98
|
||||
|
||||
Quote:
Code:
<!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> |
#99
|
||||
|
||||
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! |
#100
|
||||
|
||||
Sorry - not your Fault. It was vBAnonymizer.
|
#101
|
||||
|
||||
Wait for AnyMedia 3.6.x ....
Quote:
SEO YouTube and Google Videos For know i have asked here : Change used BB-Code in Posts if BB-Code was changed |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|