Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Video-Directory Remixed Details »»
Video-Directory Remixed
Version: 1.3.0, by Jaxel Jaxel is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.x Rating:
Released: 01-05-2009 Last Update: 07-30-2009 Installs: 703
DB Changes Uses Plugins Auto-Templates
Additional Files Is in Beta Stage  
No support by the author.

This mod has been rewritten for vB4x here: https://vborg.vbsupport.ru/showthread.php?t=240677

This modification is based on the Video-Directory modification by Survivor and vBPoint.org.
His mod is NOT dead, its still alive and kicking; but he has informed me that he just doesn't have the time to maintain it and give support. So until he is able to work on it agian; I've been doing a series of updates.

What is this mod?

This mod adds a fully featured and fully integrated video directory archive to your forums. Users can add their favorite videos from their favorite video service to the directory. I only support a few select hosters; but the hoster scripting is XML base, so any user can create their own scripts for any number of hosting services. The old MyVideo and Sevenload scripts from Survivor's version will still work, but they wont pull in Keyword/Tagging information, nor the video length time codes.

Basic Feature Listing:
  • Fully integrated into the vBulletin user database and product manager.
  • Fully phrased and built on templates for easy reskinning and styling.
  • Fully administratable and a myriad of settings for personalization.
  • Complete customization of permissions based on usergroups.
  • Landing page for broad information and fully featured tag cloud.
  • Category profiles for videos.
  • Contribution profiles for users.
  • Keyword profiles for tag cloud.
  • Built in comment system for videos.
  • Search function for titles and descriptions.
  • RSS feed of videos.
Product Demo:
http://www.8wayrun.com/video.php
Installation Procedure:
  1. Upload all files in the "upload" directory to your forum root.
  2. CHMOD /videothumbnails/* and /includes/videoserviceapi to 777.
  3. Import the product "product-videodirectory.xml" in your Product Manager.
  4. Follow the on screen instructions to configure your video hoster settings.
  5. Refresh your administration control panel to see the new navigation links.
NOTES:
vBulletin 3.7.0 instituted a new avatar-thumbnail system. There is a high probability that you are unaware of this new system and may have failed to setup your vBulletin to make use of it. Make sure that a directory called /thumbs is located in your avatar directory and CHMOD it to 777. Then go into Maintenance > Update Counters and run the Rebuild Custom Avatar Thumbnails process.
Upgrade Procedure:
  1. Upload all files in the "upload" directory to your forum root.
  2. Take note of the information stored in Limits of Videos > General Settings.
  3. Import the product "product-videodirectory.xml" in your Product Manager.
  4. Re-establish your previous Limits settings in Videos > General Settings.
  5. Re-import ALL of your hosters and settings in Videos > Manage hosters.
    • You MUST remember to re-import your hosters after upgrading.
NOTES:
You may lose your category dataman when you upgrade. If no categories are listed after an upgrade, you will be required to rebuild your category dataman. Its very easy to rebuild it if you need to. Simply go into Videos > Manage categories, select ANY category and hit [Edit], then click [Save]. Your category dataman will automatically be rebuilt.
Roadmap for the Future:
  • Moderation
  • Favorites
  • Playlists
Don't forget to click INSTALL!

If you want to donate, I'm all for it... as I'm an unemployed computer programmer...

Download Now

File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
Artes_Marciales, asking, Kolektor, Sam Lee

Comments
  #1722  
Old 04-15-2011, 07:14 AM
asking asking is offline
 
Join Date: Aug 2008
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please in need your help code. Thanks
Reply With Quote
  #1723  
Old 04-15-2011, 07:33 AM
haytham's Avatar
haytham haytham is offline
 
Join Date: Jan 2003
Location: USA-Egypt-UAE
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I make a backup of the whole script? I intend to move my forum so how can I keep my directory in tact? Please someone help as I need to know if this is possible or not. Thank you.
Reply With Quote
  #1724  
Old 04-15-2011, 01:04 PM
asking asking is offline
 
Join Date: Aug 2008
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by haytham View Post
How can I make a backup of the whole script? I intend to move my forum so how can I keep my directory in tact? Please someone help as I need to know if this is possible or not. Thank you.
Do you know how to create a facebook video xml? Please help?
Reply With Quote
  #1725  
Old 04-15-2011, 09:58 PM
3beidat's Avatar
3beidat 3beidat is offline
 
Join Date: Feb 2010
Location: Jordan
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, today when I tried to insert megavideo to video-directory i get this error
(The response of the video-server can't be read) !!!
how I can fix it?

and another question, can anybody made a xml file for duckload.com streaming?
Reply With Quote
  #1726  
Old 04-16-2011, 10:27 AM
asking asking is offline
 
Join Date: Aug 2008
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please someone help me? For the Facebook video hoster. Please help me?

https://vborg.vbsupport.ru/showpost....postcount=1717
Reply With Quote
  #1727  
Old 04-16-2011, 12:14 PM
3beidat's Avatar
3beidat 3beidat is offline
 
Join Date: Feb 2010
Location: Jordan
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems like there is no body want to help us!!
Reply With Quote
  #1728  
Old 04-17-2011, 07:21 AM
asking asking is offline
 
Join Date: Aug 2008
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are right. Nobody want to help us. Btw, you know how to make hoster for facebook?
Reply With Quote
  #1729  
Old 04-18-2011, 12:35 AM
3beidat's Avatar
3beidat 3beidat is offline
 
Join Date: Feb 2010
Location: Jordan
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I extremely hop that, because if I can make a hoster file for any hoster then I'll make files for more than 50 important vidoe hosts. But really I can't do and I'm not experienced in php programming.
BTW, Sorry for my bad english :P
Reply With Quote
  #1730  
Old 04-23-2011, 03:23 AM
asking asking is offline
 
Join Date: Aug 2008
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see. I tried to make a facebook hoster, but its not working. Can you check please?

Quote:
<?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>
Reply With Quote
  #1731  
Old 04-27-2011, 06:53 AM
asking asking is offline
 
Join Date: Aug 2008
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please someone reply and help us? Please?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:37 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05884 seconds
  • Memory Usage 2,370KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete