Thread: Major Additions - 8WayRun.Com - Media Library
View Single Post
  #59  
Old 04-19-2010, 04:37 AM
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Posts: 1,160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Preech View Post
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 View Post
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 View Post
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 View Post
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 View Post
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]
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01070 seconds
  • Memory Usage 1,804KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete