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)

your24hourstore 04-18-2010 08:39 PM

1 Attachment(s)
mine wont show the administer categories

Jaxel 04-18-2010 09:29 PM

1 Attachment(s)
Okay, I just uploaded a new version which fixes the style for people who store as files...

Quote:

Originally Posted by pramid (Post 2023362)
How do I add categories. I can not see anything to add categories

Quote:

Originally Posted by harleyparts (Post 2023408)
mine wont show the administer categories


I feel like I'm on crazy pills here...
https://vborg.vbsupport.ru/external/2010/04/37.jpg

Quote:

Originally Posted by Veer (Post 2023395)
Jaxel, can you provide htaccess code to convert old video URLs into the new media URL? so we will not get not found errors.


Can't help you with this, as I don't use VBSEO and I have no idea what your original URLs were.

Veer 04-18-2010 09:35 PM

Quote:

Originally Posted by Jaxel (Post 2023441)
Can't help you with this, as I don't use VBSEO and I have no idea what your original URLs were.

I never used vbseo, my video urls was just like as yours at 8wayrun.com/video.php

http://www.8wayrun.com/video.php
http://www.8wayrun.com/video.php?do=...y&categoryid=4
http://www.8wayrun.com/video.php?do=...s&videoid=1482
http://www.8wayrun.com/video.php?do=...er&userid=2674
http://www.8wayrun.com/video.php?do=...&tag=nightmare

Just need to convert these urls into new media library urls.

freexav 04-18-2010 09:39 PM

very nice work dude!
just awesome!
is-there a way to change "media" to "videos"?

Veer 04-18-2010 09:47 PM

Is there any way to stop auto playing?

dxds 04-18-2010 10:00 PM

You are a pro coder.. thats for sure.. even your site is truly amazing skills.. I uploaded the files i just downloaded today.. all of them and overwrite old but still rating don't work.. it also says done but with errors on page like before.. Thanks for doing such great work.. ill be patient as i know your working when you can.. thanks..


Forum Link: http://aogamers.com/forums/media.php?

Preech 04-18-2010 10:22 PM

Will the be the CMS widgets as well.

Jaxel 04-19-2010 04:37 AM

Quote:

Originally Posted by Preech (Post 2023463)
Will the be the CMS widgets as well.

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.


Quote:

Originally Posted by dxds (Post 2023456)
You are a pro coder.. thats for sure.. even your site is truly amazing skills.. I uploaded the files i just downloaded today.. all of them and overwrite old but still rating don't work.. it also says done but with errors on page like before.. Thanks for doing such great work.. ill be patient as i know your working when you can.. thanks..

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.


Quote:

Originally Posted by Veer (Post 2023447)
Is there any way to stop auto playing?

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.


Quote:

Originally Posted by freexav (Post 2023445)
very nice work dude!
just awesome!
is-there a way to change "media" to "videos"?

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.


Quote:

Originally Posted by Veer (Post 2023443)

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]


Jabong82 04-19-2010 05:39 AM

Hello Jaxel, I think this is a great mod and will prob purchase the copyright free version. Do you offer general support with this though if we make purchase? (ie. just bugs, not custom work etc)?

Veer 04-19-2010 05:58 AM

Quote:

Originally Posted by Jaxel (Post 2023595)
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.

Yes, I got it, thank you.
Quote:

Originally Posted by Jaxel (Post 2023595)
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.

Works perfectly, thanks a lot.


All times are GMT. The time now is 06:45 PM.

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.06591 seconds
  • Memory Usage 1,768KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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