vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Embed your DailyMotion Video into your posts (https://vborg.vbsupport.ru/showthread.php?t=141394)

Barakat 03-06-2007 10:00 PM

Embed your DailyMotion Video into your posts
 
from your Admincp -> add new bbcode do those steps :-


title :daily motion
tag :dm
replacement :
Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" style="width:auto;margin:10px 0;">
<thead>
        <tr>
                <td class="tcat" colspan="2" style="text-align:center">
                        <a href="http://www.dailymotion.com//swf/{param}" title="View this video at DailyMotion in a new window or tab" target="_blank">Daily Motion</a>
                </td>
        </tr>
</thead>
<tbody>
        <tr>
                <td class="panelsurround" align="center">
                    <object width="425" height="340" type="application/x-shockwave-flash" data="http://www.dailymotion.com/swf/{param}">
                        <param name="movie" value="http://www.dailymotion.com/swf/{param}" />
                        <param name="wmode" value="transparent" />
            <em><strong>ERROR:</strong> If you can see this, then <a href="http://www.dailymotion.com/">Dailymotion</a> is down or you don't have Flash installed.</em>
                        </object>
                </td>
        </tr>
</tbody>
</table>

example :[dm]7mDGLG33yLS2r9LkS[/dm]
discription : Daily Motion Videos
image : images/editor/md.gif

upload the md.gif to images/editor


thats it Enjoy !

:)

there was a small bug while browseing the movie in a new winodw for users
now its fixed and thats all.

zooki 03-07-2007 01:07 PM

Thank you Barakat, very interesting.. :up:

alra7ba 03-07-2007 02:04 PM

مشكوور حبيبي بركات ما تقصر يا اميرر

thxxx big Boss

TheBlackPoet 03-07-2007 02:32 PM

Salaamu Alaikim Wa Rahmatullah Ikee.

I installed this one... and when i went to test it... the new thread caused a database error...

i know it is something with the replacement code.... because after i deleted it, everything on my end was good again...

i am using IE7....

Salaamu Alaikim!

Barakat 03-07-2007 02:55 PM

Waalaykom al salam ,
IF U JUST WRITE ME DOWN THE ERROR .

Invalid ID 03-07-2007 03:24 PM

Walecom Asalam

I would love to see some Demo

bela-meaad 03-07-2007 03:58 PM

Quote:

Originally Posted by Invalid ID (Post 1198077)
Walecom Asalam

I would love to see some Demo

Me too :)

Barakat 03-07-2007 04:33 PM

I just post one random video here just for testing
http://www.jerusalemgts.com

TheBlackPoet 03-07-2007 04:36 PM

i uninstalled it... the error page was the general dbase error code... and the funny thing about it which almost sent me into a panic... , the error was relating to email...

i originally thought i had made changes to my email config... but the last thing i installed was your hack... so i deleted it, and i was back to normal....

EMAIL????

Barakat 03-08-2007 10:34 AM

just a small modification to make the video played in a new window while clicking on the movie top title , i fix it today ,

Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" style="width:auto;margin:10px 0;">
<thead>
        <tr>
                <td class="tcat" colspan="2" style="text-align:center">
                        <a href="http://www.dailymotion.com//swf/{param}" title="View this video at DailyMotion in a new window or tab" target="_blank">Daily Motion</a>
                </td>
        </tr>
</thead>
<tbody>
        <tr>
                <td class="panelsurround" align="center">
                    <object width="425" height="340" type="application/x-shockwave-flash" data="http://www.dailymotion.com/swf/{param}">
                        <param name="movie" value="http://www.dailymotion.com/swf/{param}" />
                        <param name="wmode" value="transparent" />
            <em><strong>ERROR:</strong> If you can see this, then <a href="http://www.dailymotion.com/">Dailymotion</a> is down or you don't have Flash installed.</em>
                        </object>
                </td>
        </tr>
</tbody>
</table>

just replace the hole code in the replacement box ,


All times are GMT. The time now is 10:01 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01167 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete