Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
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
  #312  
Old 01-22-2009, 07:08 AM
erinys erinys is offline
 
Join Date: Mar 2006
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

great mod, will you keep this alive towards vb4? no use in it for me to make my members happy with something that will pass thats why i generally choose payed addons.. But this one is really cool so thats why i am asking.

thanks
Reply With Quote
  #313  
Old 01-22-2009, 08:16 PM
TCB's Avatar
TCB TCB is offline
 
Join Date: Jun 2004
Location: the Netherlands
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How come this mod uses so many queries?

video.php?do=viewcategory&categoryid=10 (1 video) takes 9 queries
video.php?do=viewcategory&categoryid=12 (17 videos) takes 25 queries (!?)

you'd think the amount of shown videos in a category would be 'query independant'? For example: when I set the amount of videos to be shown in the vbadvance video directory module from 3 to (for example) 6 videos, it has no influence on the amount of queries for that page. Shouldn't it be cached or something?

When many people browse through the video directory at a particular moment, it really stresses the server.
Reply With Quote
  #314  
Old 01-22-2009, 08:19 PM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TCB, how do you determine how much each video takes as far as queries? I'd like to compare how things are running on my site as well.
Reply With Quote
  #315  
Old 01-22-2009, 08:41 PM
TCB's Avatar
TCB TCB is offline
 
Join Date: Jun 2004
Location: the Netherlands
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ArnyVee View Post
TCB, how do you determine how much each video takes as far as queries? I'd like to compare how things are running on my site as well.
Just install the microstats mod (https://vborg.vbsupport.ru/showthrea...ght=microstats). Although it says it's for vb3.6, it still works like a charm on vb3.8
Reply With Quote
  #316  
Old 01-23-2009, 12:28 AM
tormodg tormodg is offline
 
Join Date: Oct 2004
Location: Oslo, Norway
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there an easy way to get the vB or the vBSEO social bookmarking features to display in this hack? Particularly on each video page.
Reply With Quote
  #317  
Old 01-23-2009, 06:05 AM
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Posts: 1,160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCB View Post
How come this mod uses so many queries?

video.php?do=viewcategory&categoryid=10 (1 video) takes 9 queries
video.php?do=viewcategory&categoryid=12 (17 videos) takes 25 queries (!?)

you'd think the amount of shown videos in a category would be 'query independant'? For example: when I set the amount of videos to be shown in the vbadvance video directory module from 3 to (for example) 6 videos, it has no influence on the amount of queries for that page. Shouldn't it be cached or something?

When many people browse through the video directory at a particular moment, it really stresses the server.
The extra query for each video has to do with the taglist. For each video bit, it has to query the tags on that video. The amoutn of shown videos in the category, IS query independant. However, the scan for tags for each video is not; the amount of tags on each video however, is query independant as well. The reason why this extra query per video is not in the vbadvanced/forumhome mod is because they dont query the tags.
Reply With Quote
  #318  
Old 01-23-2009, 06:54 AM
TCB's Avatar
TCB TCB is offline
 
Join Date: Jun 2004
Location: the Netherlands
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so when tags are disabled showing the list of videos in a category should use much, much queries?

The list of videos in a category is pretty much static untill a new video is added to that category. So why not cache the page? Pulling the data from the database each and everytime someone browse through the videos seems overkill to me.

Perhaps you can contact a developer like thegeek. With his GARS mod, you get to see an icon, description and keywords in the listing of articles (pretty much the same idea as your great mod, but with articles instead of videos), and with his listing just about 9 queries are run (and that's when over 20 articles/icons/descriptions/keywords/authors are shown).
Reply With Quote
  #319  
Old 01-23-2009, 05:35 PM
kapwanero kapwanero is offline
 
Join Date: May 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help me pleaseeeee!!!


Error report:
Code:
Database error in vBulletin 3.8.0:

Invalid SQL:

		SELECT user.*, COUNT(video.videoid) AS videocount
		FROM video AS video
		LEFT JOIN user AS user ON(user.userid = video.userid)
		WHERE NOT ISNULL(user.userid)
		GROUP BY video.userid
		ORDER BY videocount DESC
		LIMIT a;

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 'a' at line 7
Error Number  : 1064
Request Date  : Friday, January 23rd 2009 @ 08:22:24 PM
Error Date    : Friday, January 23rd 2009 @ 08:22:24 PM
Script        : http://www.xxxx.com/forum/video.php
Referrer      : 
IP Address    : 88.xxx.xxxx.134
Username      : xxxx
Classname     : vB_Database
MySQL Version : 5.0.58
Reply With Quote
  #320  
Old 01-23-2009, 05:39 PM
Marka Ragnos Marka Ragnos is offline
 
Join Date: May 2007
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.kustmijnkloten.be/forum/video.php" target="_blank">http://www.kustmijnkloten.be/forum/video.php</a>

nice work Jaxel!
Reply With Quote
  #321  
Old 01-23-2009, 06:24 PM
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Posts: 1,160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

================================================== =========
Version 1.2.2
================================================== =========
  • Changed the way the video taglists are called on the summary pages...
    • Taglists are now cached! This will save your server from being overloaded.
    • The summary taglist cache is rebuild on every video details view.
    • Be sure to run MAINTENANCE > UPDATE COUNTERS > REBUILD VIDEO TAGS
  • More miscellaneous changes to video hosters... Added support for VEOH as a Video Hoster.
  • FILE EDITS SINCE 1.2.0: (make sure you upload these new versions!)
    • upload/video.php
    • upload/includes/class_dm_video.php
    • upload/includes/functions_videodirectory.php
    • upload/includes/functions_videotags.php
    • upload/includes/xml/videohoster-Dailymotion.xml
    • upload/includes/xml/videohoster-Metacafe.xml
    • upload/includes/xml/videohoster-YouTube.xml
    • upload/includes/xml/videohoster-YouTubeHD.xml
    • upload/includes/xml/videohoster-Veoh.xml
Reply With Quote
Reply

Thread Tools

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 11:29 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.06099 seconds
  • Memory Usage 2,359KB
  • 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
  • (1)bbcode_code
  • (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
  • (4)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