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
  #662  
Old 04-09-2009, 12:55 PM
abhimation's Avatar
abhimation abhimation is offline
 
Join Date: Dec 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,

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 ?
Attached Files
File Type: (21.4 KB, 25 views)
Reply With Quote
  #663  
Old 04-09-2009, 01:00 PM
GaRanT GaRanT is offline
 
Join Date: Nov 2007
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what to do if Captcha not show digits for Unregistered / Not Logged In.. users?
Reply With Quote
  #664  
Old 04-10-2009, 06:01 AM
lnxtr lnxtr is offline
 
Join Date: Jun 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Turkish video Don't true add
Reply With Quote
  #665  
Old 04-10-2009, 07:40 PM
nasko nasko is offline
 
Join Date: Sep 2005
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nasko View Post
I have a problem. I get BLANK page when i open the link.
After a little debug i found the error on line 895 where:
PHP Code:
$announcement $bbcode_parser->parse($vbulletin->options['videodirectory_announcement']); 
Ideas how to fix this?
Please help me! What could be the problem?
Reply With Quote
  #666  
Old 04-10-2009, 08:21 PM
tjmaxwell tjmaxwell is offline
 
Join Date: Jul 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

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 View Post
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.

Plug-In Name: Navbar-Link
Product: Video-Directory
Code:
if ($vbulletin->options['videodirectory_navbarlink_hook'] == 1)
{
    $template_hook['navbar_buttons_left'] .= '<td class="vbmenu_control"><a href="'.$vbulletin->options['bburl'].'/video.php'.$session['sessionurl'].'">'.$vbphrase['video_directory'].'</a></td>';
}

if ($vbulletin->options['videodirectory_navbarlink_hook'] == 2)
{
    $template_hook['navbar_quick_links_menu_pos1'] .= '<tr><td class="vbmenu_option"><a href="'.$vbulletin->options['bburl'].'/video.php'.$session['sessionurl'].'">'.$vbphrase['video_directory'].'</a></td></tr>';
}

if ($vbulletin->options['videodirectory_navbarlink_hook'] == 3)
{
    $template_hook['navbar_community_menu_end'] .= '<tr><td class="vbmenu_option"><a href="'.$vbulletin->options['bburl'].'/video.php'.$session['sessionurl'].'">'.$vbphrase['video_directory'].'</a></td></tr>';
}
Jaxel, feel free to add these to the mod if you would like.
Reply With Quote
  #667  
Old 04-10-2009, 11:03 PM
CypherSTL CypherSTL is offline
 
Join Date: Mar 2006
Location: St. Charles, MO
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds like it isn't properly carrying over the variable for the posts user id.

Try adding the video_postbit template to the cache_templates.
Reply With Quote
  #668  
Old 04-11-2009, 04:58 PM
Stefanus Stefanus is offline
 
Join Date: Aug 2007
Location: RSA - Boerland
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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&amp;videoid"
PHP Code:
#  <td class="thead">Random Videos</td>
# </tr>
# <tr>
# <td class="alt1" align="center">
# <div style="position: relative;">
# <span style="position:absolute; bottom:0px; right:3px; font-size:12px; color:#FFFFFF; background-color:#000000; padding:2px;">
# <strong>7:26</strong>
# </span>
# <a href="video.php?do=viewdetails&videoid=13"><img src="videothumbnails/YouTube/-i57BB0IGWE.jpg" alt="xxxxxxxxxx" title="xxxxxxxxxx" style="width: 150px;" border="0" /></a></div>
# <div style="padding-top: 3px;"><span class="smallfont"><a href="video.php?do=viewdetails&videoid=13">xxxxxxxxxx</a></span></div> 
Thanks,
Stefanus
Reply With Quote
  #669  
Old 04-11-2009, 06:18 PM
wicked80 wicked80 is offline
 
Join Date: Feb 2008
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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'.
Reply With Quote
  #670  
Old 04-11-2009, 07:24 PM
Zarxrax Zarxrax is offline
 
Join Date: Mar 2009
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #671  
Old 04-13-2009, 12:10 AM
Michael.A's Avatar
Michael.A Michael.A is offline
 
Join Date: Dec 2008
Location: L.A
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

forum url = http://coderz4life.com/forums/video.php
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:41 PM.


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.05681 seconds
  • Memory Usage 2,374KB
  • 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
  • (4)bbcode_code
  • (2)bbcode_php
  • (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
  • (5)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
  • (9)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