Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Video-Directory Details »»
Video-Directory
Version: 1.1.0 RC 2, by Surviver Surviver is offline
Developer Last Online: May 2020 Show Printable Version Email this Page

Category: Major Additions - Version: 3.7.x Rating:
Released: 09-28-2008 Last Update: 11-14-2008 Installs: 350
DB Changes Uses Plugins Auto-Templates
Additional Files Translations Is in Beta Stage  
No support by the author.


What is this?

This add on gives your users the possibility to collect their favourite videos from some video-webpages (supported at the moment: MyVideo, YouTube, Sevenload and Metacafe) and to provide them in the forum. The videos can be commented and rated.

The Administrator has many possibilities of settings and can create video-categories and administrate the video-directory.

List of features:
  • Completely integrated in vBulletin
  • Many possibility of settings for the Administrator
    • Many possibilities of settings
    • permissions of usergroups
    • Administration of categories
    • Administration of video-webpages
      • Incl. import and export
  • Very simple installation
  • Homepage can be configured easily
  • Videos are integrated in the forum
    • Videos can be voted with AJAX
    • Commets to videos can be posted
    • Videos can be reported
    • User can see other members watching the video at the same time
  • Simple search-function
  • RSS-Feed of videos
  • Advanced WOL-integration
  • Advanced vBSEO-integration
Installation:
  1. Upload all files from the directory "root" (Keep the structure of folders)
  2. The directory of videothumbnails and includes/videoserviceapi needs 777 permissions
  3. Import the product-videodirectory.xml from the admin-controllpanel
  4. After importing the product DON'T close the window, follow the installiton instructions!
History:
  • 1.0.0 RC 1 - First release
  • 1.0.0 RC 2 - Improvements and correcting some errors - many thanks to Hapi for reworking the templates!
  • 1.0.0 RC 3 - Correting some bugs: 38409, 38496, 38548, 38611
  • 1.1.0 Beta 1 - "Major Release"
    • Correcting some bugs
    • New: Search function
    • New: Reporting funvtion for videos
    • New: Import/export funtion for Video-Webpages
    • New: Improvements for guests
    • New: Best voted videos on Mainpage
    • New: vBSEO-Integration
    • New: Simplified installation
  • 1.1.0 Beta 2 - Small Bugfix-Release
  • 1.1.0 RC 1 - New Feature (Members who are watching the same video at video details page), Bugfixes (Missing File for comments added, vBSEO CRR fixed)
  • 1.1.0 RC 2 - Added two new videohosters (sevenload and metacafe), added rss feed, added thumbnail-preview when adding a video, MyVideo Class optimized, some bugs fixed
Roadmap for Version 1.2.0:
  • Tag-function for videos
  • Favourite Videos (AJAX)
  • Watchlist (AJAX)
  • [s]User watching the same video at the moment[/s] - Added in Version 1.1.0 RC 1
  • Video-comments per AJAX, to avoid reload
  • "Video-Profile" for user
  • Moderation
  • [S]New Videos in forumhome[/S] (See addons)
  • [s]RSS-Feed for Videos[/s] - Added in Version 1.1.0 RC 2
  • Integration in statistic-block in profile
Developer notes:

Do you want to enhance the video-directory, but some hooks are missing? Do you want to enhance the templates and you need some template-hooks? No Problem! Send a PM and the hooks will be integrated in the next version!

Developer-Blog:

Feel free to check out our Developer-Blog at vBPoint.org!

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #602  
Old 01-01-2009, 06:50 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jaxel View Post
I said in a previous post that this customization will be coming in my next version in a few days.
Yes, but that was a few days ago!
Reply With Quote
  #603  
Old 01-01-2009, 08:17 PM
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Posts: 1,160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Morrus View Post
Yes, but that was a few days ago!
I said a WEEK a few days ago... a few days from now...

I'm waiting to figure out this ajax stuff before I release my new version. Does anyone know how this crap works?
Reply With Quote
  #604  
Old 01-02-2009, 12:28 AM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Take your time Jaxel, I think that the new layout and the TAG CLOUD (Woo hoo! ) will be worth the wait.

You are taking Survivor's awesome mod to the next level my friend! :up:
Reply With Quote
  #605  
Old 01-02-2009, 03:46 AM
indie2industry's Avatar
indie2industry indie2industry is offline
 
Join Date: Jan 2008
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jaxel View Post
I said a WEEK a few days ago... a few days from now...

I'm waiting to figure out this ajax stuff before I release my new version. Does anyone know how this crap works?
http://www.sematopia.com/?p=34
http://www.w3schools.com/Ajax/Default.Asp

I don't know if this will be helpful or not but here you go
Reply With Quote
  #606  
Old 01-02-2009, 08:59 AM
logoz2008 logoz2008 is offline
 
Join Date: May 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone add sub-categories feature to this???
Reply With Quote
  #607  
Old 01-02-2009, 10:10 AM
indie2industry's Avatar
indie2industry indie2industry is offline
 
Join Date: Jan 2008
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by logoz2008 View Post
Can anyone add sub-categories feature to this???
Jaxel Hooked it up already here in this thread. Here's the post.

https://vborg.vbsupport.ru/showpost....&postcount=560


when you go to manage categories in the AdminCP, you'll see a new column named Display Order. You would use that to create sub-categories.
:up:
Reply With Quote
  #608  
Old 01-02-2009, 12:30 PM
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Posts: 1,160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay... I'm having trouble getting some new data from the YouTube API... maybe someone can help me...

For adding new videos, I have two new fields
  • name/id = taglist (this is for adding tags)
  • name/id = timelength (this is for video duration)
And this is my YouTube.XML prepare_data function as it stands right now:
Code:
	function prepare_data()
	{
		if (!$this->verify_videoid())
		{
			return false;
		}

		//Request Video Data
		$vurl = new vB_vURL($this->registry);
		$vurl->set_option(VURL_URL, 'http://gdata.youtube.com/feeds/api/videos/' . $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;
		}

		if (isset($arr['yt:noembed']))
		{
			$this->set_error(VSS_ERROR_NOEMBEDING);
			return false;
		}

		$this->thumbnailpath = $arr['media:group']['media:thumbnail'][0]['url'];
		$this->videodescription = $arr['media:group']['media:description']['value'];
		$this->videotitle = $arr['media:group']['media:title']['value'];
		$this->taglist = $arr['media:group']['media:keywords']['value'];
		$this->timelength = $arr['media:group']['yt:duration']['seconds'];

		return true;
	}
And this is my vbulletin_ajax_videodirectory.js AJAX code as it stands right now:
Code:
function request_videoinfo()
{
	if (!fetch_object('videourl').value)
	{
		return false;
	}

	YAHOO.util.Connect.asyncRequest("POST", "video.php?do=videoinfo", {
		success: handel_videoinfo,
		failure: vBulletin_AJAX_Error_Handler,
		timeout: 15000
	}, SESSIONURL + 'securitytoken=' + SECURITYTOKEN + "&url=" + PHP.urlencode(fetch_object('videourl').value) + "&wysiwyg=" + vB_Editor[editor_id].wysiwyg_mode);

	fetch_object('videoajaxbutton').value = vbphrase['requesting_information_please_wait'];
	fetch_object('videoajaxbutton').disabled = true;

	return false;
}

function handel_videoinfo(ajax)
{
	if (ajax.responseXML)
	{
		// check for error first
		var error = ajax.responseXML.getElementsByTagName('error');
		if (error.length)
		{
			fetch_object('thumbnail').setAttribute('src', '');
			fetch_object('thumbnail_border').style.display = 'none';
			alert(error[0].firstChild.nodeValue);
		}
		else
		{
			try
			{
				var description = ajax.responseXML.getElementsByTagName('description')[0].firstChild.nodeValue;
				vB_Editor[editor_id].insert_text(description);
			}
			catch (e)
			{
			}

			try
			{
				var title = ajax.responseXML.getElementsByTagName('title')[0].firstChild.nodeValue;
				fetch_object('videotitle').value = title;
			}
			catch (e)
			{
			}

			try
			{
				var keywords = ajax.responseXML.getElementsByTagName('keywords')[0].firstChild.nodeValue;
				fetch_object('taglist').value = keywords;
			}
			catch (e)
			{
			}

			try
			{
				var duration = ajax.responseXML.getElementsByTagName('duration')[0].firstChild.nodeValue;
				fetch_object('timelength').value = duration;
			}
			catch (e)
			{
			}

			try
			{
				var videothumbnailpath = ajax.responseXML.getElementsByTagName('thumbnailpath')[0].firstChild.nodeValue;
				fetch_object('thumbnail').setAttribute('src', videothumbnailpath);
				fetch_object('thumbnail_border').style.display = '';
			}
			catch (e)
			{
			}
		}
	}
	fetch_object('videoajaxbutton').value = vbphrase['request_videoinfo_from_service'];
	fetch_object('videoajaxbutton').disabled = false;
}
Does anyone know why this isnt working? What am i missing?
Reply With Quote
  #609  
Old 01-02-2009, 01:31 PM
jlew24asu jlew24asu is offline
 
Join Date: Nov 2006
Location: Chicago, IL USA
Posts: 702
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok here is a dumb question. how do I add categories?
Reply With Quote
  #610  
Old 01-02-2009, 01:32 PM
jlew24asu jlew24asu is offline
 
Join Date: Nov 2006
Location: Chicago, IL USA
Posts: 702
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does anyone have this on CMPS?
Reply With Quote
  #611  
Old 01-02-2009, 03:01 PM
EWGF EWGF is offline
 
Join Date: May 2007
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfectly with CMPS.

Categories can be added via the admin.
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 12:25 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.10442 seconds
  • Memory Usage 2,331KB
  • Queries Executed 26 (?)
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_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete