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 |
#2452
|
|||
|
|||
Having probs importing the xml,using 4.18
Altering Table usergroup ...Done! Altering Table user ...Done! Creating Table media ... Done! Creating Table media_category ... Done! -- Adding Category Row General ... Gets to this point then it seems to hang,doesnt go any further.Tried numerous times.Any ideas pls |
#2453
|
|||
|
|||
Hello,
I have a little problem .... vBSEO does not take the polish letter of the Library Media Can you help me please? Best regards |
#2454
|
||||
|
||||
Quote:
Awesome thanks man |
#2455
|
||||
|
||||
OK so I installed this on another one of my vb forums and when I try and submit a youtube video I get this message even though I have over 20 characters, "The description you have entered is too short (0 characters). Please lengthen your description to at least 10 characters."
Any idea |
#2456
|
|||
|
|||
Quote:
|
#2457
|
|||
|
|||
Been asking for help for 2 weeks,no reply.can anyone pls
Having probs importing the xml,using 4.18 Altering Table usergroup ...Done! Altering Table user ...Done! Creating Table media ... Done! Creating Table media_category ... Done! -- Adding Category Row General ... Gets to this point then it seems to hang,doesnt go any further.Tried numerous times.Any ideas pls |
#2458
|
|||
|
|||
I'm having a CSS issue with my categories popup menu. See:
For some reason, I can't make "padding: 0px 10px;" apply to vb:raw categorybits. Any help would be greatly appreciated! |
#2459
|
|||
|
|||
Quote:
Strange. Remove from product-medialibrary.xml Code:
echo('<li> -- Adding Category Row <strong>General</strong> ... '); vbflush();
$dm =& datamanager_init('Media_Category', $vbulletin, ERRTYPE_CP);
$dm->set('catName', "General Media");
$dm->set('catDesc', "General media goes here...");
$dm->set('catOrder', "1");
$dm->set('catDepth', "0");
$dm->save();
echo('Done!</li>'); vbflush();
|
#2460
|
|||
|
|||
Quote:
Altering Table usergroup ...Done! Altering Table user ...Done! Creating Table media ... Done! Creating Table media_category ... Done! Creating Table media_comment ... Done! Creating Table media_rating ... Done! Creating Table media_service ... Done! -- Adding Service Row YouTube ... |
#2461
|
|||
|
|||
Quote:
Please remove also below code to finalize installation Then you will try to add these records manually. Code:
echo('<li> -- Adding Service Row <strong>YouTube</strong> ... '); vbflush(); $dm =& datamanager_init('Media_Service', $vbulletin, ERRTYPE_CP); $dm->set('svcName', "YouTube"); $dm->set('svcRegex', "http:\/\/[a-z]*?[\.]?youtube\.[a-z]*?\/watch\?v=([\w_-]*)"); $dm->set('svcURL', "http://www.youtube.com/watch?v={serviceVAL}"); $dm->set('svcFeed', "http://gdata.youtube.com/feeds/api/videos/{serviceVAL}"); $dm->set('svcValue2', "null"); $dm->set('svcThumb', "\$arr['media:group']['media:thumbnail'][3]['url']"); $dm->set('svcTitle', "\$arr['media:group']['media:title']['value']"); $dm->set('svcDesc', "\$arr['media:group']['media:description']['value']"); $dm->set('svcLength', "\$arr['media:group']['yt:duration']['seconds']"); $dm->set('svcTags', "\$arr['media:group']['media:keywords']"); $dm->set('svcMovie', "http://www.youtube.com/v/{serviceVAL}?autoplay={ap10}&hd=1&fs=1"); $dm->set('svcWidth', "640"); $dm->set('svcHeight', "385"); $dm->set('svcStream', "null"); $dm->set('svcError', "\$arr['app:control']['yt:state']['value']"); $dm->set('svcParams', ""); $dm->save(); echo('Done!</li>'); vbflush(); echo('<li> -- Adding Service Row <strong>Vimeo</strong> ... '); vbflush(); $dm =& datamanager_init('Media_Service', $vbulletin, ERRTYPE_CP); $dm->set('svcName', "Vimeo"); $dm->set('svcRegex', "http:\/\/[a-z]*?[\.]?vimeo\.[a-z]*?\/([\d]*)"); $dm->set('svcURL', "http://www.vimeo.com/{serviceVAL}"); $dm->set('svcFeed', "http://www.vimeo.com/api/clip/{serviceVAL}.xml"); $dm->set('svcValue2', "null"); $dm->set('svcThumb', "\$arr['clip']['thumbnail_large']"); $dm->set('svcTitle', "\$arr['clip']['title']"); $dm->set('svcDesc', "strip_tags(\$arr['clip']['caption'])"); $dm->set('svcLength', "\$arr['clip']['duration']"); $dm->set('svcTags', "\$arr['clip']['tags']"); $dm->set('svcMovie', "http://vimeo.com/moogaloop.swf?clip_id={serviceVAL}&autoplay={ap10}"); $dm->set('svcWidth', "640"); $dm->set('svcHeight', "360"); $dm->set('svcStream', "null"); $dm->set('svcError', "null"); $dm->set('svcParams', ""); $dm->save(); echo('Done!</li>'); vbflush(); echo('<li> -- Adding Service Row <strong>MetaCafe</strong> ... '); vbflush(); $dm =& datamanager_init('Media_Service', $vbulletin, ERRTYPE_CP); $dm->set('svcName', "MetaCafe"); $dm->set('svcRegex', "http:\/\/[a-z]*?[\.]?metacafe\.[a-z]*?\/watch\/([\w-]*)"); $dm->set('svcURL', "http://www.metacafe.com/watch/{serviceVAL}"); $dm->set('svcFeed', "http://www.metacafe.com/api/item/{serviceVAL}/"); $dm->set('svcValue2', "null"); $dm->set('svcThumb', "\$arr['channel']['item']['media:thumbnail']['url']"); $dm->set('svcTitle', "\$arr['channel']['item']['media:title']"); $dm->set('svcDesc', "\$arr['channel']['item']['media:description']"); $dm->set('svcLength', "\$arr['channel']['item']['media:content']['duration']"); $dm->set('svcTags', "\$arr['channel']['item']['media:keywords']"); $dm->set('svcMovie', "http://www.metacafe.com/fplayer/{serviceVAL}/0.swf?autoPlay={ap10}"); $dm->set('svcWidth', "640"); $dm->set('svcHeight', "392"); $dm->set('svcStream', "null"); $dm->set('svcError', "null"); $dm->set('svcParams', ""); $dm->save(); echo('Done!</li>'); vbflush(); echo('<li> -- Adding Service Row <strong>DailyMotion</strong> ... '); vbflush(); $dm =& datamanager_init('Media_Service', $vbulletin, ERRTYPE_CP); $dm->set('svcName', "DailyMotion"); $dm->set('svcRegex', "http:\/\/[a-z]*?[\.]?dailymotion\.[a-z]*?\/video\/([A-Za-z0-9]*)"); $dm->set('svcURL', "http://www.dailymotion.com/video/{serviceVAL}"); $dm->set('svcFeed', "http://www.dailymotion.com/rss/video/{serviceVAL}"); $dm->set('svcValue2', "null"); $dm->set('svcThumb', "\$arr['channel']['item']['media:thumbnail']['url']"); $dm->set('svcTitle', "\$arr['channel']['item']['media:title']"); $dm->set('svcDesc', "\$arr['channel']['item']['itunes:summary']"); $dm->set('svcLength', "\$arr['channel']['item']['media:group']['media:content'][0]['duration']"); $dm->set('svcTags', "\$arr['channel']['item']['itunes:keywords']"); $dm->set('svcMovie', "http://www.dailymotion.com/swf/video/{serviceVAL}?autoplay={ap10}"); $dm->set('svcWidth', "640"); $dm->set('svcHeight', "360"); $dm->set('svcStream', "null"); $dm->set('svcError', "null"); $dm->set('svcParams', ""); $dm->save(); echo('Done!</li>'); vbflush(); echo('<li> -- Adding Service Row <strong>Veoh</strong> ... '); vbflush(); $dm =& datamanager_init('Media_Service', $vbulletin, ERRTYPE_CP); $dm->set('svcName', "Veoh"); $dm->set('svcRegex', "http:\/\/[a-z]*?[\.]?veoh\.[a-z]*?\/.*?watch\/([\w]*)"); $dm->set('svcURL', "http://www.veoh.com/browse/videos/watch/{serviceVAL}"); $dm->set('svcFeed', "http://www.veoh.com/rest/videos/{serviceVAL}/details"); $dm->set('svcValue2', "null"); $dm->set('svcThumb', "\$arr['video']['fullHighResImagePath']"); $dm->set('svcTitle', "\$arr['video']['title']"); $dm->set('svcDesc', "\$arr['video']['description']"); $dm->set('svcLength', "\$arr['video']['length'];preg_match('/([\d]*)([a-z\s]*)([\d]*)([a-z\s]*)([\d]*)/i',\$len,\$T);if(strpos(\$T[2],'h')){\$A=\$T[1]*60*60;}elseif(strpos(\$T[2],'m')){\$A=\$T[1]*60;}else{\$A=\$T[1];}if(strpos(\$T[4],'m')){\$B=\$T[3]*60+\$T[5];}else{\$B=\$T[3];}\$len=\$A+\$B"); $dm->set('svcTags', "\$arr['video']['tagsCommaSeparated']"); $dm->set('svcMovie', "http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?permalinkId={serviceVAL}&videoAutoPlay={ap10}"); $dm->set('svcWidth', "640"); $dm->set('svcHeight', "385"); $dm->set('svcStream', "null"); $dm->set('svcError', "null"); $dm->set('svcParams', ""); $dm->save(); echo('Done!</li>'); vbflush(); echo('<li> -- Adding Service Row <strong>MegaVideo</strong> ... '); vbflush(); $dm =& datamanager_init('Media_Service', $vbulletin, ERRTYPE_CP); $dm->set('svcName', "MegaVideo"); $dm->set('svcRegex', "http:\/\/[a-z]*?[\.]?megavideo\.[a-z]*?\/\?v=([\w]*)"); $dm->set('svcURL', "http://www.megavideo.com/?v={serviceVAL}"); $dm->set('svcFeed', "http://www.megavideo.com/xml/videolink.php?v={serviceVAL}"); $dm->set('svcValue2', "null"); $dm->set('svcThumb', "preg_match('/[\w+%.-]*'.\$service['serviceVAL'].'([\w]*)[\w+%.-]*/i',\$arr['ROW']['embed'],\$match);\$thu='http://img1.megavideo.com/'.\$match[1].'.jpg'"); $dm->set('svcTitle', "urldecode(\$arr['ROW']['title'])"); $dm->set('svcDesc', "urldecode(\$arr['ROW']['description'])"); $dm->set('svcLength', "urldecode(\$arr['ROW']['runtime'])"); $dm->set('svcTags', "urldecode(preg_replace('/\+/',', ',\$arr['ROW']['tags']))"); $dm->set('svcMovie', "http://www.megavideo.com/v/{serviceVAL}?autoplay={apTF}"); $dm->set('svcWidth', "640"); $dm->set('svcHeight', "360"); $dm->set('svcStream', "null"); $dm->set('svcError', "null"); $dm->set('svcParams', ""); $dm->save(); echo('Done!</li>'); vbflush(); echo('<li> -- Adding Service Row <strong>uStream</strong> ... '); vbflush(); $dm =& datamanager_init('Media_Service', $vbulletin, ERRTYPE_CP); $dm->set('svcName', "uStream"); $dm->set('svcRegex', "http:\/\/[a-z]*?[\.]?ustream\.tv\/recorded\/([\d]*)"); $dm->set('svcURL', "http://www.ustream.tv/recorded/{serviceVAL}"); $dm->set('svcFeed', "http://api.ustream.tv/xml/video/{serviceVAL}/getinfo"); $dm->set('svcValue2', "null"); $dm->set('svcThumb', "\$arr['results']['imageUrl']['medium']"); $dm->set('svcTitle', "\$arr['results']['title']"); $dm->set('svcDesc', "\$arr['results']['description']"); $dm->set('svcLength', "\$arr['results']['lengthInSecond']"); $dm->set('svcTags', "preg_match_all('/<array key=\"\d*\"><!\[CDATA\[(.*)\]\]><\/array>/i',\$result,\$matches);\$tag=implode(',', \$matches[1])"); $dm->set('svcMovie', "http://www.ustream.tv/flash/video/{serviceVAL}?autoplay={apTF}"); $dm->set('svcWidth', "640"); $dm->set('svcHeight', "386"); $dm->set('svcStream', "null"); $dm->set('svcError', "null"); $dm->set('svcParams', ""); $dm->save(); echo('Done!</li>'); vbflush(); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|