vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - Ustream live channel (bbcode) (https://vborg.vbsupport.ru/showthread.php?t=292678)

franzes80 12-04-2012 11:00 PM

Ustream live channel (bbcode)
 
1 Attachment(s)
This bbcode is for ustream live channel

Step 1
Login To AdminCP
Go To Custom BB Codes > Add New BB Code

Step 2
Now Add The Information Below

Title=Ustream BB Code
BB Code Tag Name=us
Replacement
Code:

<!-- BBCODE -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
        <tr>
                <td class="tcat" colspan="2">>
                </td>
        </tr>
</thead>
<tr>
<td>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="320"><param name="flashvars" value="autoplay=false&amp;brand=embed&amp;cid={param}"/><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always"/><param name="movie" value="http://www.ustream.tv/flash/live/1/{param}"/><embed flashvars="autoplay=false&amp;brand=embed&amp;cid={param}" width="400" height="320" allowfullscreen="true" allowscriptaccess="always" name="utv_n_540481" src="http://www.ustream.tv/flash/live/1/{param}" type="application/x-shockwave-flash" /></object>
</td>
</tr>
</table>
<!-- BBCODE -->

Example
Code:

[us]1223996[/us]
? Description = Ustream videos
? Use {option} = no
? Button Image (Optional) = images/us.gif

? http://www.ustream.tv/channel/1223996
? For embed video only add code after http://www.ustream.tv/channel/

? How to see on post [us]1223996[/us]

* To find the number of the channel, you must follow these steps.

Open the page of the desired channel

Menu --- Share---- Link Url = http://www.ustream.tv/channel/1223996 <-- # you need

Tested on vb 4.20 pl3 by consolehackdev.com team
DEMO

ringnews24 12-15-2012 11:03 AM

Im getting this error message

The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

<!-- BBCODE --> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0"> <thead> <tr> <td class="tcat" colspan="2">> </td> </tr> </thead> <tr> <td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="320"><param name="flashvars" value="autoplay=false&amp;brand=embed&amp;cid={param}"/><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always"/><param name="movie" value="http://www.ustream.tv/flash/live/1/{param}"/><embed flashvars="autoplay=false&amp;brand=embed&amp;cid={param}" width="400" height="320" allowfullscreen="true" allowscriptaccess="always" name="utv_n_540481" src="http://www.ustream.tv/flash/live/1/{param}" type="application/x-shockwave-flash" /></object> </td> </tr> </table> <!-- BBCODE -->

Mr_Running 12-15-2012 12:07 PM

It's okay continue. :)

You may want to wrap your code in the post above by using this # in the editor :)

Code:

Also there is an extra >

<!-- BBCODE -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
        <tr>
                <td class="tcat" colspan="2">>
                </td>
        </tr>
</thead>


ringnews24 12-15-2012 05:08 PM

Thanks Mr Running

Toorak Times 01-04-2013 11:05 AM

Yeah Thanks mate. Got it working on 4.2pl3. is the frame supposed to be there with a little arrow?

hulkster 02-21-2013 06:59 AM

I have problem

Quote:

The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.
<!-- BBCODE --> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0"> <thead> <tr> <td class="tcat" colspan="2">> </td> </tr> </thead> <tr> <td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="320"><param name="flashvars" value="autoplay=false&amp;brand=embed&amp;cid={param}"/><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always"/><param name="movie" value="http://www.ustream.tv/flash/live/1/{param}"/><embed flashvars="autoplay=false&amp;brand=embed&amp;cid= {param}" width="400" height="320" allowfullscreen="true" allowscriptaccess="always" name="utv_n_540481" src="http://www.ustream.tv/flash/live/1/{param}" type="application/x-shockwave-flash" /></object> </td> </tr> </table> <!-- BBCODE -->

Mr_Running 02-21-2013 11:58 AM

Answered in Post #3 :)

This is important.
Code:

You may want to wrap your code in the post above by using this # in the editor

chloe101 01-05-2016 10:07 PM

Thank you! Works great on 4.2.3


All times are GMT. The time now is 03:32 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.01048 seconds
  • Memory Usage 1,736KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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