Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Metacafe embedded video [BB Code] Details »»
Metacafe embedded video [BB Code]
Version: 1.00, by Rickie3 Rickie3 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Version: 3.5.5 Rating:
Released: 09-02-2006 Last Update: Never Installs: 10
 
No support by the author.

This was a request,so ive posted so everyone can use
Please note this also works on 3.6
This code allow your members to embed Metacafe Videos ONLY into their posts.

To Install:
1. Go To Admin CP
2. Scroll down the left nav and select Custom BB Codes
3. Add New BB Code
4. Fill in the following:

Title: Metacafe video
Tag: mv
Replacement:
Code:
<embed src="http://www.metacafe.com/fplayer/{param}" width="400" height="300" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
Example: [mv]169710/famous_party_trick.swf[/mv]
Description: Embeds Metacafe Video's
Use {Option}: No
Then click save.

HOW TO USE
go to this site Metacafe Video and find a video you want to post,now below your selected movie you will see this "Embeddable Player"
Now in that string of code which will look like this
Code:
<embed src="http://www.metacafe.com/fplayer/224484/spongebong_hemppants.swf" width="400" height="300" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed><br><font size = 1><a href="http://www.metacafe.com/watch/224484/spongebong_hemppants/">Spongebong Hemppants - video powered by Metacafe</a></font>
you need to cut and paste this part of the code between the BB tags "224484/spongebong_hemppants.swf"
eg: [mv]224484/spongebong_hemppants.swf[/mv]
or simply take from the Metacafe url when you find your video this part of the url 224484/spongebong_hemppants and add the .swf to the end so it would look like this between the tags
[mv]224484/spongebong_hemppants.swf[/mv]
DEMO
If you use please click install.
Hope you enjoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
sivaganeshk

Comments
  #2  
Old 10-15-2006, 02:15 PM
G_Man G_Man is offline
 
Join Date: Feb 2006
Location: Washington State
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great!! I tried this and messed it up!

However, I took yours and just added .swf right after {param} in the replacement code. Now all you need is the number/name from the MetaCafe code and it works great.

Cheers!! *clicks install*
Reply With Quote
  #3  
Old 10-16-2006, 07:50 AM
MAD555 MAD555 is offline
 
Join Date: Mar 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<i>Great.

¿Does it work on 3.5.4?

Thanks in advance.</i>
Reply With Quote
  #4  
Old 10-16-2006, 10:30 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MAD555
Great.

?Does it work on 3.5.4?

Thanks in advance.
yup sure does
Reply With Quote
  #5  
Old 10-16-2006, 12:22 PM
MAD555 MAD555 is offline
 
Join Date: Mar 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<i>Thanks.

I'll try it.</i>
Reply With Quote
  #6  
Old 10-16-2006, 02:41 PM
Chicago_VLNU_4s Chicago_VLNU_4s is offline
 
Join Date: Mar 2006
Location: Chicago
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

isn't this the same as the Flash BB code?
Reply With Quote
  #7  
Old 10-31-2006, 05:21 PM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it works in my ACP test. But does not work in my forum. why is it so? can someone help?
Reply With Quote
  #8  
Old 10-31-2006, 08:45 PM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

check and make sure you are entering the correct code in between the tags
Reply With Quote
  #9  
Old 11-01-2006, 03:02 PM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rickie3
check and make sure you are entering the correct code in between the tags
thanks for the infor. I should hv cut and paste instead of typing the code manually. Makes it prone to mistakes.
Reply With Quote
  #10  
Old 11-01-2006, 03:03 PM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone got a icon for this?
Reply With Quote
Reply


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 02:33 PM.


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.04437 seconds
  • Memory Usage 2,292KB
  • Queries Executed 23 (?)
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
  • (2)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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