Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Filmtrailer.com BBCode Details »»
Filmtrailer.com BBCode
Version: 1.00, by Gemma Gemma is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.x.x Rating:
Released: 12-17-2011 Last Update: Never Installs: 9
Re-useable Code  
No support by the author.

Add a new bbcode (AdminCP > Custom BB Codes > Add New BB Code)

Title: Filmtrailer BB Code
BB Code Tag Name: filmtrailer
Replacement:
Code:
<object width="475" height="267 classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  id="pnplayer"><param name="movie" value="http://www.player.previewnetworks.com/v4.0/PNPlayer.swf?default_quality=xlarge&autostart=false&loading_screen=http://partner-images.previewnetworks.com/filmtrailer_logo_player.png&"/><param name="FlashVars" value="file=http://uk.player-feed.previewnetworks.com/v3.1/cinema/{param}/441100000-1/" /><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always"/><embed type="application/x-shockwave-flash" src="http://www.player.previewnetworks.com/v4.0/PNPlayer.swf?default_quality=xlarge&autostart=false&loading_screen=http://partner-images.previewnetworks.com/filmtrailer_logo_player.png&" FlashVars="file=http://uk.player-feed.previewnetworks.com/v3.1/cinema/{param}/441100000-1/" allowfullscreen="true" allowscriptaccess="always" width="475" height="267"/></object>
Description: Embed video trailers from filmtrailer.com into posts
Example: [filmtrailer]8240[/filmtrailer]
User Option: No
Button Image (Optional): path-to-your-styles/editor/movie.png

Example usage: http://uk.filmtrailer.com/cinema/8240/Moneyball+film+trailer+Brad+Pitt+baseball+true+sto ry+sports+drama+comedy.html?clip_type=7

Example: [filmtrailer]8240[/filmtrailer]

Screenshots

File Type: jpg ft1.jpg (249.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-18-2011, 08:40 PM
TEMPESTADE TEMPESTADE is offline
 
Join Date: Dec 2010
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tanks for the bb cobe
Reply With Quote
  #3  
Old 12-18-2011, 08:47 PM
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Location: Scotland
Posts: 1,229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem, some folks might find a use for it
Reply With Quote
  #4  
Old 01-04-2012, 03:37 PM
PretorianoAlfa's Avatar
PretorianoAlfa PretorianoAlfa is offline
 
Join Date: Apr 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is very useful. Thank you very much Gemma for your work.

A question. Did you get it to work the inclusion IMDB 4.1.x version?

A greeting.
Reply With Quote
  #5  
Old 01-05-2012, 11:08 PM
Megaboost's Avatar
Megaboost Megaboost is offline
 
Join Date: Oct 2011
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the code.... Works Great on 4.1.9

I made an Icon for this BBcode to share with everyone, feel free to use it as you wish.

Pixels: 16x16
Reply With Quote
Благодарность от:
Gemma
  #6  
Old 01-11-2012, 10:34 PM
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Location: Scotland
Posts: 1,229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Megaboost View Post
Thanks for the code.... Works Great on 4.1.9

I made an Icon for this BBcode to share with everyone, feel free to use it as you wish.

Pixels: 16x16
Thanks
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:11 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.09274 seconds
  • Memory Usage 2,270KB
  • Queries Executed 20 (?)
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
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete