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)

callumbush 08-07-2008 07:19 AM

so erm.......when's the new version released, its been a long time since the date given? :S

Also I requested youporn to be added, but it's not in the list. Please can this be added.

Cheers

Callum

JamesUK 08-07-2008 12:47 PM

Awesome mod :up:
We've had a youtube button installed for some time now, but only about 10% of people used it. This is perfect :)

Or nearly perfect ;)
We're seeing a lot of Vimeo videos cropping up these days cos the quality's so nice :)
Is there a plan to add this as an option soon and if not, is there I way I can add it myself?

thanks,
James

stephlb 08-07-2008 07:35 PM

Quote:

Originally Posted by 420 (Post 1593157)
and does this work on 3.71 and/or 3.72?

thanks again!

I have this on 3.7.2 and it seems to work fine.

Roi Danton 08-08-2008 02:38 PM

Quote:

Originally Posted by Coders Shack (Post 1581577)
here's a semi-full tease of all the supported sites in Passive Video 2.0

Nice one, but it seems it doesn't support Machinima?

Roi Danton 08-08-2008 04:02 PM

EDIT: Unfortunately machinima uses a hash for their embed code, so this doesn't work:
PHP Code:

    // Machinima - added by Roi Danton 2008-08
    
$passiveVid[] = array (
        
'string' => '#'.$urlrx[0].'(?:www\.)?machinima.com/film/view&id=(\d+)'.$urlrx[1].'#',
        
'replacement' => '$PASSIVEURL = $matches[1]; $PASSIVETITLE = $matches[3]; $PASSIVEEMBED = \'<embed src="http://www.machinima.com:80/_flash_media_player/mediaplayer.swf" type="application/x-shockwave-flash" width="400" height="300" flashvars="&file=http://www.machinima.com:80/f/\'.$matches[2].\'&height=300&width=400"></embed>\'; return "'.$customstring.'";',
        
'id' => 739478963
        
); 

Furthermore the hash seems to have a salt, tested with this vid:
PHP Code:

$algo = array();
$algo array_values(hash_algos());
$id 23783;
$output "Ergebnisse: \n";

for (
$i 0$i count($algo); $i++ ) {
    
$hash_val hash  $algo[$i]  , $id );
    
$output .= $algo[$i] .": " $hash_val;
    if( 
$hash_val == "b2b169e3a154ba334739691c5e7a81c3" ) { $output .= " -> TRUE!"; }
    
$output .= "\n";
}
return 
$output


AmokPaule 08-08-2008 05:24 PM

I have tested all the other addons for sites like youtube this is the BEST!

zelnik 08-09-2008 03:11 PM

Great Mod!!! Look forward to seeing a new version!

ForumVEFA 08-10-2008 04:45 PM

Yahoo and Myspace dont work for me. :(

mmerced 08-11-2008 02:57 AM

Installed and it works right out of the box.
Thank you for this hack!
*INSTALLED*

Support 08-12-2008 11:48 AM

up up up


All times are GMT. The time now is 01:28 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.02732 seconds
  • Memory Usage 1,748KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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