The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
8WayRun.Com - Media Library Details »» | |||||||||||||||||||||||||||||||||||||||||
Don't forget to click INSTALL!
I'm an unemployed computer programmer... if you appreciate the work I have done on this mod, please don't hesitate in offering me a donation by clicking the "Support Developer" link to the right of this text. A donation of $50 or more automatically gives you the right to remove the copyright footer for this modification from a single forum. This is a new modification, spawning from the old VB 3.x Video Directory modifications. For all intents and purposes, both my old Video Directory Remixed mod, and Survivor's original Video Directory mod have been discontinued. Neither of us are maintaining these older versions, they will not receive any future updates and we will not be providing any support. This version has a new name because it has been completely rewritten from scratch and is not being built on Survivor's old code. Because of this, if you are upgrading to this new version, from the old version, be sure to read this entire post in order to understand the upgrade process. What is this mod? Simply put, this mod is a directory for media. It supports URL inputs, in order to extract meta data and directorize media into a simple and easy to understand library. Users can add their favorite media from a select few online distribution centers (such as Youtube or Vimeo) and categorize and tag them as they see fit. This mod offers rudimentary support for the hosting of local media. An administrator can upload a media to the /customVID/ (default) directory; then add the media to the library using the URL code of "local:filename". Media hosted locally will be displayed using JWPlayer, but will not provide meta data, so that kind of information will need to be entered manually. Demo: http://www.8wayrun.com/media.phpFeatures:
If you are upgrading from before version 1.1, please install that version first.
There is a conflict with this modification and some of Valter's VSA modifications that will prevent navbar permissions from being handled correctly. I don't know exactly who's fault it is; but I'm pretty sure there are no errors in my code that would be causing this problem. There is a work around for this however. Download Now
Show Your Support
|
17 благодарности(ей) от: | ||
8thos, Ahmet Turan, alhidaya, BlueCheri, hasidoo, InfoNirvana, Marcin_J_, Megaboost, misericorde, nacaruncr, owning_y0u, paulvev, RichieBoy67, romaszek, rootsxrocks, sodasusu |
Comments |
#1972
|
|||
|
|||
How would I go about removing the "Media" tab? The tab is fine but I have my own tab system and want to use that instead.
Thanx in advance EDIT: NM Got it thanx |
#1973
|
|||
|
|||
New problem! I fixed my tab issue but now there is no sub menu for upload, admin, or anything. I have searched the entire thread for an answer but there is no resolution! I have added the "Known Bug" fix because I am using VSA Chatbox. The thing is, is that when I first install it. The submenu is there but when I refresh the page it goes bye bye.
Any help would be much appreciated. |
#1974
|
|||
|
|||
Quote:
|
#1975
|
|||
|
|||
Please where i can find facebook xml video hoster. Please for help?
Here is the sample facebook video link http://www.facebook.com/v/110451499036058 Please verify this: Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <videohoster varname="Facebook" classname="facebook" active="1"> <title>Facebook</title> <regex /> <author>Test by Me</author> <version>1.2.4</version> <class_file><![CDATA[<?php /** * Class to fetch and handle Facebook * */ class vB_VideoSharingService_Facebook extends vB_VideoSharingService { var $hostername = 'Facebook'; function vB_VideoSharingService_Facebook(&$registry) { parent::vB_VideoSharingService($registry); $this->settings =& $this->registry->videohosters[$this->hostername]['settings']; } function verify_service(&$url) { $matches = array(); $this->url = $url; if (preg_match('/http://www\.facebook\.com\/\?v([\w]+)&*[\w;=]*]/i', $url, $matches)) { $this->video_id = $matches[1]; return true; } return false; } function prepare_data() { if (!$this->verify_videoid()) { return false; } //Request Video Data $vurl = new vB_vURL($this->registry); $vurl->set_option(VURL_URL, 'idontknowwhattoputhere' . $this->video_id); $vurl->set_option(VURL_USERAGENT, 'vBulletin/' . FILE_VERSION . ' | Video Directory'); $vurl->set_option(VURL_RETURNTRANSFER, 1); $vurl->set_option(VURL_TIMEOUT, 30); $result = $vurl->exec(); if ($vurl->fetch_error()) { $this->set_error(VSS_ERROR_CONNECTION); return false; } require_once(DIR . '/includes/class_xml.php'); $xmlobj = new vB_XML_Parser($result); if(!$arr = $xmlobj->parse()) { $this->set_error(VSS_ERROR_RESPONSE); return false; } preg_match('/[\w+%.-]*'.$this->video_id.'([\w]*)[\w+%.-]*/i', $arr['ROW']['embed'], $image); $this->thumbnailpath = 'idontknowwhattoputhere'; $this->videodescription = urldecode($arr['ROW']['description']); $this->videotitle = urldecode($arr['ROW']['title']); $this->taglist = urldecode($arr['ROW']['title']); $this->timelength = $arr['ROW']['runtime']; return true; } function file_save_thumbnail() { if (!$this->fetch_thumbnailpath() OR !$this->fetch_videoid()) { return false; } require_once(DIR . '/includes/class_vurl.php'); $vurl = new vB_vURL($this->registry); $vurl->set_option(VURL_URL, $this->fetch_thumbnailpath()); $vurl->set_option(VURL_RETURNTRANSFER, true); $result = $vurl->exec(); $fp = fopen(DIR . '/' . $this->registry->options['videodirectory_thumbnaildir'] . '/' . $this->hostername . '/' . $this->fetch_videoid() . '.jpg', 'wb'); fwrite($fp, $result); fclose($fp); } function fetch_embedcode($videoid = '', $autoplay = 1, $fullscreen = 1, $related = 0, $stats = 0) { $videoid = $videoid ? $videoid : $this->video_id; if ($fullscreen == 1) { $fullscreen = 'true'; } else { $fullscreen = 'false'; } if ($autoplay == 1) { $autoplay = 'true'; } else { $autoplay = 'false'; } return '<embed src="http://www.facebook.com/v/' . $videoid . '" autoplay="' . $autoplay . '" type="application/x-shockwave-flash" allowfullscreen="' . $fullscreen . '" width="640" height="480"></embed>'; } function fetch_videobbcode($vid, $videoid = '', $videotitle = '') { $videoid = $videoid ? $videoid : $this->video_id; $videotitle = $videotitle ? $videotitle : $this->video_title; if ($this->registry->options['videodirectory_bbcode']) { return '[video=' . $videotitle . ']' . $vid . '[/video]'; } else { return '[' . $this->hostername . '=' . $videotitle . ']' . $videoid . '[/' . $this->hostername . ']'; } } function fetch_videourl($videoid = '') { $videoid = $videoid ? $videoid : $this->video_id; return 'http://www.facebook.com/v/' . $videoid; } } ?>]]></class_file> </videohoster> |
#1976
|
|||
|
|||
Hi Jaxel,
I use VDR on my 3.8 vB but I'm working (locally on my PC) on updating vB to 4.1.3. I've only imported the DB and made a fresh install of vB 3.8 and then update vB. I don't have the original VDR files installed and the plugin is gone too. What's my best shot at installing this new MOD without loosing all the videos my users have posted in the past? Thanks for any advice! |
#1977
|
|||
|
|||
Can anyone tell me how I can do images with this?
|
#1978
|
|||
|
|||
1) How to delete category?
2) How to add New Service w/o xml? |
#1979
|
|||
|
|||
Can anyone get MegaVideo to retrieve thumbnails with the latest definitions? They work but not with ImageMagick..anyone else getting this?
|
#1980
|
|||
|
|||
I wanna say this is an excellent mod.. i just have one issue how can i clear the black backgrounds off menus and keep it plain? pic attached
|
#1981
|
||||
|
||||
Quote:
So now I ditched all my recent videos added to make this work, and now it doesn't even work. Great. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|