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)

terracore 02-23-2008 05:01 PM

I'm far from a coder, but this worked for me. This will fix the vids.myspace as well as the myspacetv problems not embedding. I didn't write this, I just cut and pasted from elsewhere in the thread so I deserve no credit (but it works):

#1 Uninstall the product.

#2 Modify product-passivevid.xml like this: (just the myspace section)
Code:

// MySpace
        $passiveVid[] = array (
                'string' =>

'#'.$urlrx[0].'vids.myspace.com/index.cfm\?fuseaction=vids\.individual&VideoID=(\d{8,15})(?:[

^"]+)?'.$urlrx[1].'#i',
                'replacement' => '$PASSIVEURL = $matches[1]; $PASSIVETITLE = $matches[3];

$PASSIVEEMBED = \'<embed src="http://lads.myspace.com/videos/vplayer.swf" wmode="opaque"

flashvars="m=\'.$matches[2].\'&v=2&type=video" type="application/x-shockwave-flash" width="430"

height="346"></embed>\'; return "'.$customstring.'";',
                'id' => 4
                );
$passiveVid[] = array (
                'string' =>

'#'.$urlrx[0].'myspacetv.com/index.cfm\?fuseaction=vids\.individual&amp;VideoID=(\d{8,15})(?:[^"]

+)?'.$urlrx[1].'#i',
                'replacement' => '$PASSIVEURL = $matches[1]; $PASSIVETITLE = $matches[3];

$PASSIVEEMBED = \'<embed src="http://lads.myspace.com/videos/vplayer.swf" wmode="opaque"

flashvars="m=\'.$matches[2].\'&v=2&type=video" type="application/x-shockwave-flash" width="430"

height="346"></embed>\'; return "'.$customstring.'";',
                'id' => 4
                );
        $passiveVid[] = array (
                'string' => '#\[myspace\]([^\[\]]+)\[/myspace\]#',
                'replacement' => 'return \'<embed

src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=\'.$matches[1].\'&v=2&type=video"

wmode="opaque" type="application/x-shockwave-flash" width="430" height="346"></embed>\';',
                'id' => 4
                );

$passiveVid[] = array (
                'string' => '#\[myspace\]([^\[\]]+)\[/myspace\]#',
                'replacement' => 'return \'<embed src="http://myspacetv.com/videos/vplayer.swf"

flashvars="m=\'.$matches[1].\'&v=2&type=video" wmode="opaque"

type="application/x-shockwave-flash" width="430" height="346"></embed>\';',
                'id' => 4
                );

#3 Reinstall the product

#4 Enjoy the mod hack

Support 02-23-2008 05:37 PM

thank you :)

bigraph 02-23-2008 11:13 PM

anybody else having trouble with break? just installed new version and its not working :(

terracore 02-23-2008 11:44 PM

Quote:

Originally Posted by bigraph (Post 1449586)
anybody else having trouble with break? just installed new version and its not working :(

Did you try adding it to the xml file like I did the myspacetv? (see above)

kurious 02-24-2008 10:54 PM

Great work! Is it possible to add support for the following sites?

gofish.com (http://www.gofish.com/videoSearch.gf...tBy=mostViewed)
crunchyroll.com
megavideo.com

Thank you for this wonderful modification!

garza 02-25-2008 09:02 PM

Quote:

Originally Posted by swapw (Post 1448405)
Mind adding Dailymotion onto the list of sites on the next update? Appreciated it if you do and thanks! :)

Yeah a DailyMotion one would rock!

doogie1775 02-27-2008 02:44 PM

Okay, I have a unique situation with this product. The embedding works fine (via URL or embed code). Once I post a video, I am able to play the video initially..........one time. Once I go away to another thread and then go back to it, I am not able to play it again (the play button doesn't show, only the pause button - yet it isn't playing). This is not the worst part of the problem however. Once I post a video and look at it once, nobody else in the forum is able to watch it either?!?!?:confused: I hope I am explaining that well enough. Any ideas?

Thanks!

Cars2007 02-27-2008 04:49 PM

I've got the xml file in includes/xml, and I tried importing the product, but on the options page it says this for Allowed Sites:

"An error occured while processing the bitfield files, the following information was returned:" (and then no error)

I tried manually rebuilding bitfields (index.php?do=buildbitfields) but that did not fix it. This is on vB 3.6.6. Any ideas?

Sothside40 02-27-2008 08:52 PM

is there any way that this hack wont interfere with the anonymous link hack??



https://vborg.vbsupport.ru/external/2008/03/15.png

carlosacgj 02-29-2008 04:55 AM

please add support for the following site
megarotic.com

neoxi 02-29-2008 11:49 AM

v1.1.2 nice plugins :) thanks

f4vn 03-01-2008 07:19 AM

anyone can tell me how to add a sitevideo online to this mod ?
Thank !

samiro 03-01-2008 09:46 AM

Quote:

Originally Posted by Coders Shack (Post 1446753)
seems like you somehow were able to install it twice ?

no
i installed it one time !

Support 03-01-2008 12:44 PM

not supported

http://video.yahoo.com/watch/2065157/6509316 !!!!!!!

whats the problem ?!

kenc 03-01-2008 02:13 PM

Dude, this so rocks. Great demo of the girl in the gym too, I'm sold:

http://scriptasy.com/general-chat_27...-test_104.html

geez where can I get one of her? lol.

-ken c

Coders Shack 03-01-2008 05:15 PM

after speaking with a yahoo video employee (a sexy one), it turns out that yahoo has changed their link structure :D. So yahoo will now be just as easy as youtube.

lurkerx 03-01-2008 05:46 PM

Brightcove isnt working for me. I put in a link and nothing happens.

rwoscott 03-01-2008 11:12 PM

Excellent Hack. Easy to install, easy to use!!

MuGiSouL 03-02-2008 12:43 PM

thanks
installed!

Realbigsource 03-02-2008 06:43 PM

do I need to download and install all 6 zip file?

Phaedrus 03-02-2008 10:29 PM

This will make it nice and easy to shut it off too...

Good job!

Phaedrus 03-02-2008 10:29 PM

Quote:

Originally Posted by Realbigsource (Post 1455354)
do I need to download and install all 6 zip file?

Just the last one. It's working great for me.

Lyte 03-02-2008 10:49 PM

Quote:

Originally Posted by Iron Guard (Post 1448278)
So you have to open all of those folders until you get to the one that has the bitfield xml file in it. Just click on it and then in the middle of the FTP client you will see some arrows. Click the arrow facing the direction of the Forum folders and the transfer will take place in a matter of seconds

Does it matter where I place the xml file "forum" folder. I just dropped into that folder... forum... and it doesn't appear to be working correctly. I'm not getting the "Passive Setting" link in the admin cp. Please advise.

Phaedrus 03-02-2008 10:54 PM

Quote:

Originally Posted by Lyte (Post 1455528)
Does it matter where I place the xml file "forum" folder. I just dropped into that folder... forum... and it doesn't appear to be working correctly. I'm not getting the "Passive Setting" link in the admin cp. Please advise.

Forum/includes/xml/

That is where you upload the bitfield_passiveid.xml

The other one you don't upload at all, you install it as a product in the AdminCP.

Phaedrus 03-02-2008 11:00 PM

blip.tv doesn't seem to work.

http://blip.tv/file/313529

This didn't imbed at my site.

queueposition 03-03-2008 09:27 AM

Hi to all, message for developer,

Love the plugin, seems to work fine after I install, unfortunately for me it is not working nicely when I have Ads Management 4 installed. Logged into my site this morning www.queueposition.com and saw the site look like the default setup, thought I got hacked :). Basically both plugins stop working after I add a post. Any ideas to resolve. Thanks in advance.

Queue

newbuck 03-03-2008 12:38 PM

Still can't get myspace to work

I un-installed the old mod and uploaded the new version and its still not working

any suggestions?

myspace url :
Code:

http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=28615963

maidos 03-03-2008 05:00 PM

please make a support for this site

http://www.imoovee.com/tv/kxvrq/qqrrvz-A.html
http://todou.com/


very popular chinese streaming sites

tldagent 03-04-2008 02:04 PM

So how does one get this to work on vb 3.7.5 or beta 5

vBVision 03-05-2008 05:57 AM

Quote:

Originally Posted by tldagent (Post 1456768)
So how does one get this to work on vb 3.7.5 or beta 5

Works fine;)

vBVision 03-05-2008 06:17 AM

Mode doesn't work in vBBlog:(
Please, suport. What must I do to activate this mode also for vBBlog's posts?

el_rob 03-05-2008 07:49 AM

Quote:

Originally Posted by Sothside40 (Post 1452474)
is there any way that this hack wont interfere with the anonymous link hack??

Had the same problem. If you go to the settings page for the anonymous link hack and enter the video site's URL in the "local addresses" field, then this mod works! However you would need to add every site's URL, supported by passiveVid to make sure it works for all.

This is what my "local addresses"-list looks like:
Code:

.youtube.com .liveleak.com .video.google. .vids.myspace.com .metacafe.com .video.yahoo.com .koreus.com .videos.sapo.pt .gametrailers.com .videos.streetfire.net .veoh.com .myvideo.de .gamespot.com .stage6.com .sevenload.com .izlesene.com .vidiac.com .xtube.com .vidmax.com .redtube.com .videos.onsmash.com .godtube.com .photobucket.com .brightcove.tv .youku.com .livevideo.com .break.com .expertvillage.com

nikki712 03-05-2008 02:28 PM

Love this mod! But for some reason, I'm unable to get Photobucket videos to work. I'm running 3.6.8PL2. What can I do to fix this?

KURTZ 03-05-2008 02:30 PM

PERFECT ON 3.7 BETA 5!!!

nikki712 03-05-2008 02:51 PM

Can you please add support for TMZ videos?

Lyte 03-05-2008 03:06 PM

Quote:

Originally Posted by Phaedrus (Post 1455531)
Forum/includes/xml/ That is where you upload the bitfield_passiveid.xml The other one you don't upload at all, you install it as a product in the AdminCP.

Thanks for responding. :)

I moved... bitfield_passiveid.xml ... to forum/includes/xml but I'm still not getting "Passive Settings" link in my admin panel.

When go to down to Plugn & Products - > Manage Products I do have the ...

passiveVid -- 1.1.2 -- Automaticlly turns video links like youtube, myspace videos, google vidoes into the video players.

So I think I have the ... product-passivevid... installed properly.

I'm just not getting...

https://vborg.vbsupport.ru/

in my admin panel.

Thoughts?

nikki712 03-05-2008 03:31 PM

Quote:

Originally Posted by Lyte (Post 1457686)
Thanks for responding. :)

I moved... bitfield_passiveid.xml ... to forum/includes/xml but I'm still not getting "Passive Settings" link in my admin panel.

When go to down to Plugn & Products - > Manage Products I do have the ...

passiveVid -- 1.1.2 -- Automaticlly turns video links like youtube, myspace videos, google vidoes into the video players.

So I think I have the ... product-passivevid... installed properly.

I'm just not getting...

http://img107.imageshack.us/img107/2766/68257616gr3.png

in my admin panel.

Thoughts?

It should be listed under VB Options.

Majava 03-05-2008 04:52 PM

Could you add http://www.wegame.com/ to passive vid? It's a relatively new gaming video site, but a great one. People are starting to use it.

We have a BB tag for it but most ppl dont use it because they are spoiled by passive vid. ;)

Sothside40 03-05-2008 07:11 PM

Quote:

Originally Posted by Sothside40 (Post 1452474)
is there any way that this hack wont interfere with the anonymous link hack??



https://vborg.vbsupport.ru/external/2008/03/15.png


Can anybody help me on this.??

Lyte 03-05-2008 08:42 PM

Quote:

Originally Posted by nikki712 (Post 1457706)
It should be listed under VB Options.

Doh! I just assumed it would have it's on CP so I didn't think to look under VBOptions! Many thanks! :)

Lyte


All times are GMT. The time now is 04:05 AM.

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.04836 seconds
  • Memory Usage 1,840KB
  • 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
  • (3)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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