vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   NHL BBCode (https://vborg.vbsupport.ru/showthread.php?t=319258)

mapleleaffans 06-28-2015 03:54 AM

NHL BBCode
 
Hello, I'm running a new vbulletin forum (4.2.3). It's a hockey related forum. have been searching everywhere for a bbcode that will allow NHL videos embed into a post, but have come up dry. I was wondering if anyone could help me with this; it would be very much appreciated :up:. Here is a recent upload for example:

URL
Code:

http://video.nhl.com/videocenter/console?id=830904&catid=35
EMBED
Code:

<iframe src="http://video.nhl.com/videocenter/embed?playlist=830904" frameborder="0" width="640" height="395"></iframe>

MarkFL 06-28-2015 04:13 AM

Go to the BB Code Manager, and give the new BBCode a title such as NHL Video Embedder, and a "BB Code Tag Name" such as "nhlvideo" and then for the replacement use:

HTML Code:

<iframe src="http://video.nhl.com/videocenter/embed?playlist={param}" frameborder="0" width="640" height="395"></iframe>
Fill in the "Example" and "Description" fields.

Use the default values for the remaining settings, except set "Disable Smilies Within This BB Code" to "Yes".

Then click "Save" and instruct your users to use the format:

[nhlvideo]VideoID[/nhlvideo]

to embed the videos in their posts.

mapleleaffans 06-28-2015 04:51 AM

Thank you for your assistance, Mark, much appreciated! This works like a charm! I tried it myself, but I now see some of the parts I went wrong with. Thanks again! :):up:

MarkFL 06-28-2015 04:53 AM

Glad to be of assistance, Pauly! :D

mapleleaffans 06-28-2015 05:13 AM

Thanks! I even added an NHL button, nice feature :)

MarkFL 06-28-2015 05:17 AM

Quote:

Originally Posted by mapleleaffans (Post 2548789)
Thanks! I even added an NHL button, nice feature :)

Great! That does make it easier for your users.;)


All times are GMT. The time now is 04:52 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.02071 seconds
  • Memory Usage 1,719KB
  • 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_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete