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 - VBKeepLink GoogleVideo, Metacafe, Youtube ... Get Video Download Link (https://vborg.vbsupport.ru/showthread.php?t=127887)

iran.gs 10-02-2006 06:46 PM

ok i got it to work but here it is how can we have set so ppl can also leave thier finding links ? and post them..

lebanon 10-02-2006 07:10 PM

Quote:

Originally Posted by redlabour
Request for myvideo.de!

re download the attachment, and only re-upload the file dvid.php
Or simply edit your dvid.php and add this tag
PHP Code:

// myvideo.de, result = flv
if(preg_match("/http:\/\/(www\.)?myvideo\.de\/watch\/([0-9]*)/iU"$url$sub)) {
    
$c curl_init();
    
curl_setopt($cCURLOPT_USERAGENT$_SERVER['HTTP_USER_AGENT']);
    
curl_setopt($cCURLOPT_URL$url);
    
curl_setopt($cCURLOPT_RETURNTRANSFER1);
    
$result curl_exec($c);
    
curl_close($c);

    if(
preg_match("/swf\?V=\.\.\/moviex(.*\.flv)/Ui"$result$d_link)) {
        
printf("http://statix.myvideo.de/moviex%s"$d_link[1]);
        exit();
    }


above // grouper.com, result = flv

Whatever u find easier, and myvideo.de support is added.
regards

iran.gs 10-02-2006 08:34 PM

ok thanks now i posted like 30 real nice ones they all work but just few mins ago this happened page was loading real late and i get this error

Quote:

Warning: fsockopen() [function.fsockopen]: unable to connect to www.metacafe.com:80 in /includes/class_rss_poster.php on line 78

Warning: Unable to fetch RSS Feed in /includes/class_rss_poster.php on line 205

Metacafe Unable to open URL or no data returned
wierd it was working fine any idea ?

lebanon 10-02-2006 10:12 PM

iran.gs , well as a start my hack is using curl so it has nothing to do with fsockopen, this is a problem with the built in rss poster of vbulletin.
However, do check yourforum/admincp/index.php?do=phpinfo
scroll to allow_url_fopen and check its value ...
This is set by your Host php.ini or custom php.ini if they allow u one.

iran.gs 10-02-2006 10:23 PM

thanks how ever it came back online again maybe there was an error on the my server for few minutes cuz now its all back to normal .. but there is one thing which l like to have the feed are coming very nicely but is there one thing how did u have ur setup to show the photo also :>

|oR|Greg 10-03-2006 12:12 PM

I don't know what the problem is but when I download lets say an AVI from google, it can't be played on anything I have. And for the FLV files, none of them play inside of the website wimpy player... none.

nymyth 10-03-2006 08:28 PM

How would we make this so that only registered users or certain usergroups can access it?

Peace

|oR|Greg 10-03-2006 08:35 PM

You could always mask the link to the pages with a conditional.

smoknz28 10-03-2006 11:26 PM

K, it's no secret....I'm a knot-head when it comes to these hacks. :cool: Hey, it's okay, I accept the fact.

I'm running vB 3.6.1 and would like to enable a user to link his video stored on another server, to a post that he makes. This link would be a image still from his video. So, the next user clicks on his post and sees that he's linked a still image from his video that is linkable.

This hack looks like it does just that....but I just need confirmation on that.

I do run a video portal at: http://video.f-bodyhideout.com

Please let me know as I have been looking for a hack to do this for a few days.

Thank you so much,
Mark
www.f-bodyhideout.com/forums

Floris 10-04-2006 09:59 AM

There appears to be a high request for this stuff and now there's a vidhack for this :D Super cool, thanks for your hard work and for sharing it :)


All times are GMT. The time now is 02:59 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.01139 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)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
  • (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