vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - passiveVid - (YouTube, Myspace, Google...) Not BBCODE :D (https://vborg.vbsupport.ru/showthread.php?t=150761)

stickskills 11-18-2008 02:37 AM

I'd love to see EaSportsWorld.com support for this.

odeezie 11-18-2008 03:48 PM

I cannot get several of these to work. Do we just post the URL and that is it? The big ones like Google and Youtube work everytime, but I cant get break.com, streetfire, and metacafe to work. These sites are all checked in the adminCP. I just wondered if there was something I may be doing wrong....

Link to test thread:

http://www.supermotogallery.com/foru...thread.php?t=6

NavS 11-24-2008 11:36 PM

people can break the forums by placing the urls that get parsed into url bbcode that links to somewhere else.

HarleyK 11-28-2008 01:55 PM

Superb mod. :)

Marked as installed.

Roi Danton 11-29-2008 01:17 PM

To support vimeo.com add the following code to PlugIn passiveVid - Global Array
PHP Code:

    // Vimeo (own edit)
    
$passiveVid[] = array (
        
'string' => '#'.$urlrx[0].'(?:www\.)?vimeo.com/(\d+)(?:[^"]+)?'.$urlrx[1].'#',
        
'replacement' => '$PASSIVEURL = $matches[1]; $PASSIVETITLE = $matches[3]; $PASSIVEEMBED = \'<object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=\'.$matches[2].\'&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=\'.$matches[2].\'&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object>\'; return "'.$customstring.'";',
        
'id' => 7563452433
        
); 


goxy63 12-03-2008 01:39 AM

I instaled this mod few weeks ago its just great :)
But can I somehow use this mod to let my users display youtube video in their profile ?

No way ?

rajrana007 12-04-2008 11:56 AM

can we have it for xvideos.com

stickskills 12-16-2008 05:35 PM

Quote:

Originally Posted by Roi Danton (Post 1675161)
To support vimeo.com add the following code to PlugIn passiveVid - Global Array
PHP Code:

    // Vimeo (own edit)
    
$passiveVid[] = array (
        
'string' => '#'.$urlrx[0].'(?:www\.)?vimeo.com/(\d+)(?:[^"]+)?'.$urlrx[1].'#',
        
'replacement' => '$PASSIVEURL = $matches[1]; $PASSIVETITLE = $matches[3]; $PASSIVEEMBED = \'<object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=\'.$matches[2].\'&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=\'.$matches[2].\'&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object>\'; return "'.$customstring.'";',
        
'id' => 7563452433
        
); 



Sweeeeet! Any idea on how to get the EA Sports World videos?

TheCatcher 12-30-2008 10:11 PM

this mod make be a error in the rss (external.php)

The following plug-in is to blame
passiveVid - Show Thread Replacement, if I do this PluginIn off, everything is normal!


vBulletin 3.7.4 Patch Level 1

zeus_r6 12-31-2008 05:42 PM

any chance www.imcrazytoo.com could also be supported?


All times are GMT. The time now is 02:43 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.02318 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete