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.
Upload all files in the "upload" directory to your forum root.
CHMOD /videothumbnails/* and /includes/videoserviceapi to 777.
Import the product "product-videodirectory.xml" in your Product Manager.
Follow the on screen instructions to configure your video hoster settings.
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:
Upload all files in the "upload" directory to your forum root.
Take note of the information stored in Limits of Videos > General Settings.
Import the product "product-videodirectory.xml" in your Product Manager.
Re-establish your previous Limits settings in Videos > General Settings.
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...
Loved this mod. Just upgraded it to the latest and everything went all smooth. Only issue is, my videos are still showing in the same old smaller size instead of the large size thats in the Screenshots. Please help. I need to have large sized HD videos too.
I have installed and imported host settings and have got many HD videos.
I got vbMediaPlayer 1.2 installed too. Can that be a problem ?
I followed these instructions and it appeared to be working fine, but now I'm getting random database errors in certain threads:
Code:
SELECT *
FROM video
WHERE (userid = );
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3
Error Number : 1064
Any ideas why this might be happening? I really want to be able to use this.
Quote:
Originally Posted by CypherSTL
Alright, seen a few of you asking for this, and I wanted something like this as well for an Off-Road 4x4 Forum I'm working on.
To add a "View My Videos" link to your postbit, only if the user has videos, here is the following template, and plugin.
View My Video's Link: TEMPLATE
--------
Title: video_postbit
Template Code:
Code:
<!-- show vid link -->
<div>
<br>
<a href="video.php?do=viewuser&userid=$post[userid]">View My Videos</a><br />
</div>
<!-- /show vid link -->
PLUGIN
------
Name: Video Directory - Display Video Link in Profile
Hook Location: postbit_display_start
Execution Order: 5
Plugin PHP Code:
Code:
if ((THIS_SCRIPT == 'showpost') OR (THIS_SCRIPT == 'private') OR (THIS_SCRIPT == 'showthread') OR (THIS_SCRIPT == 'announcement') OR (THIS_SCRIPT == 'newreply'))
{
global $db, $vbulletin;
{
if (THIS_SCRIPT == 'private')
{
$this->post['userid'] =& $post['fromuserid'];
}
$alluservideos = $db->query_read("
SELECT *
FROM " . TABLE_PREFIX . "video
WHERE (userid = ".$this->post['userid'].")
");
$db->num_rows($alluservideos);
if ($db->num_rows($alluservideos) > 0)
{
eval('$template_hook[\'postbit_userinfo_right\'] .= "' . fetch_template('video_postbit') . '";');
}
$db->free_result($alluservideos);
}
}
Navigation Link Suggestion: Since the link is added to the navigation bar via plug-ins and some people have vbAdvanced, or another form of CMS/Portal page, this edit for that plugin will automatically add the Forum URL to the link.
Errors found while checking this document as XHTML 1.0 Transitional!
The following sample of the code where the errors is found - can someone direct me to the correct area to "fix". the code is "do=viewdetails&videoid" and should read "do=viewdetails&videoid"
Hi Friends,
I did an upgrade to 1.2.4 and all of a sudden none of my usergroups are able to view any videos.The strange thing is I am not able to check this settting under 'usergroup->video-directory permissions':
Can watch and view video details
Everytime, I say 'yes' and click save, it saves. But then when I try to view it again, it resets it automatically to 'No'.
Can someone help me, I am using 3.8.0 and I have appropriate permissions set for each category under 'Video->Manage Categories'.
How can I set this up so that only certain user groups can post videos into a certain category, but general users can post videos in other categories? I want to have a category for "official" videos for my site, and separate categories for user-supplied videos.
well i have Video-directory on one of my forums and is working fin an tell today i trad to add a you tupe video and the img of the video did not show up so i went to look on the ftp and the img was there but the size of it was '' 0 '' so can u plzz help me fix this thank you.