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
  #1712  
Old 03-15-2011, 01:01 AM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mariocaz View Post
Hi Jaxel.

I just installed your great mod but I have a very big problem, when I want to enter to the videos page, appears this error:

Fatal error: Cannot redeclare construct_category_url() in /home/allreef/public_html/inicio/includes/functions_vbglossar.php on line 945

Here you can see it:

www.all-reefs.com/inicio/video.php

But I see that the error appears to the users that I am giving permissions in the user group permissions panel in the ACP

And here is my file attached, please help me my friend.

I will be waiting your prompt answer!!

Mario
Quote:
Originally Posted by romolus View Post
yes i confirmed. I have the same problem:

Fatal error: Cannot redeclare construct_category_url() (previously declared in /var/www/web3074/web/includes/functions_videodirectory.php:190) in /var/www/web3074/web/includes/functions_vbglossar.php on line 963
Quote:
Originally Posted by romolus View Post
Oh oh !!

te problem is coming from the "lexikon" - vbglossary modul. make the crosslinking enabled to NO.

now the video modul is activ
Using cross-linking in vBglossary is causing an issue when adding a new video (and starting a new thread). Anyone found a fix for this yet?
Reply With Quote
  #1713  
Old 03-15-2011, 02:01 AM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great! Found the answer!

You have to edit the php files for both includes/functions_videodirectory.php and then the video.php file to ensure that they reference the 'new' name correctly. :up:


Quote:
Originally Posted by biocyberman View Post
Fatal error: Cannot redeclare construct_category_url() (previously declared in /includes/functions_videodirectory.php:190) in /includes/functions_vbglossar.php on line 963

It conflicts with vbglossar. What's the fix?
Quote:
Originally Posted by biocyberman View Post
I just did quick fix by changing all construct_category_url ocurrences to different name
Reply With Quote
  #1714  
Old 03-21-2011, 12:23 AM
haytham's Avatar
haytham haytham is offline
 
Join Date: Jan 2003
Location: USA-Egypt-UAE
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
I am getting these errors at the top of the directory:

Deprecated: Assigning the return value of new by reference is deprecated in /home/###/public_html/####/includes/init.php on line 55

includes/init.php on line 107

includes/init.php on line 111

includes/init.php on line 119

includes/init.php on line 130

includes/init.php on line 134

includes/init.php on line 142

includes/init.php on line 211

includes/init.php on line 389

includes/class_core.php on line 2552

I got the same messages for the arcade but it was solved this way:

https://vborg.vbsupport.ru/showpost....postcount=5715

Can some one please help me correct this problem in the video directory? Thanks.
Reply With Quote
  #1715  
Old 03-21-2011, 12:26 AM
haytham's Avatar
haytham haytham is offline
 
Join Date: Jan 2003
Location: USA-Egypt-UAE
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok. Did the same thing I did with arcade and now the warning messages are gone. So happy.
Reply With Quote
  #1716  
Old 03-31-2011, 05:23 PM
MR.BOSS MR.BOSS is offline
 
Join Date: Sep 2007
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Thank you for this mod, i have an issue, Members are not able to comment in Arabic characters. Is there a way to fix that?

Thanks
Reply With Quote
  #1717  
Old 04-11-2011, 03:56 AM
asking asking is offline
 
Join Date: Aug 2008
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Please someone knows about. I tried to make my xml, but its not working kindly please check and verify?

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
  #1719  
Old 04-13-2011, 12:00 PM
asking asking is offline
 
Join Date: Aug 2008
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am waiting 24 hours before replying to this post to avoid spam. But it seems i am spamming coz nobody answers my post.
Reply With Quote
  #1720  
Old 04-13-2011, 11:03 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
  #1721  
Old 04-15-2011, 01:29 AM
Carlos X Carlos X is offline
 
Join Date: Jun 2007
Location: California
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I recently upgraded to vb4, so this is deleted.
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 10:03 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.11012 seconds
  • Memory Usage 2,381KB
  • 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
  • (6)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