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
  #1772  
Old 07-23-2013, 05:08 AM
Romamo Romamo is offline
 
Join Date: Nov 2008
Location: Cyprus
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have lost video thumbnails try this patch for 1.3.0.
Edit class_dm_video.php
PHP Code:
    function pre_save($doquery true)
    {
        
$this->thumbnail_save();

    function 
thumbnail_save()
    {
        require_once(
DIR '/includes/videoserviceapi/class_' strtolower($this->fetch_field('videoservice')) . '.php');
        
$classname "vB_VideoSharingService_".$this->fetch_field('videoservice');

        
$obj =& new $classname($this->registry);
        if (
$obj->verify_service($this->fetch_field('videourl')))
        {
            if (
$obj->prepare_data())
            {
                if (
$obj->fetch_thumbnailpath())
                {
                    
$obj->file_save_thumbnail();
                }
            }
        }

    } 
Edit & save each video with lost thumbnail.
Reply With Quote
  #1773  
Old 12-04-2013, 03:28 PM
umut17 umut17 is offline
 
Join Date: Dec 2013
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a problem...after the installation if i give an url..it says invalid url
Reply With Quote
  #1774  
Old 12-05-2013, 04:26 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks like youtube switched it up again.. at one point we had to use the URL from the Share button for vids to show... now you have to use the full URL from the address bar.
Reply With Quote
  #1775  
Old 04-04-2014, 05:02 AM
skubaman skubaman is offline
 
Join Date: Dec 2006
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Guys, I recently had to move to a new server that only runs PHP 5.3.8, so I had to upgrade by VBulletin so it would be compatible.

The video-directory is appearing but with some errors. I think related to the header, so it's also not dropping cookies, I believe.

These are the errors:

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

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

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

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

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

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

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

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

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

Deprecated: Assigning the return value of new by reference is deprecated in /home/snow07/public_html/forum/includes/class_core.php on line 2552
Could this be related to the fact I am not yet running the DNS for my domain name on the new server? I have instead changed the locahost file on my machine during testing.

Thanks
Reply With Quote
  #1776  
Old 04-06-2014, 03:43 AM
skubaman skubaman is offline
 
Join Date: Dec 2006
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I was really hoping to get some help here. Anyone?

Thanks
Reply With Quote
  #1777  
Old 04-06-2014, 05:00 AM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by skubaman View Post
Hi, I was really hoping to get some help here. Anyone?

Thanks
Open your init.php file with an editor like notepad++, (make a backup of it first), then go to all of those line numbers in your message above and look for this "=&" and delete just the "&" on all of those lines, then save and re-upload the file.
Reply With Quote
  #1778  
Old 04-06-2014, 07:19 PM
skubaman skubaman is offline
 
Join Date: Dec 2006
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by viper357 View Post
Open your init.php file with an editor like notepad++, (make a backup of it first), then go to all of those line numbers in your message above and look for this "=&" and delete just the "&" on all of those lines, then save and re-upload the file.
Thanks. Do you know why this happens?

Anyway, I made the change to the first line 55 to see if it would skip over that error. It ended up skipping all of them and showing this new one. Nothing is working now.

Quote:
Parse error: syntax error, unexpected T_LNUMBER in /home/snow07/public_html/forum/includes/init.php on line 12
So I actually went back and uploaded the backup file just to see if would go back to original errors. No, it now skips all errors and just keeps showing the one above.

But line 12 is blank as you can see below. Not sure what to do?


Quote:
1 <?php
2 /*================================================= =====================*\
3 || ################################################## ################## ||
4 || # vBulletin 3.8.7 Patch Level 4 - Licence Number VBFF7971A0
5 || # ---------------------------------------------------------------- # ||
6 || # Copyright ?2000-2014 vBulletin Solutions, Inc. All Rights Reserved. ||
7 || # This file may not be redistributed in whole or significant part. # ||
8 || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
9 || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
10 || ################################################## ################## ||
11 \*================================================ ======================*/
12
13 if (!defined('VB_AREA') AND !defined('THIS_SCRIPT'))
14 {
15 echo 'VB_AREA and THIS_SCRIPT must be defined to continue';
16 exit;
17 }
Please help.

Thanks
Reply With Quote
  #1779  
Old 04-07-2014, 07:11 AM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure what that error means, sorry, when I changed all of the "=&" in my file it solved my problem for me, it's been working fine ever since.
Reply With Quote
  #1780  
Old 04-07-2014, 03:55 PM
skubaman skubaman is offline
 
Join Date: Dec 2006
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by viper357 View Post
Not sure what that error means, sorry, when I changed all of the "=&" in my file it solved my problem for me, it's been working fine ever since.
Seems to have been the stupid BBedit, which in general is a great editor.
Thanks
Reply With Quote
  #1781  
Old 04-11-2014, 06:55 AM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Romamo View Post
If you have lost video thumbnails try this patch for 1.3.0.
Edit class_dm_video.php
PHP Code:
    function pre_save($doquery true)
    {
        
$this->thumbnail_save();

    function 
thumbnail_save()
    {
        require_once(
DIR '/includes/videoserviceapi/class_' strtolower($this->fetch_field('videoservice')) . '.php');
        
$classname "vB_VideoSharingService_".$this->fetch_field('videoservice');

        
$obj =& new $classname($this->registry);
        if (
$obj->verify_service($this->fetch_field('videourl')))
        {
            if (
$obj->prepare_data())
            {
                if (
$obj->fetch_thumbnailpath())
                {
                    
$obj->file_save_thumbnail();
                }
            }
        }

    } 
Edit & save each video with lost thumbnail.



Anyone have better instructions then this?
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 02:49 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.05379 seconds
  • Memory Usage 2,388KB
  • 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_php
  • (7)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