The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi,
I am running VB 4.07 and have tried every code i could find for LiveLeak. Nothing has worked so far. Has anyone had any success creating custom BBCode for LiveLeak on vbulletin 4X? Thanks in advance. |
|
#2
|
||||
|
||||
|
Try this:
BB Code Replacement Code: Code:
<object width="450" height="370"><param name="movie" value="http://www.liveleak.com/e/{param}"></param><param name="wmode" value="transparent"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.liveleak.com/e/{param}" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" width="450" height="370"></embed></object>
[liveleak]c4e_1287350646[/liveleak] Use the code after the "=" in the URL between the tags: http://www.liveleak.com/view?i=c4e_1287350646 |
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
||||
|
||||
|
not a problem. :up:
|
|
#5
|
|||
|
|||
|
I really don't like to add mods when unnecessary. I would rather work within vbulletin when possible. Adding a mod for hundreds of video sites that i don't care about just doesn't make sense.
|
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
||||
|
||||
|
I don't see anyway to add custom sites to the VB4 [video] tag... If I'm missing something let me know.
|
|
#9
|
|||
|
|||
|
I am wondering how this could be added to the WYSIWYG panel
And in to this .xml /includes/xml/bbcode_video_vbulletin.xml Something like this Code:
<provider tagoption="google">
<title>Google</title>
<url>http://video.google.com</url>
<regex_url><![CDATA[http:\/\/video\.google\.com\/videoplay\?docid=([0-9\-]+)]]></regex_url>
<regex_scrape></regex_scrape>
<embed><![CDATA[<object class="restrain" type="application/x-shockwave-flash" width="400" height="326" data="http://video.google.com/googleplayer.swf?docid={vb:raw code}">
<param name="movie" value="http://video.google.com/googleplayer.swf?docid={vb:raw code}" />
<param name="wmode" value="transparent" />
<!--[if IE 6]>
<embed width="400" height="326" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docid={vb:raw code}" />
<![endif]--></object>]]></embed>
</provider>
|
|
#10
|
|||
|
|||
|
Many thanks for that, I have just used it on my forum.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|