vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - 8WayRun.Com - Media Library (https://vborg.vbsupport.ru/showthread.php?t=240677)

zapiy 11-20-2010 12:25 PM

I have edited the perms on this and i still can not see where you create new catagories..

It used to be in the drop menu.

motorola 11-20-2010 05:34 PM

1.How can I change the name of the Media showing in the navbar, I want to rename to Videos ?
2. Is it possible to make sub categories ?
3. How can I decrease the minimum characters for the video title and description ?

Please help!

8thos 11-20-2010 09:52 PM

Quote:

Originally Posted by Jaxel (Post 2023595)
CMS widgets will come eventually, but its not a priority right now because right now the VB4 CMS is HOT GARBAGE and I have standards.



Ratings are working flawlessly for me... what errors are you getting exactly? Are you using the most up to date version of this? I've updated it several times today.



Yes, if you go into Administration: Services, you can edit the embed code of each of the hosters and turn off the autoplay flags. The flags are different for each service, so you'll have to figure it out on your own.



You can change "Media" to "Videos" in the PHRASES. This entire mod is phrased. So search your phrases for the test "Media"; the one you are probably looking for is in the GLOBAL phrasegroup.



Below is my current htaccess file. It will handle the rewrites you are looking for, and its the htaccess file I recommend everyone use for their forum. This htaccess will handle the rewrites for vbulletin perfectly, as well as cache your images and files perfectly. Using this file, it single handedly sped up my forum from 5 seconds on the front page to less than 1 second on subsequent loads.

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[678] no-gzip
                BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
        </ifmodule>
</ifmodule>

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

# Media Library
ReWriteRule ^media/m(\d+).*/tags$ media.php?do=tags_edit&mid=$1
ReWriteRule ^media/m(\d+).*/edit$ media.php?do=details_edit&mid=$1
ReWriteRule ^media/m(\d+).*/report$ media.php?do=report&mid=$1
ReWriteRule ^media/m(\d+).*/c(\d+)$ media.php?do=comment_edit&cmt=$2
ReWriteRule ^media/m(\d+).* media.php?do=details&mid=$1
ReWriteRule ^media/c(\d+).* media.php?do=category&cid=$1
ReWriteRule ^media/u(\d+).* media.php?do=user&uid=$1
ReWriteRule ^media/tag/(.*) media.php?do=tag&tid=$1
ReWriteRule ^media/tagcloud.* media.php?do=tag_cloud
ReWriteRule ^media/search/(.*) media.php?do=search&query=$1
ReWriteRule ^media/letter/(.*) media.php?do=letter&query=$1
ReWriteRule ^media/submit.* media.php?do=submit
ReWriteRule ^media/random.* media.php?do=random
ReWriteRule ^media/admin/(\w+).* media.php?do=admin_$1

# Media Library from Video Directory
RewriteCond %{QUERY_STRING} do=viewdetails&videoid=(\d+)
RewriteRule ^video\.php$ media.php?do=details&mid=%1
RewriteCond %{QUERY_STRING} viewcategory&categoryid=(\d+)
RewriteRule ^video\.php$ media.php?do=category&cid=%1
RewriteCond %{QUERY_STRING} viewuser&userid=(\d+)
RewriteRule ^video\.php$ media.php?do=user&uid=%1
RewriteCond %{QUERY_STRING} viewtag&tag=(.*)
RewriteRule ^video\.php$ media.php?do=tag&tid=%1
ReWriteRule ^video\.php$ media.php

# 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} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]

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


Hi! Your htaccess code fixed my problem. Is this up-to-date?

islaremota 11-20-2010 10:49 PM

where are the files of administration?, I can not create categories or anything ... Is this normal?

8thos 11-20-2010 11:13 PM

Quote:

Originally Posted by islaremota (Post 2124022)
where are the files of administration?, I can not create categories or anything ... Is this normal?

https://vborg.vbsupport.ru/external/2010/12/61.jpg

islaremota 11-20-2010 11:21 PM

Thank you friend, the problem was the SEO, deactivated the option and every ok

diabolicds 11-21-2010 09:52 PM

117 pages dang,great mod but have no time to read all post,anyway installed and nominated and donated , thx to coder.

I have only one question :) How to prevent submision of media to specific category?

Cheers

small edit: Also how I can prevent registered users if I give them permission to submit movie ,but I dont want them to give them option to Auto-Create Thread?

diabolicds 11-22-2010 06:12 PM

is this mod supported anymore ? :(

l2-inferno 11-23-2010 03:39 PM

if I would like to add a video comes this message

Warning: curl_exec() has been disabled for security reasons in [path]/includes/class_vurl.php on line 748

pankaj1980 11-24-2010 09:15 AM

Hi ,

Thanks for sharing your work with us.

I have a vBulletin Version 4.0.4 and i tried to integrate Mod Version: 4.1.7. I followed all the steps as mentioned. But when i try to submit media i get following error: Media URL contained invalid data.

I am passing following data:

Media URL: http://www.youtube.com/watch?v=IEJB7DkP7A8&hd=1

I am unable to understand the reason for such an issue.

Please help me on this

Thanks
Pankaj


All times are GMT. The time now is 02:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03414 seconds
  • Memory Usage 1,760KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete