Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
8WayRun.Com - Media Library Details »»
8WayRun.Com - Media Library
Version: 4.1.7, by Jaxel Jaxel is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Major Additions - Version: 4.0.x Rating:
Released: 04-16-2010 Last Update: 10-26-2010 Installs: 915
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Don't forget to click INSTALL!
I'm an unemployed computer programmer... if you appreciate the work I have done on this mod, please don't hesitate in offering me a donation by clicking the "Support Developer" link to the right of this text. A donation of $50 or more automatically gives you the right to remove the copyright footer for this modification from a single forum.

This is a new modification, spawning from the old VB 3.x Video Directory modifications.
For all intents and purposes, both my old Video Directory Remixed mod, and Survivor's original Video Directory mod have been discontinued. Neither of us are maintaining these older versions, they will not receive any future updates and we will not be providing any support. This version has a new name because it has been completely rewritten from scratch and is not being built on Survivor's old code. Because of this, if you are upgrading to this new version, from the old version, be sure to read this entire post in order to understand the upgrade process.

What is this mod?
Simply put, this mod is a directory for media. It supports URL inputs, in order to extract meta data and directorize media into a simple and easy to understand library. Users can add their favorite media from a select few online distribution centers (such as Youtube or Vimeo) and categorize and tag them as they see fit. This mod offers rudimentary support for the hosting of local media. An administrator can upload a media to the /customVID/ (default) directory; then add the media to the library using the URL code of "local:filename". Media hosted locally will be displayed using JWPlayer, but will not provide meta data, so that kind of information will need to be entered manually.

Demo:
http://www.8wayrun.com/media.php

Features:
  • Integrated directly into the vBulletin user database and product manager.
  • Fully phrased and built on tempaltes for easy re-skinning and styling.
  • Simple to use administration features and usergroup permission settings.
  • Landing page with the most recent, most popular and highest rated media.
  • Ability to add media into a single category, while adding multiple tags.
  • Ability to browse media through categories, tags, and user contributions.
  • Summary tag cloud with a link to the entire list of tags in the system.
  • Comment and rating system based on AJAX including graceful degredation.
  • Individual RSS Feeds for newest videos, categories, tags and user media.
  • Search function for titles and descriptions.
Installation:
If you are upgrading from before version 1.1, please install that version first.
  1. Upload all the files in the "upload" directory of the attached zip file to your forum root.
  2. CHMOD the /customVID/thumbs/ directory to full read/write/execute 777 permissions.
  3. CHMOD the /customVID/sitemap/ directory to full read/write/execute 777 permissions.
  4. Import the product file called "product-medialibrary.xml" in the Product Manager of vBulletin.
  5. Set your usergroup permissions and media library settings in your administration control panel.
  6. OPTIONAL: Enable the "Generate XML Media Sitemap" scheduled task in your administration control panel.

    NOTES: Make sure you decide what you wish to use for your thumbnail quality setting. By default, thumbnails are saved at 50% quality. At 50%, thumbnails will only be 2kb in size, but at the expense of quality. At 100%, thumbnails will be about 15kb in size, but will have the highest quality. I recommend setting it to 80%, which would leave thumbnails at 5kb in size with still excellent quality.

    Every time you change your thumbnail quality setting, you will need to run the "Rebuild Media Thumbnails" to see any changes.
Upgrading from VDR:
  1. The "video*" tables from your previous installation of VDR need to exist in your database.
  2. Enable the "media ADMIN import" plugin in the plugin manager of your control panel.
  3. Run the "Import Media from VDR" process in your update counters menu in maintenance.
  4. Disable the "media ADMIN import" plugin in the plugin manager of your control panel.
  5. Run the "Rebuild Media Thumbnails" process in your update counters menu in maintenance.
  6. You may now uninstall VDR once you confirm everything has been imported as intended.

    NOTES: You will mostly likely get at least one error while rebuilding media thumbnails...

    When you get an error, click the details link for that media. If the media displays some sort of error such as "This video has been removed" or "This video no longer exist", then that means that media is gone and you'll be unable to generate a thumbnail for that particular media. Use the available options on that media's detail page to DELETE it from your library. Then go back to your browser window which is rebuilding thumbnails and click the "retry from this position" link.

    If you got an error for a media, but after clicking the details link you can find no obvious error with the video; then the error could have just been a simple syn/ack failure. Just click the "retry from this position" link and the system will try to rebuild that thumbnail again.
Known Bugs:
There is a conflict with this modification and some of Valter's VSA modifications that will prevent navbar permissions from being handled correctly. I don't know exactly who's fault it is; but I'm pretty sure there are no errors in my code that would be causing this problem. There is a work around for this however.

Admin Control Panel > Plugins & Products > Plugin Manager > "media NAVTAB"

Find the code:
Code:
    $perms = media_permissions();
Replace with:
Code:
$perms['rate'] = true;
$perms['comment'] = true;
$perms['submit'] = true;
$perms['playlist'] = true;
 
if (is_member_of($vbulletin->userinfo, explode(',','5,6')))
{
    $perms['modtags'] = true;
    $perms['modcategory'] = true;
    $perms['modservice'] = true;
}

Download Now

File Type: (21.3 KB, 0 views)
File Type: (21.3 KB, 0 views)
File Type: (21.3 KB, 0 views)
File Type: (21.3 KB, 0 views)
File Type: (21.3 KB, 0 views)
File Type: (21.3 KB, 0 views)
File Type: (21.3 KB, 0 views)
File Type: (21.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2402  
Old 12-11-2011, 06:57 PM
EuroBeat2's Avatar
EuroBeat2 EuroBeat2 is offline
 
Join Date: Feb 2008
Location: New Jersey, US
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yilmaz View Post
be solved in a single row of tags:up:
What exactly code you changed or added. I already modified .xml file with other fixes, including the one just posted by Chatpalace24 so I can load it and update all themes instead doing it manually.
Would you mind to place info what was the old code and what you replace it with?

Thank you.

EB
Reply With Quote
  #2403  
Old 12-11-2011, 10:00 PM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EuroBeat2 View Post
What exactly code you changed or added. I already modified .xml file with other fixes, including the one just posted by Chatpalace24 so I can load it and update all themes instead doing it manually.
Would you mind to place info what was the old code and what you replace it with?

Thank you.

EB
See image

http://i39.tinypic.com/2n036rk.jpg
Reply With Quote
2 благодарности(ей) от:
BlueCheri, EuroBeat2
  #2404  
Old 12-11-2011, 10:45 PM
EuroBeat2's Avatar
EuroBeat2 EuroBeat2 is offline
 
Join Date: Feb 2008
Location: New Jersey, US
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yilmaz View Post
Perfect! You have added space as well so now TAG CLOUD is looking good and working properly.

Thank you so much!

EB
Reply With Quote
Благодарность от:
yilmaz
  #2405  
Old 12-12-2011, 12:59 AM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fahris View Post
Hello

First of all, I thank you.

I installed the add, but failure to give Turkish character.

example:

Yer: Sözler | Yirmi Dokuzuncu Söz | İkinci Maksat | Üçüncü Esas

Help me
To eliminate the Turkish character problem
media/media_submit.php <= this file
Find the line 28
PHP Code:
if ($source) { $feed construct_feed_data($source); } 
Add to it below:
PHP Code:
    $feed['title'] = mb_convert_encoding($feed['title'], "ISO-8859-9","UTF-8");
    
$feed['taglist'] = mb_convert_encoding($feed['taglist'], "ISO-8859-9","UTF-8");
    
$feed['description'] = mb_convert_encoding($feed['description'], "ISO-8859-9","UTF-8"); 
---------------
Repeat Turkish
T?rk?e karekter sorunu kaldırmak i?in

media/media_submit.php <= bu dosyada
28. satırda ara bul
PHP Code:
if ($source) { $feed construct_feed_data($source); } 
Altına bunu ekle:
PHP Code:
    $feed['title'] = mb_convert_encoding($feed['title'], "ISO-8859-9","UTF-8");
    
$feed['taglist'] = mb_convert_encoding($feed['taglist'], "ISO-8859-9","UTF-8");
    
$feed['description'] = mb_convert_encoding($feed['description'], "ISO-8859-9","UTF-8"); 
Reply With Quote
Благодарность от:
fahris
  #2406  
Old 12-12-2011, 11:31 AM
MotMann MotMann is offline
 
Join Date: Jan 2006
Location: Germany
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yilmaz View Post
Thank's

But, i have another Problem with my Seo. If i activate that, then i can't go to the Video Site direct.
I Think it is a Problem with my htaccess... need help.

http://www.consumerbook.de/media.php

Here is my htaccess:

PHP Code:
## Charset
AddDefaultCharset Off 

## ETags
FileETag None

## Expires
<ifModule mod_expires.c>
    
ExpiresActive On
    ExpiresDefault 
"access plus 1 seconds"
    
ExpiresByType text/html "access plus 1 seconds"
    
ExpiresByType image/gif "access plus 259200000 seconds"
    
ExpiresByType image/jpeg "access plus 259200000 seconds"
    
ExpiresByType image/png "access plus 259200000 seconds"
    
ExpiresByType text/css "access plus 60480000 seconds"
    
ExpiresByType text/javascript "access plus 21600000 seconds"
    
ExpiresByType application/x-javascript "access plus 21600000 seconds"
</ifModule>

##Compression##
<ifmodule mod_headers.c>
    <
ifmodule mod_deflate.c>
        
AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
        BrowserMatch 
^Mozilla/4 gzip-only-text/html
        BrowserMatch 
^Mozilla/4\.0[678no-gzip
        BrowserMatch 
\bMSIE !no-gzip !gzip-only-text/html
    
</ifmodule>
</
ifmodule>

## Rewrites##
RewriteEngine on
RewriteCond 
%{REQUEST_FILENAME} -[OR]
RewriteCond %{REQUEST_FILENAME} -[OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule 
^.*$ - [NC,L]


###Forum###
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
ReWriteRule ^entries/.* entry.php [QSA]

RewriteCond %{REQUEST_FILENAME} -[OR]
RewriteCond %{REQUEST_FILENAME} -[OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule 
^.*$ - [NC,L]

###MVC##
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$[QSA]


php_value max_execution_time 120

# Downloads II gr??e
php_value upload_max_filesize 30M
php_value post_max_size 30M 
Reply With Quote
  #2407  
Old 12-13-2011, 04:33 PM
chatpalace24 chatpalace24 is offline
 
Join Date: Jul 2006
Location: Germany
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

phew...i'm not the Author of this addon. But this little change make it easier to work with. But IMHO the Author have to change some codelines to fix it without that Template editing.
Reply With Quote
  #2408  
Old 12-13-2011, 04:40 PM
chatpalace24 chatpalace24 is offline
 
Join Date: Jul 2006
Location: Germany
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MotMann View Post
Thank's

But, i have another Problem with my Seo. If i activate that, then i can't go to the Video Site direct.
I Think it is a Problem with my htaccess... need help.

http://www.consumerbook.de/media.php

Here is my htaccess:

PHP Code:
## Charset
AddDefaultCharset Off 

## ETags
FileETag None

## Expires
<ifModule mod_expires.c>
    
ExpiresActive On
    ExpiresDefault 
"access plus 1 seconds"
    
ExpiresByType text/html "access plus 1 seconds"
    
ExpiresByType image/gif "access plus 259200000 seconds"
    
ExpiresByType image/jpeg "access plus 259200000 seconds"
    
ExpiresByType image/png "access plus 259200000 seconds"
    
ExpiresByType text/css "access plus 60480000 seconds"
    
ExpiresByType text/javascript "access plus 21600000 seconds"
    
ExpiresByType application/x-javascript "access plus 21600000 seconds"
</ifModule>

##Compression##
<ifmodule mod_headers.c>
    <
ifmodule mod_deflate.c>
        
AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
        BrowserMatch 
^Mozilla/4 gzip-only-text/html
        BrowserMatch 
^Mozilla/4\.0[678no-gzip
        BrowserMatch 
\bMSIE !no-gzip !gzip-only-text/html
    
</ifmodule>
</
ifmodule>

## Rewrites##
RewriteEngine on
RewriteCond 
%{REQUEST_FILENAME} -[OR]
RewriteCond %{REQUEST_FILENAME} -[OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule 
^.*$ - [NC,L]


###Forum###
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
ReWriteRule ^entries/.* entry.php [QSA]

RewriteCond %{REQUEST_FILENAME} -[OR]
RewriteCond %{REQUEST_FILENAME} -[OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule 
^.*$ - [NC,L]

###MVC##
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$[QSA]


php_value max_execution_time 120

# Downloads II gr??e
php_value upload_max_filesize 30M
php_value post_max_size 30M 
you need to insert the Rules from the Package. you copy the first lines but where the rules ?

Here my lines out of my .htaccess :
After RewriteEngine on put this :
PHP Code:
Options +FollowSymlinks 
before #forum put this :
PHP Code:
# Media Library
ReWriteRule ^media/m(\d+).*/tagsmedia.php?do=tags_edit&mid=$[QSA]
ReWriteRule ^media/m(\d+).*/editmedia.php?do=details_edit&mid=$[QSA]
ReWriteRule ^media/m(\d+).*/reportmedia.php?do=report&mid=$[QSA]
ReWriteRule ^media/m(\d+).*/c(\d+)$ media.php?do=comment_edit&cmt=$[QSA]
ReWriteRule ^media/m(\d+).*/p(\d+).*$ media.php?do=details&mid=$1&pid=$[QSA]
ReWriteRule ^media/m(\d+).* media.php?do=details&mid=$[QSA]
ReWriteRule ^media/p(\d+).*/editmedia.php?do=playlist_edit&pid=$[QSA]
ReWriteRule ^media/p(\d+).* media.php?do=playlist&pid=$[QSA]
ReWriteRule ^media/c(\d+).* media.php?do=category&cid=$[QSA]
ReWriteRule ^media/u(\d+).* media.php?do=user&uid=$[QSA]
ReWriteRule ^media/tag/(.*) media.php?do=tag&tid=$[QSA]
ReWriteRule ^media/results/(.*) media.php?do=results&query=$[QSA]
ReWriteRule ^media/advresults/(.*) media.php?do=advresults&query=$[QSA]
ReWriteRule ^media/letter/(.*) media.php?do=letter&query=$[QSA]
ReWriteRule ^media/browse.* media.php?do=browse [QSA]
ReWriteRule ^media/search.* media.php?do=search [QSA]
ReWriteRule ^media/random.* media.php?do=random [QSA]
ReWriteRule ^media/submit.* media.php?do=submit [QSA]
ReWriteRule ^media/tagcloud.* media.php?do=tagcloud [QSA]
ReWriteRule ^media/playlists.* media.php?do=playlists [QSA]
ReWriteRule ^media/pcreate.* media.php?do=playlists_create [QSA]
ReWriteRule ^media/pmine.* media.php?do=playlists_mine [QSA]
ReWriteRule ^media/favorites.* media.php?do=favorites [QSA]
ReWriteRule ^media/subscriptions.* media.php?do=subscriptions [QSA]
ReWriteRule ^media/admin/edit/s(\d+).* media.php?do=admin_host_edit&sid=$[QSA]
ReWriteRule ^media/admin/delete/s(\d+).* media.php?do=admin_host_delete&sid=$[QSA]
ReWriteRule ^media/admin/export/s(\d+).* media.php?do=admin_host_export&sid=$[QSA]
ReWriteRule ^media/admin/(\w+).* media.php?do=admin_$[QSA]

# Media Library from Video Directory
RewriteCond %{QUERY_STRING} do=viewdetails&videoid=(\d+)
RewriteRule ^video\.phpmedia.php?do=details&mid=%1
RewriteCond 
%{QUERY_STRINGviewcategory&categoryid=(\d+)
RewriteRule ^video\.phpmedia.php?do=category&cid=%1
RewriteCond 
%{QUERY_STRINGviewuser&userid=(\d+)
RewriteRule ^video\.phpmedia.php?do=user&uid=%1
RewriteCond 
%{QUERY_STRINGviewtag&tag=(.*)
RewriteRule ^video\.phpmedia.php?do=tag&tid=%1
ReWriteRule 
^video\.phpmedia.php 
Save it and thats it.
Reply With Quote
  #2409  
Old 12-13-2011, 05:39 PM
AndyNady AndyNady is offline
 
Join Date: Sep 2011
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try to add any video, I get this message
Code:
Forbidden

You don't have permission to access /media.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Can you help?
Reply With Quote
  #2410  
Old 12-13-2011, 10:56 PM
gm139 gm139 is offline
 
Join Date: Nov 2011
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I click on the media tab I get the following error:

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

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?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Reply With Quote
  #2411  
Old 12-14-2011, 01:38 AM
velosteraddict velosteraddict is offline
 
Join Date: Dec 2011
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am the Admin. When I click the 'Media' tab after installation I get the following vB message:

"<User>, you do not have permission to access this page. This could be due to one of several reasons: "?

How do I explicitly 'Set my usergroup permissions and media library settings in my administration control panel.' so I can view Media?
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 06:12 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.12487 seconds
  • Memory Usage 2,503KB
  • Queries Executed 28 (?)
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
  • (8)bbcode_php
  • (6)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
  • (20)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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