Video-Directory Remixed v1.2.4

Itsuki Minami

New Member
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: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:
  • AJAX handling of video comments (to avoid refresh during playback)
Don't forget to click INSTALL!

If you want to donate, I'm all for it... as I'm an unemployed computer programmer...

Changelog

===========================================================
Version 1.2.5
===========================================================

* Added "Recent Videos" summary page. A page JUST for recent videos!
* Added a "Watch Random Video" function. This is done with ?do=random.
{*]Added the ability to set the location of the sidebar from left to right.
* Added the ability to set the location of the cloud from top to bottom.
* Added the "Videos in profile block" function for profile videos!
* FILE EDITS SINCE 1.2.4: (make sure you upload these new versions!)
o upload/video.php
* TEMPLATE EDITS SINCE 1.2.4: (make sure you revert these templates!)
o video_home
o video_profile
o video_profile_bit
o video_recent
o VIDEO_SHELL
o VIDEO_SHELL_SIDE
o video_user

===========================================================
Version 1.2.4
===========================================================

* FILE EDITS SINCE 1.2.3: (make sure you upload these new versions!)
o You MUST remember to re-import all of your video hosters after upgrading.
o upload/includes/xml/videohoster-Dailymotion.xml
o upload/includes/xml/videohoster-MegaVideo.xml
o upload/includes/xml/videohoster-Metacafe.xml
o upload/includes/xml/videohoster-Veoh.xml
o upload/includes/xml/videohoster-Vimeo.xml
o upload/includes/xml/videohoster-VimeoHD.xml
o upload/includes/xml/videohoster-YouTube.xml
o upload/includes/xml/videohoster-YouTubeHD.xml

===========================================================
Version 1.2.3
===========================================================

* You can now sort category, user and tag listings based on Dateline, Title and Ratings...
* FILE EDITS SINCE 1.2.2: (make sure you upload these new versions!)
o upload/video.php
o upload/includes/xml/videohoster-Dailymotion.xml
o upload/includes/xml/videohoster-Metacafe.xml
o upload/includes/xml/videohoster-YouTube.xml
o upload/includes/xml/videohoster-YouTubeHD.xml
o upload/includes/xml/videohoster-Veoh.xml
* TEMPLATE EDITS SINCE 1.2.2: (make sure you revert these templates!)
o video_bit
o video_bit_more
o video_category
o video_home
o VIDEO_SHELL
o video_tag
o video_user

===========================================================
Version 1.2.2
===========================================================

* Changed the way the video taglists are called on the summary pages...
o Taglists are now cached! This will save your server from being overloaded.
o The summary taglist cache is rebuild on every video details view.
o 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.1: (make sure you upload these new versions!)
o upload/video.php
o upload/includes/class_dm_video.php
o upload/includes/functions_videodirectory.php
o upload/includes/functions_videotags.php
o upload/includes/xml/videohoster-Dailymotion.xml
o upload/includes/xml/videohoster-Metacafe.xml
o upload/includes/xml/videohoster-YouTube.xml
o upload/includes/xml/videohoster-YouTubeHD.xml
o upload/includes/xml/videohoster-Veoh.xml

===========================================================
Version 1.2.1
===========================================================

* Changed the way certain video hoster setting options work.
o These options are now global options, instead of being individual to each hoster.
o There is now a new "Video detail settings" menu in your Admin Control Panel.
o This change was made so that I could support a plugin based [VIDEO] BB code.
o You MUST remember to re-import all of your video hosters after upgrading.
* Added support for plugin based [VIDEO] and [VIDEO=XXX] bbcodes!.
o There is an option in the general settings to enable or disable these video tags.
o If enabled, users will be able to embed videos from the video directory in their posts.
o There are no permission checks on this; if a video is embedded, ANYONE can see it.
o If you enable video bbcodes, they will replace the existing bb codes in video details.
* FILE EDITS SINCE 1.2.0: (make sure you upload these new versions!)
o upload/video.php
o upload/includes/functions_videodirectory.php
o upload/includes/xml/cpnav_videodirectory.xml
o upload/includes/xml/videohoster-Dailymotion.xml
o upload/includes/xml/videohoster-Metacafe.xml
o upload/includes/xml/videohoster-YouTube.xml
o upload/includes/xml/videohoster-YouTubeHD.xml
* TEMPLATE EDITS SINCE 1.2.0: (make sure you revert these templates!)
o NEW: video_bbcode
o some random plugin changes...

===========================================================
Version 1.2.0
===========================================================

* Extended support for RSS Feeds and tagging while viewing video details.
o Now when you few video details, ALL tag RSS feeds will be selectable.
* Added the option to turn off text fields for URL, BB Codes and Embed Codes.
o These settings are in the settings of each individual video-hoster xml file.
o Because of this, you MUST upgrade all your video-hosters to the 1.2.0 version.
o No video-hosters prior to version 1.2.0 will function with this version.
o You MUST remember to re-import all of your video hosters after upgrading.
* FILE EDITS SINCE 1.1.9: (make sure you upload these new versions!)
o upload/video.php
o upload/includes/xml/videohoster-Dailymotion.xml
o upload/includes/xml/videohoster-Metacafe.xml
o upload/includes/xml/videohoster-YouTube.xml
o upload/includes/xml/videohoster-YouTubeHD.xml
* TEMPLATE EDITS SINCE 1.1.9: (make sure you revert these templates!)
o VIDEO_SHELL
o video_details

===========================================================
Version 1.1.9
===========================================================

* Added support for navlinks in the COMMUNITY LINKS in vBulletin 3.8.0
o Some plugins have changed for this release.
* Added support for individual RSS feeds for Categories, Users and Tags
o You can now subscribe to individual feeds for categories, users and tags
o Both users and categories are sorted in the filter if you use IE for RSS.
+ Firefox does not use the filter, so if you use FF, you wont see this.
o Unregistered must have "Can view video-directory" permission for RSS to work.
* FILE EDITS SINCE 1.1.8: (make sure you upload these new versions!)
o upload/video.php
o upload/includes/functions_videodirectory.php
o upload/includes/xml/videohoster-Dailymotion.xml
* TEMPLATE EDITS SINCE 1.1.8: (make sure you revert these templates!)
o VIDEO_SHELL

===========================================================
Version 1.1.8
===========================================================

* BUG FIX: fixed DOM retrieval errors in Mozilla Firefox...
o Firefox will now correctly retrieve timelength and keyword information
o Thanks logicuk for informing me about this problem.
* FILE EDITS SINCE 1.1.7: (make sure you upload these new versions!)
o Just re-upload the ENTIRE /upload/ directory.
* TEMPLATE EDITS SINCE 1.1.7: (make sure you revert these templates!)
o Just re-vert all of your Video Directory templates!

===========================================================
Version 1.1.7
===========================================================

* BUG FIX:
* Upgrades no longer try to re-install the hosters; it was causing problems.
* Fixed incompatibilities with the admin control panel and VBSEO.
* Added an option to allow or disallow the retrieving of Tags/Keywords from an API.
* Added fully working API from Dailymotion that now supports keywords and timecodes.
* Added fully working API from Metacafe that now supports keywords and timecodes.
* FILE EDITS SINCE 1.1.6: (make sure you upload these new versions!)
o DELETE upload/video.php
o upload/video_admin.php
o upload/clientscript/vbulletin_ajax_videodirectory.js
o upload/includes/xml/cpnav_videodirectory.xml
o upload/includes/xml/videohoster-Dailymotion.xml
o upload/includes/xml/videohoster-Metacafe.xml
o upload/includes/xml/videohoster-YouTube.xml
o upload/includes/xml/videohoster-YouTubeHD.xml
o upload/videothumbnails/Dailymotion (CHMOD to 777)
o upload/videothumbnails/Metacafe (CHMOD to 777)
* TEMPLATE EDITS SINCE 1.1.6: (make sure you revert these templates!)
o video_add

===========================================================
Version 1.1.6
===========================================================

This update is mostly a series of bug fixes.

* Reformatted the entire install script so its easier to debug and process.
* Upgrades will now re-install your hosters. So you dont have to do it manually.
* The tag cloud now constructs tag fonts using PIXELS (px), instead of POINTS (pt).
o Pixel fonts give higher accuracy and control of text sizes, over points.
* BUG FIX: Fixed installation errors by switching to the dbalter function.
* BUG FIX: Fixed the tag cloud display error for people who use table prefixes.
* BUG FIX: Fixed the tag cloud insertion error from the admin control panel.
* BUG FIX: Fixed the tag cloud video count for people who use table prefixes.
* BUG FIX: Fixed the tag search error with tags that have an apostrophe in them.
* BUG FIX: Fixed navbit errors for videocategory for prefixes on edit tag page.
* FILE EDITS SINCE 1.1.5: (make sure you upload these new versions!)
o upload/video.php
o upload/videotag.php
o upload/admincp/video.php
o upload/includes/functions_videotags.php
* Removed the tweaked vBAdvanced modules at request of the original author.

===========================================================
Version 1.1.5
===========================================================

* Added support for the editing of timecodes for video_add and video_edit.
o You MUST revert these two templates or timecodes will fail to edit.
* BUG FIX: Fixed "invalid level field" error for new installations.
* BUG FIX: Fixed "table_prefix" error for upgrade installations.
* BUG FIX: Fixed "tag cloud" error for directories with empty clouds.
* FILE EDITS SINCE 1.1.4: (make sure you upload these new versions!)
o upload/video.php
o upload/clientscript/vbulletin_ajax_videodirectory.js
o upload/includes/functions_videotags.php

===========================================================
Version 1.1.4
===========================================================

* Added a setting for an announcement on the landing page (video_home).
* Added support for avatars in the comment bits; also cleaned up the formatting.
* Added fields for the duration length of videos from YouTube.
o This value is stored in seconds in the database.
o When you add a video, this information will be retrieved automatically.
o Older videos must be edited manually from within the database.
* Added support for control panel handling the tagging system.
o You can now create and delete tags through the admin CP.
* Added video preview on the add video page that shows when you click retrieve.
* Changed the way category levels are handled; there is no longer a sub template.
o The level is handled through a simple if statement in the catbits.
* BUG FIX: Now when you delete a video, it now properly deletes the thumbnail.

===========================================================
Version 1.1.3
===========================================================

* Added support for a tagging system and tag cloud!
o Anyone who can edit a video can now add tags to that video.
o A tag cloud is also constructed dynamicly on the home page.
o The tag cloud does NOT have a tag search caching system...
o When adding a video, it retrieves keywords from the service.
o The tagging system is configurable with its on option screen
* YouTube XML files now have settings for autoplay, fullscreen and related options.
* Added a usergroup permission for watching videos. (NOTE: OFF BY DEFAULT!)
o Unless a usergroup has this permission, they can not watch any videos.
o They may still be able to browse the video directory, just not watch.
* BUG FIX: videos from disallowed categories are now properly hidden on user pages.
* BUG FIX: videos from disallowed categories are now properly hidden on tag pages.
* BUG FIX: videos from disallowed categories are now properly hidden on small bits.

===========================================================
Version 1.1.2
===========================================================

* Changed the way the YouTubeHD handles the recognition of high definition urls.
o Simply change the HTTP in your youtube link to HDEF!
o This will signify an HD YouTube video instead of an SD YouTube video.
o Marking an SD only video as HD, will break the video playback.
* Added support for multi-column video listings.
o You can now define a number of columns for your listing pages.
o If you define 1 column, the preview continues to call on video_bit.
o If you define more than 1 column, the preview calls on video_bit_more.
* Added length of preview title; so you can restrict length with ellipses.
* Changed templates to define max overflows for information fields in video bits.
o <div class="smallfont" style="max-height: 13px; overflow: hidden;">
o <div class="smallfont" style="max-height: 52px; overflow: hidden;">
o This guarantees your tables never overflow because of text lengths.
* BUG FIX: the homepage now properly calls up the top rated construct.
* BUG FIX: search results now properly call up the videosperpage value.

===========================================================
Version 1.1.1
===========================================================

* Added basic support for SEO slugs. To enable SEO slugs, uncomment out the line:

// define('SEO_ENABLED', true);
in upload/video.php

o Enabling the SEO slug is NOT for people with vbSEO, you dont need it.
o The required apache rewrite rules are in htaccess.txt.
o BUG: Enabling the SEO slug will inherintly break the Who's Online recognition.
o BUG: The &page= variable in the SEO slug is not properly optimized.
* Added support for videocategory leveling. This is not a sub-category system.
o The level simply implies the indent level of a category.
o This makes it LOOK like categories are sub-categories, when they arent.
* Added support for video listings based on contributor user accounts.
o Clicking on a username will bring a view to all videos by that user.
* Created "video_details_embed" to move embedded videos above the shell.
o This gives more space to high definition video services.
* "Random" and "Best Reated" listing options have been removed from video_details.
o These searches are now delegated to only home/category/user/tag listings.
o The "Related Videos" listing option has remained intact on video_details.
* Added support for High Definition notation in video preview bits.
o If an embed XML has "HD" in the title, it gets read as an HD stream.
* VideoBBCode construct now pulls in the video title for option values.
* Category Display is now forced on all pages with video preview bits.
* BUG FIX: Rewrote a majority of phrases and templates for better English.
* BUG FIX: PageNav for comments on video_details, now calls up the proper construct.
* BUG FIX: Delete Comment page is now constructed properly for form widths.
* BUG FIX: RSS feeds are now properly sanitized for Internet Explorer and Opera.
* BUG FIX: Fixed true/false 1/0 construction in YouTube embed codes.
 

Patchy

New Member
crzyvirus said:
wats da new update from 1.2.3 to 1.2.4? anything new?

===========================================================
Version 1.2.4
===========================================================
FILE EDITS SINCE 1.2.3: (make sure you upload these new versions!)

You MUST remember to re-import all of your video hosters after upgrading.

upload/includes/xml/videohoster-Dailymotion.xml

upload/includes/xml/videohoster-MegaVideo.xml

upload/includes/xml/videohoster-Metacafe.xml

upload/includes/xml/videohoster-Veoh.xml

upload/includes/xml/videohoster-Vimeo.xml

upload/includes/xml/videohoster-VimeoHD.xml

upload/includes/xml/videohoster-YouTube.xml

upload/includes/xml/videohoster-YouTubeHD.xml

===========================================================
 

Perfecta

New Member
Manage categories
Manage video tags
Manage hoster
Hoster settings

all show a page not found..


i'm on 3.8.2..
 

Perfecta

New Member
and when going to page via navbar i get...

Perfecta, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.


i am root admin..???

please help!
 

Itsuki Minami

New Member
Perfecta said:
and when going to page via navbar i get...

Perfecta, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.


i am root admin..???

please help!

xD ok got to read everyones reply xD you got to give every group permissions D: even for admins :3 try it
 

BaCo35

New Member
Hi Itsuki,

That 8WayRun site looks awesome.
Any chance you can share the templates by exmachina? they are awesome!
 

Itsuki Minami

New Member
xDU actually I just copy/pasted what is in the thread of vbulletin.org so that site is of the original author sorry :3 maybe post a rip request someone may help you
 

Perfecta

New Member
Itsuki Minami said:
xD ok got to read everyones reply xD you got to give every group permissions D: even for admins :3 try it

yeah, i done that 5 mins after posting that reply...lol, i can access it from navbar, but can't add nothing or do anything with it....
 

Perfecta

New Member
also..lol, when opening the general settings i get "Obviously you have installed vBSEO, but the video-directory isn't integrated in vBSEO yet.

To rewrite the links of the video-directory, add in your vBSEO-control center in "user definded rewrite rules" what follows:"

in my vBSEO control center i have NO area called "user definded rewrite rules"


damn this is giving me a headache!
 
Top