vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   Step by Step guide to speed up your VB4 OR VB3 (https://vborg.vbsupport.ru/showthread.php?t=267588)

TECK 11-03-2011 10:21 PM

Quote:

Originally Posted by extreme-gaming (Post 2227826)
http://discovertheartist.com/product-cdn.xml

(right click and save) & upload

That product is not available for download anymore. I contact MaxCDN and they don't have the file. Can you please attach it here? Thanks.

final kaoss 11-04-2011 11:58 AM

First you'll have to ask vbseo, since they made the plugin. My bet would be that vbseo contacted discovertheartist.com and asked them to remove the xml from public visitors.

If they wish for it to be public, it is up to them to upload it here, seeing as it isn't my product.

abumohamed 11-06-2011 01:23 AM

great article.
thank you so much

final kaoss 12-22-2011 04:59 AM

This now works for the current vbulletins (4.1.5 and up)

Jump to post 1 for the htaccess

thompson 12-31-2011 12:12 PM

will give it a try.

final kaoss 01-09-2012 10:19 PM

Updated the first post. Now the htaccess has been revised to work with practically any vbulletin setup with or without vbseo installed.

Hornstar 01-31-2012 08:51 AM

Hey I am on vb 3.8.x with vbseo.

Which set of rules should I add to my htaccess file? The one in the first post? or is the one in the 2nd post better? It just looks strange in the fist post because lots of it says vbulletin 4.

Thanks.

final kaoss 02-02-2012 01:01 AM

they are both the same thing. Essentially when using vbseo, the htaccess would look like this.

PHP Code:

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$[L]

RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$[L,QSA]

RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$[L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteCond 
%{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$[L,QSA]

#Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
    
AddType text/css .css
    AddType application
/x-javascript .js
    AddType text
/richtext .rtf .rtx
    AddType image
/svg+xml .svg .svgz
    AddType text
/plain .txt
    AddType text
/xsd .xsd
    AddType text
/xsl .xsl
    AddType video
/asf .asf .asx .wax .wmv .wmx
    AddType video
/avi .avi
    AddType image
/bmp .bmp
    AddType application
/java .class
    
AddType video/divx .divx
    AddType application
/msword .doc .docx
    AddType application
/x-msdownload .exe
    AddType image
/gif .gif
    AddType application
/x-gzip .gz .gzip
    AddType image
/x-icon .ico
    AddType image
/jpeg .jpg .jpeg .jpe
    AddType application
/vnd.ms-access .mdb
    AddType audio
/midi .mid .midi
    AddType video
/quicktime .mov .qt
    AddType audio
/mpeg .mp3 .m4a
    AddType video
/mp4 .mp4 .m4v
    AddType video
/mpeg .mpeg .mpg .mpe
    AddType application
/vnd.ms-project .mpp
    AddType application
/vnd.oasis.opendocument.database .odb
    AddType application
/vnd.oasis.opendocument.chart .odc
    AddType application
/vnd.oasis.opendocument.formula .odf
    AddType application
/vnd.oasis.opendocument.graphics .odg
    AddType application
/vnd.oasis.opendocument.presentation .odp
    AddType application
/vnd.oasis.opendocument.spreadsheet .ods
    AddType application
/vnd.oasis.opendocument.text .odt
    AddType audio
/ogg .ogg
    AddType application
/pdf .pdf
    AddType image
/png .png
    AddType application
/vnd.ms-powerpoint .pot .pps .ppt .pptx
    AddType audio
/x-realaudio .ra .ram
    AddType application
/x-shockwave-flash .swf
    AddType application
/x-tar .tar
    AddType image
/tiff .tif .tiff
    AddType audio
/wav .wav
    AddType audio
/wma .wma
    AddType application
/vnd.ms-write .wri
    AddType application
/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
    AddType application
/zip .zip
</IfModule>
<
IfModule mod_expires.c>
    
ExpiresActive On
    ExpiresByType text
/css A31536000
    ExpiresByType application
/x-javascript A31536000
    ExpiresByType text
/richtext A3600
    ExpiresByType image
/svg+xml A3600
    ExpiresByType text
/plain A3600
    ExpiresByType text
/xsd A3600
    ExpiresByType text
/xsl A3600
    ExpiresByType video
/asf A31536000
    ExpiresByType video
/avi A31536000
    ExpiresByType image
/bmp A31536000
    ExpiresByType application
/java A31536000
    ExpiresByType video
/divx A31536000
    ExpiresByType application
/msword A31536000
    ExpiresByType application
/x-msdownload A31536000
    ExpiresByType image
/gif A31536000
    ExpiresByType application
/x-gzip A31536000
    ExpiresByType image
/x-icon A31536000
    ExpiresByType image
/jpeg A31536000
    ExpiresByType application
/vnd.ms-access A31536000
    ExpiresByType audio
/midi A31536000
    ExpiresByType video
/quicktime A31536000
    ExpiresByType audio
/mpeg A31536000
    ExpiresByType video
/mp4 A31536000
    ExpiresByType video
/mpeg A31536000
    ExpiresByType application
/vnd.ms-project A31536000
    ExpiresByType application
/vnd.oasis.opendocument.database A31536000
    ExpiresByType application
/vnd.oasis.opendocument.chart A31536000
    ExpiresByType application
/vnd.oasis.opendocument.formula A31536000
    ExpiresByType application
/vnd.oasis.opendocument.graphics A31536000
    ExpiresByType application
/vnd.oasis.opendocument.presentation A31536000
    ExpiresByType application
/vnd.oasis.opendocument.spreadsheet A31536000
    ExpiresByType application
/vnd.oasis.opendocument.text A31536000
    ExpiresByType audio
/ogg A31536000
    ExpiresByType application
/pdf A31536000
    ExpiresByType image
/png A31536000
    ExpiresByType application
/vnd.ms-powerpoint A31536000
    ExpiresByType audio
/x-realaudio A31536000
    ExpiresByType application
/x-shockwave-flash A31536000
    ExpiresByType application
/x-tar A31536000
    ExpiresByType image
/tiff A31536000
    ExpiresByType audio
/wav A31536000
    ExpiresByType audio
/wma A31536000
    ExpiresByType application
/vnd.ms-write A31536000
    ExpiresByType application
/vnd.ms-excel A31536000
    ExpiresByType application
/zip A31536000
</IfModule>
<
IfModule mod_deflate.c>
    <
IfModule mod_setenvif.c>
        
BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch 
^Mozilla/4\.0[678no-gzip
        BrowserMatch 
\bMSIE !no-gzip !gzip-only-text/html
        BrowserMatch 
\bMSI[E] !no-gzip !gzip-only-text/html
    
</IfModule>
    <
IfModule mod_headers.c>
        
Header append Vary User-Agent env=!dont-vary
    
</IfModule>
    <
IfModule mod_filter.c>
        
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
    
</IfModule>
</
IfModule>
<
FilesMatch "\.(css|js|CSS|JS)$">
    <
IfModule mod_headers.c>
        
Header set Pragma "public"
        
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    
</IfModule>
    
FileETag MTime Size
    
<IfModule mod_headers.c>
         
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    
</IfModule>
</
FilesMatch>
<
FilesMatch "\.(rtf|rtx|svg|svgz|txt|xsd|xsl|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|)$">
    <
IfModule mod_headers.c>
        
Header set Pragma "public"
        
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    
</IfModule>
    
FileETag MTime Size
    
<IfModule mod_headers.c>
         
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    
</IfModule>
</
FilesMatch>
<
FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
    <
IfModule mod_headers.c>
        
Header set Pragma "public"
        
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    
</IfModule>
    
FileETag MTime Size
    
<IfModule mod_headers.c>
         
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    
</IfModule>
</
FilesMatch>
# End Browser Caching/Headers 


weave 02-14-2012 05:43 AM

**Post removed**

w8baby 02-23-2012 03:59 PM

the chatbox seems to stop refreshing/showing content after the .htaccess update from the first post edit

final kaoss 02-23-2012 08:15 PM

Which chat box are you using?

w8baby 02-24-2012 11:05 AM

Quote:

Originally Posted by extreme-gaming (Post 2302776)
Which chat box are you using?

the most common one
vsa-chatbox +chatbox addon

the chatbox become stuck at updating... without showing any message after .htaccess update

final kaoss 04-06-2012 01:02 PM

Message me a link and I'll check it out. Anyways I have provided a fix to the login issue when using these htaccess rules. Changes may not show immediately but they will show they are working after some time. Check the first & 3rd post.

Brandon Sheley 04-06-2012 02:11 PM

Nice article but I wouldn't suggest doing everything you mentioned, in particular adding cloudflare..
Research what works for you and what doesn't, I've seen reports of users not being able to access a site after CF was enabled.

final kaoss 04-06-2012 02:29 PM

Give me some posts about CF conflicting with vbulletin. I'd like to look into that.
Quote:

Originally Posted by Brandon Sheley (Post 2317381)
Nice article but I wouldn't suggest doing everything you mentioned, in particular adding cloudflare..
Research what works for you and what doesn't, I've seen reports of users not being able to access a site after CF was enabled.


Brandon Sheley 04-08-2012 12:42 PM

Quote:

Originally Posted by extreme-gaming (Post 2317388)
Give me some posts about CF conflicting with vbulletin. I'd like to look into that.

I (and you) linked directly to my source in the reply already ;) :up:

doileloi 05-24-2012 02:11 AM

I use 4.1.5 did what you told on page but right now all my forum log in problem /

here my code in

PHP Code:

# Author: Final Koass (aka: Extreme-Gaming)
# Version 2.6
RewriteEngine on

# This file is only needed if you have set the Forum Component URL in your admincp and you are 
# using the mod_rewrite option for friendly urls.  If this is the case, copy this file
# to your forum component stub directory.

# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your forum component directory.
# RewriteBase /vbtest/

# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
# Options -MultiViews

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]


#Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
    
AddType text/css .css
    AddType text
/richtext .rtf .rtx
    AddType image
/svg+xml .svg .svgz
    AddType text
/plain .txt
    AddType text
/xsd .xsd
    AddType text
/xsl .xsl
    AddType video
/asf .asf .asx .wax .wmv .wmx
    AddType video
/avi .avi
    AddType image
/bmp .bmp
    AddType application
/java .class
    
AddType video/divx .divx
    AddType application
/msword .doc .docx
    AddType application
/x-msdownload .exe
    AddType image
/gif .gif
    AddType application
/x-gzip .gz .gzip
    AddType image
/x-icon .ico
    AddType image
/jpeg .jpg .jpeg .jpe
    AddType application
/vnd.ms-access .mdb
    AddType audio
/midi .mid .midi
    AddType video
/quicktime .mov .qt
    AddType audio
/mpeg .mp3 .m4a
    AddType video
/mp4 .mp4 .m4v
    AddType video
/mpeg .mpeg .mpg .mpe
    AddType application
/vnd.ms-project .mpp
    AddType application
/vnd.oasis.opendocument.database .odb
    AddType application
/vnd.oasis.opendocument.chart .odc
    AddType application
/vnd.oasis.opendocument.formula .odf
    AddType application
/vnd.oasis.opendocument.graphics .odg
    AddType application
/vnd.oasis.opendocument.presentation .odp
    AddType application
/vnd.oasis.opendocument.spreadsheet .ods
    AddType application
/vnd.oasis.opendocument.text .odt
    AddType audio
/ogg .ogg
    AddType application
/pdf .pdf
    AddType image
/png .png
    AddType application
/vnd.ms-powerpoint .pot .pps .ppt .pptx
    AddType audio
/x-realaudio .ra .ram
    AddType application
/x-shockwave-flash .swf
    AddType application
/x-tar .tar
    AddType image
/tiff .tif .tiff
    AddType audio
/wav .wav
    AddType audio
/wma .wma
    AddType application
/vnd.ms-write .wri
    AddType application
/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
    AddType application
/zip .zip
</IfModule>
<
IfModule mod_expires.c>
    
ExpiresActive On
    ExpiresByType text
/css A2628000
    ExpiresByType text
/richtext A3600
    ExpiresByType image
/svg+xml A3600
    ExpiresByType text
/plain A3600
    ExpiresByType text
/xsd A3600
    ExpiresByType text
/xsl A3600
    ExpiresByType video
/asf A2628000
    ExpiresByType video
/avi A2628000
    ExpiresByType image
/bmp A2628000
    ExpiresByType application
/java A2628000
    ExpiresByType video
/divx A2628000
    ExpiresByType application
/msword A2628000
    ExpiresByType application
/x-msdownload A2628000
    ExpiresByType image
/gif A2628000
    ExpiresByType application
/x-gzip A2628000
    ExpiresByType image
/x-icon A2628000
    ExpiresByType image
/jpeg A2628000
    ExpiresByType application
/vnd.ms-access A2628000
    ExpiresByType audio
/midi A2628000
    ExpiresByType video
/quicktime A2628000
    ExpiresByType audio
/mpeg A2628000
    ExpiresByType video
/mp4 A2628000
    ExpiresByType video
/mpeg A2628000
    ExpiresByType application
/vnd.ms-project A2628000
    ExpiresByType application
/vnd.oasis.opendocument.database A2628000
    ExpiresByType application
/vnd.oasis.opendocument.chart A2628000
    ExpiresByType application
/vnd.oasis.opendocument.formula A2628000
    ExpiresByType application
/vnd.oasis.opendocument.graphics A2628000
    ExpiresByType application
/vnd.oasis.opendocument.presentation A2628000
    ExpiresByType application
/vnd.oasis.opendocument.spreadsheet A2628000
    ExpiresByType application
/vnd.oasis.opendocument.text A2628000
    ExpiresByType audio
/ogg A2628000
    ExpiresByType application
/pdf A2628000
    ExpiresByType image
/png A2628000
    ExpiresByType application
/vnd.ms-powerpoint A2628000
    ExpiresByType audio
/x-realaudio A2628000
    ExpiresByType application
/x-shockwave-flash A2628000
    ExpiresByType application
/x-tar A2628000
    ExpiresByType image
/tiff A2628000
    ExpiresByType audio
/wav A2628000
    ExpiresByType audio
/wma A2628000
    ExpiresByType application
/vnd.ms-write A2628000
    ExpiresByType application
/vnd.ms-excel A2628000
    ExpiresByType application
/zip A2628000
</IfModule>
<
IfModule mod_deflate.c>
    <
IfModule mod_setenvif.c>
        
BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch 
^Mozilla/4\.0[678no-gzip
        BrowserMatch 
\bMSIE !no-gzip !gzip-only-text/html
        BrowserMatch 
\bMSI[E] !no-gzip !gzip-only-text/html
    
</IfModule>
    <
IfModule mod_headers.c>
        
Header append Vary User-Agent env=!dont-vary
    
</IfModule>
    <
IfModule mod_filter.c>
        
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
    
</IfModule>
</
IfModule>
<
FilesMatch "\.(css|CSS|)$">
    <
IfModule mod_headers.c>
        
Header set Pragma "public"
        
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    
</IfModule>
    
FileETag MTime Size
    
<IfModule mod_headers.c>
         
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    
</IfModule>
</
FilesMatch>
<
FilesMatch "\.(rtf|rtx|svg|svgz|txt|xsd|xsl|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|)$">
    <
IfModule mod_headers.c>
        
Header set Pragma "public"
        
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    
</IfModule>
    
FileETag MTime Size
    
<IfModule mod_headers.c>
         
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    
</IfModule>
</
FilesMatch>
<
FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
    <
IfModule mod_headers.c>
        
Header set Pragma "public"
        
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    
</IfModule>
    
FileETag MTime Size
    
<IfModule mod_headers.c>
         
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    
</IfModule>
</
FilesMatch>
# End Browser Caching/Headers 

Please help me on this thank you

final kaoss 05-24-2012 01:21 PM

Hi, since you are using vbseo, you should make the following changes to your htaccess file.

Code:

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]


# Author: Final Kaoss (aka: Extreme-Gaming)
# Version 2.6


#Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
    AddType text/css .css
    AddType text/richtext .rtf .rtx
    AddType image/svg+xml .svg .svgz
    AddType text/plain .txt
    AddType text/xsd .xsd
    AddType text/xsl .xsl
    AddType video/asf .asf .asx .wax .wmv .wmx
    AddType video/avi .avi
    AddType image/bmp .bmp
    AddType application/java .class
    AddType video/divx .divx
    AddType application/msword .doc .docx
    AddType application/x-msdownload .exe
    AddType image/gif .gif
    AddType application/x-gzip .gz .gzip
    AddType image/x-icon .ico
    AddType image/jpeg .jpg .jpeg .jpe
    AddType application/vnd.ms-access .mdb
    AddType audio/midi .mid .midi
    AddType video/quicktime .mov .qt
    AddType audio/mpeg .mp3 .m4a
    AddType video/mp4 .mp4 .m4v
    AddType video/mpeg .mpeg .mpg .mpe
    AddType application/vnd.ms-project .mpp
    AddType application/vnd.oasis.opendocument.database .odb
    AddType application/vnd.oasis.opendocument.chart .odc
    AddType application/vnd.oasis.opendocument.formula .odf
    AddType application/vnd.oasis.opendocument.graphics .odg
    AddType application/vnd.oasis.opendocument.presentation .odp
    AddType application/vnd.oasis.opendocument.spreadsheet .ods
    AddType application/vnd.oasis.opendocument.text .odt
    AddType audio/ogg .ogg
    AddType application/pdf .pdf
    AddType image/png .png
    AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
    AddType audio/x-realaudio .ra .ram
    AddType application/x-shockwave-flash .swf
    AddType application/x-tar .tar
    AddType image/tiff .tif .tiff
    AddType audio/wav .wav
    AddType audio/wma .wma
    AddType application/vnd.ms-write .wri
    AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
    AddType application/zip .zip
</IfModule>
<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType text/css A2628000
    ExpiresByType text/richtext A3600
    ExpiresByType image/svg+xml A3600
    ExpiresByType text/plain A3600
    ExpiresByType text/xsd A3600
    ExpiresByType text/xsl A3600
    ExpiresByType video/asf A2628000
    ExpiresByType video/avi A2628000
    ExpiresByType image/bmp A2628000
    ExpiresByType application/java A2628000
    ExpiresByType video/divx A2628000
    ExpiresByType application/msword A2628000
    ExpiresByType application/x-msdownload A2628000
    ExpiresByType image/gif A2628000
    ExpiresByType application/x-gzip A2628000
    ExpiresByType image/x-icon A2628000
    ExpiresByType image/jpeg A2628000
    ExpiresByType application/vnd.ms-access A2628000
    ExpiresByType audio/midi A2628000
    ExpiresByType video/quicktime A2628000
    ExpiresByType audio/mpeg A2628000
    ExpiresByType video/mp4 A2628000
    ExpiresByType video/mpeg A2628000
    ExpiresByType application/vnd.ms-project A2628000
    ExpiresByType application/vnd.oasis.opendocument.database A2628000
    ExpiresByType application/vnd.oasis.opendocument.chart A2628000
    ExpiresByType application/vnd.oasis.opendocument.formula A2628000
    ExpiresByType application/vnd.oasis.opendocument.graphics A2628000
    ExpiresByType application/vnd.oasis.opendocument.presentation A2628000
    ExpiresByType application/vnd.oasis.opendocument.spreadsheet A2628000
    ExpiresByType application/vnd.oasis.opendocument.text A2628000
    ExpiresByType audio/ogg A2628000
    ExpiresByType application/pdf A2628000
    ExpiresByType image/png A2628000
    ExpiresByType application/vnd.ms-powerpoint A2628000
    ExpiresByType audio/x-realaudio A2628000
    ExpiresByType application/x-shockwave-flash A2628000
    ExpiresByType application/x-tar A2628000
    ExpiresByType image/tiff A2628000
    ExpiresByType audio/wav A2628000
    ExpiresByType audio/wma A2628000
    ExpiresByType application/vnd.ms-write A2628000
    ExpiresByType application/vnd.ms-excel A2628000
    ExpiresByType application/zip A2628000
</IfModule>
<IfModule mod_deflate.c>
    <IfModule mod_setenvif.c>
        BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
        BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
        BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
    </IfModule>
    <IfModule mod_headers.c>
        Header append Vary User-Agent env=!dont-vary
    </IfModule>
    <IfModule mod_filter.c>
        AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
    </IfModule>
</IfModule>
<FilesMatch "\.(css|CSS|)$">
    <IfModule mod_headers.c>
        Header set Pragma "public"
        Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    </IfModule>
    FileETag MTime Size
    <IfModule mod_headers.c>
        Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    </IfModule>
</FilesMatch>
<FilesMatch "\.(rtf|rtx|svg|svgz|txt|xsd|xsl|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|)$">
    <IfModule mod_headers.c>
        Header set Pragma "public"
        Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    </IfModule>
    FileETag MTime Size
    <IfModule mod_headers.c>
        Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    </IfModule>
</FilesMatch>
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
    <IfModule mod_headers.c>
        Header set Pragma "public"
        Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    </IfModule>
    FileETag MTime Size
    <IfModule mod_headers.c>
        Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    </IfModule>
</FilesMatch>
# End Browser Caching/Headers

After that, you should also do the tip provided in post 3 here.

Quote:

Fixing login issues with vbulletin 4.



Disable vbulletin content caching (since apache is handling that now)

AdminCP > Options > Server Settings and Optimization Options > Disable Content Caching: Set to yes

*Note these changes did not show immediately for me but they did show that they were working for me after roughly 15 minutes.

final kaoss 05-25-2012 11:05 PM

Well for those of you using vb supercharged, I've managed to make it load async which means even faster!

Go to your AdminCP --> Plugins & Products --> Plugin Manager

Find Product vB4: SuperCharged

Open JS Optimiser

Replace all of the code in there with this, then save.

Code:

if($vbulletin->options['vbsc_js_enable'] == 1){

      $c_vbsc = file_exists(DIR."/clientscript/vbsc.js");
      $c_vbscsize = $c_vbsc && filesize(DIR."/clientscript/vbsc.js") > 10;
      $c_global = $c_vbsc && filemtime(DIR."/clientscript/vbulletin-core.js") < filemtime(DIR."/clientscript/vbsc.js");
     
    if((!$c_vbsc || !$c_vbscsize || !$c_global) && $vbulletin->options['vbsc_js_common'] == 1){
       
        $err = "<strong style='font-size:13px;background-color:#000;padding:5px;color:#ff9000;font-weight:bold;text-align:center;width:100%;display:block;'>";
        if(!$c_vbsc){
            $err .= "The file ".DIR."/clientscript/vbsc.js is missing. Ensure the file exists (download and extract vbsc.zip again if not) and that you have the file chmodded as per the installation instructions, then run the Compress Javascript under vB4: SuperCharged in your Admin CP. Report any errors you encounter when running Compress Javascript.<br /><br />";
        } else if(!$c_vbscsize){
            $err .= "The file ".DIR."/clientscript/vbsc.js is empty. Ensure you have the file chmodded as per the installation instructions and run the Compress Javascript under vB4: SuperCharged in your Admin CP. Report any errors you encounter when running Compress Javascript.<br /><br />";
        } else if(!$c_global){
            $err .= "The ".DIR."/clientscript/vbsc.js cache has a modification time of before ".DIR."/clientscript/vbulletin-core.js. Your cache is almost certainly out of date. Please run Compress Javascript under vB4: SuperCharged in your Admin CP.<br />If you recently updated vBulletin, you should of course run Compress CSS also :) <br />";
        }
        $err .= "To prevent issues, your forum is currently running without optimised Javascript as a fallback.<br /><br />As a last resort if you cannot get this message to disappear, disable the Javascript Optimiser.</strong>";
        $output = $err.$output;
       
    } else {
       
        /*function vbsc_removejs($var){
            //return strpos($var, "threadlist") === false;
            return true;
        }*/
       
        //eval($vbulletin->options['vbsc_js_files']);
        //$GLOBALS['js_files'] = array_filter($GLOBALS['js_files'], 'vbsc_removejs');
require_once (DIR . '/includes/vbsc_global.php');
        $GLOBALS['js_uncached'] = '';
       

        function in_arrayi( $needle, $haystack ) {
            $found = false;
            foreach( $haystack as $value ) {
                if( strtolower( $value ) == strtolower( $needle ) ) {
                    $found = true;
                }
            } 
            return $found;
        }
       
        function vbsc_jsleave($match){
            return (/*stripos($match, "FeatureLoader.js.php") !== false ||*/ stripos($match, "google_ad") !== false || stripos($match, "show_ad") !== false || stripos($match, "_google") !== false || stripos($match, "recaptcha") !== false/* || strpos($match, "treeview.css") !== false || strpos($match, "initVbTreeMenus") !== false || strpos($match, "treeview-min.js") !== false || strpos($match, "SHOW_ALL_TREE_ELEMENTS_THRESHOLD") !== false*/);
        }
       
        function vbsc_jsinline($matches){
           
            /*if(strpos($matches[0], "google_ad") !== false || strpos($matches[0], "show_ad") !== false){
                return $matches[0];
            }*/
           
            // workaround for cms sections and pm new window thing
            if(stripos($matches[0], "loadVbCss") === false && stripos($matches[0], "getBaseUrl") === false){
                if(vbsc_jsleave($matches[0]))
                    return $matches[0];
                   
                // whitelist specific terms, otherwise leave the javascript where it is as it's likely an embedded script such as ads, custom search etc.
                if(stripos($matches[0], "YAHOO") === false && stripos($matches[0], "vbulletin") === false && stripos($matches[0], "forum") === false && stripos($matches[0], "vbphrase") === false && stripos($matches[0], "vB_") === false && stripos($matches[0], "inlinemod") === false && stripos($matches[0], "vbseo") === false && stripos($matches[0], "vsa") === false)
                    return $matches[0];
            }
           
           
            if(strpos($matches[0], "SESSIONURL =") === false){
                $GLOBALS['js_uncached'] .= $matches[0];
                return '';
            } else {
                return $matches[0];
            }
        }
        //var_dump($GLOBALS["js_files"]);
       
        function vbsc_jscached($matches){
            global $vbulletin;
            //var_dump($matches);
            //$ret = "";
            //var_dump($matches);
            if(in_arrayi($matches[2], $GLOBALS["js_files"]) && strpos($matches[1], "<!--") === false && $vbulletin->options['vbsc_js_common'] == 1){
                //return "";
            } else {
                //return $matches[0];
                $GLOBALS["js_uncached"] .= $matches[0];
               
                if(strpos($matches[1], "<!--") !== false){
                    // handle IE conditional comments and normal comments
                    if(strpos($matches[1], "[if ") === false){               
                        $GLOBALS["js_uncached"] .= " -->";
                    } else {
                        $GLOBALS["js_uncached"] .= " <![endif]-->";
                    }
                }
                   
            }
           
            if(vbsc_jsleave($matches[0]))
                return $matches[0];
           
           
           
            //return strpos($matches[1], "if") !== false ? $matches[1] : $ret;
            // leave original comment opener in place as closing comment is not covered by the regex
            return $matches[1];
        }
       
        $output = str_replace(array("<!-- Editor Scripts -->", "<!-- scripts for quick reply and quick edit -->", "<!-- / ajax errors table -->", "<!-- ajax errors table -->", "<!-- lightbox scripts -->
", "<!-- / lightbox scripts -->"), "", $output);
       
        //type="text\/javascript"
        // handle potentially cached vBulletin javascript code
        $output = preg_replace_callback('/(<!--.*?]>\s+)?<script [^>]*?src=".*?clientscript\/([^?"]+).*?">\s*?<\/script>?/i', 'vbsc_jscached', $output);
       
        // handle YUI treeview code amongst other things
        $output = preg_replace_callback('/<script[^>]*?type=[\'"]text\/javascript[\'"] src="http:\/\/yui.yahooapis.com\/.*?">\s*?<\/script>/is', 'vbsc_jsinline', $output);

        // handle inline javascript code
        $output = preg_replace_callback('/<script[^>]*?type=[\'"]text\/javascript[\'"]>.*?<\/script>/is', 'vbsc_jsinline', $output);
       
        $readyfix = "";
        if($vbulletin->options['vbsc_js_common'] != 1){
            $readyfix = '<script type="text/javascript">YAHOO.util.Event.onDOMReady(function() {if(YAHOO.vBulletin.vB_XHTML_Ready) return; console.log("Fire vB_XHTML_Ready");vB_XHTML_Ready.fire();YAHOO.vBulletin.vB_XHTML_Ready = true;});</script>';
        }
     
        // append vbsc.js
        $output = preg_replace('/(<\/body>)/i', ($vbulletin->options['vbsc_js_common'] == 1 ? '<script type="text/javascript" src="clientscript/vbsc.js" async="async"></script>' : '').$GLOBALS["js_uncached"].$readyfix.'$1', $output, 1);
       
       


        //$output = preg_replace('/<script type="text\/javascript">\s+<!--\s+\/\/ Main vBulletin Javascript Initialization/', '<script type="text/javascript" src="/clientscript/vbsc.js"></script>'.$GLOBALS["js_uncached"].'$1', $output, 1);

        //$output = str_replace('SECURITYTOKEN', 'vbsc_SECURITYTOKEN', $output);   
    }
}

It will now defer the parsing of the vbsc.js file, saving a few hundred KB and increasing your page load time!

apokphp 05-30-2012 05:56 AM

I'm having trouble getting the mod rewrite to work properly on a clean 4.2 suite install.

http://www.forgeofreason.com/forum/forum.php

It's set to mod rewrite.
vb is installed in the /forum/ directory.
Currently, there is nothing in the root directory, but I'd like to have the CMS at the root.
All the links (forum, what's new, usercp, blogs, etc...) work fine w/ the mod rewrite. However, it is only the Articles (or CMS) that doesn't work, and it returns a 404 page not found error. It's url is http://www.forgeofreason.com/forum/content.php

Did I do something wrong?

I did edit your sample htaccess by uncommenting 2 lines (but am not sure if I should have):

# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your forum component directory.
RewriteBase /forum/

# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
Options -MultiViews

final kaoss 05-31-2012 02:50 PM

I don't own the vbsuite but it looks like you sorted it out :)

final kaoss 06-30-2012 03:58 PM

Thread updated, pnggauntlet added to the first post to use to crush images and the cloudflare suggestion has been changed a bit too.

mathforum 08-04-2012 09:35 PM

I've installed the .htaccess additions on my site and it helped very slightly according to Google PageSpeed Insight but it still says a lot of images don't have the proper expirations specified at all, and they are all standard file extensions (.jpg, .gif, etc)

Ideas? My site is www.mathhelpboards.com

final kaoss 08-06-2012 01:53 PM

I've looked at your page and it seems that one of the issues is that Enable Keep-Alive isn't being used. Your images are actually being cached properly.

http://gtmetrix.com/reports/www.math...s.com/NKnBCSMk

This report shows you reports from google pagespeed and yahoo's yslow.

mathforum 08-12-2012 04:40 PM

Thank you! We just moved to a VPS and it appears our keep-alive settings are working better. Here is an updated report. There's still lots things that aren't optimal. CSS sprites would certainly help.

http://gtmetrix.com/reports/www.math...s.com/fZj9iHK7

darkoutzide 11-12-2012 07:55 AM

Thanks for the tip! my website is faster now :)

moustafa 11-28-2012 04:56 PM

Quote:

Originally Posted by final kaoss (Post 2332884)
Well for those of you using vb supercharged, I've managed to make it load async which means even faster!

Go to your AdminCP --> Plugins & Products --> Plugin Manager

Find Product vB4: SuperCharged

Open JS Optimiser

Replace all of the code in there with this, then save.

Code:

if($vbulletin->options['vbsc_js_enable'] == 1){

      $c_vbsc = file_exists(DIR."/clientscript/vbsc.js");
      $c_vbscsize = $c_vbsc && filesize(DIR."/clientscript/vbsc.js") > 10;
      $c_global = $c_vbsc && filemtime(DIR."/clientscript/vbulletin-core.js") < filemtime(DIR."/clientscript/vbsc.js");
     
    if((!$c_vbsc || !$c_vbscsize || !$c_global) && $vbulletin->options['vbsc_js_common'] == 1){
       
        $err = "<strong style='font-size:13px;background-color:#000;padding:5px;color:#ff9000;font-weight:bold;text-align:center;width:100%;display:block;'>";
        if(!$c_vbsc){
            $err .= "The file ".DIR."/clientscript/vbsc.js is missing. Ensure the file exists (download and extract vbsc.zip again if not) and that you have the file chmodded as per the installation instructions, then run the Compress Javascript under vB4: SuperCharged in your Admin CP. Report any errors you encounter when running Compress Javascript.<br /><br />";
        } else if(!$c_vbscsize){
            $err .= "The file ".DIR."/clientscript/vbsc.js is empty. Ensure you have the file chmodded as per the installation instructions and run the Compress Javascript under vB4: SuperCharged in your Admin CP. Report any errors you encounter when running Compress Javascript.<br /><br />";
        } else if(!$c_global){
            $err .= "The ".DIR."/clientscript/vbsc.js cache has a modification time of before ".DIR."/clientscript/vbulletin-core.js. Your cache is almost certainly out of date. Please run Compress Javascript under vB4: SuperCharged in your Admin CP.<br />If you recently updated vBulletin, you should of course run Compress CSS also :) <br />";
        }
        $err .= "To prevent issues, your forum is currently running without optimised Javascript as a fallback.<br /><br />As a last resort if you cannot get this message to disappear, disable the Javascript Optimiser.</strong>";
        $output = $err.$output;
       
    } else {
       
        /*function vbsc_removejs($var){
            //return strpos($var, "threadlist") === false;
            return true;
        }*/
       
        //eval($vbulletin->options['vbsc_js_files']);
        //$GLOBALS['js_files'] = array_filter($GLOBALS['js_files'], 'vbsc_removejs');
require_once (DIR . '/includes/vbsc_global.php');
        $GLOBALS['js_uncached'] = '';
       

        function in_arrayi( $needle, $haystack ) {
            $found = false;
            foreach( $haystack as $value ) {
                if( strtolower( $value ) == strtolower( $needle ) ) {
                    $found = true;
                }
            } 
            return $found;
        }
       
        function vbsc_jsleave($match){
            return (/*stripos($match, "FeatureLoader.js.php") !== false ||*/ stripos($match, "google_ad") !== false || stripos($match, "show_ad") !== false || stripos($match, "_google") !== false || stripos($match, "recaptcha") !== false/* || strpos($match, "treeview.css") !== false || strpos($match, "initVbTreeMenus") !== false || strpos($match, "treeview-min.js") !== false || strpos($match, "SHOW_ALL_TREE_ELEMENTS_THRESHOLD") !== false*/);
        }
       
        function vbsc_jsinline($matches){
           
            /*if(strpos($matches[0], "google_ad") !== false || strpos($matches[0], "show_ad") !== false){
                return $matches[0];
            }*/
           
            // workaround for cms sections and pm new window thing
            if(stripos($matches[0], "loadVbCss") === false && stripos($matches[0], "getBaseUrl") === false){
                if(vbsc_jsleave($matches[0]))
                    return $matches[0];
                   
                // whitelist specific terms, otherwise leave the javascript where it is as it's likely an embedded script such as ads, custom search etc.
                if(stripos($matches[0], "YAHOO") === false && stripos($matches[0], "vbulletin") === false && stripos($matches[0], "forum") === false && stripos($matches[0], "vbphrase") === false && stripos($matches[0], "vB_") === false && stripos($matches[0], "inlinemod") === false && stripos($matches[0], "vbseo") === false && stripos($matches[0], "vsa") === false)
                    return $matches[0];
            }
           
           
            if(strpos($matches[0], "SESSIONURL =") === false){
                $GLOBALS['js_uncached'] .= $matches[0];
                return '';
            } else {
                return $matches[0];
            }
        }
        //var_dump($GLOBALS["js_files"]);
       
        function vbsc_jscached($matches){
            global $vbulletin;
            //var_dump($matches);
            //$ret = "";
            //var_dump($matches);
            if(in_arrayi($matches[2], $GLOBALS["js_files"]) && strpos($matches[1], "<!--") === false && $vbulletin->options['vbsc_js_common'] == 1){
                //return "";
            } else {
                //return $matches[0];
                $GLOBALS["js_uncached"] .= $matches[0];
               
                if(strpos($matches[1], "<!--") !== false){
                    // handle IE conditional comments and normal comments
                    if(strpos($matches[1], "[if ") === false){               
                        $GLOBALS["js_uncached"] .= " -->";
                    } else {
                        $GLOBALS["js_uncached"] .= " <![endif]-->";
                    }
                }
                   
            }
           
            if(vbsc_jsleave($matches[0]))
                return $matches[0];
           
           
           
            //return strpos($matches[1], "if") !== false ? $matches[1] : $ret;
            // leave original comment opener in place as closing comment is not covered by the regex
            return $matches[1];
        }
       
        $output = str_replace(array("<!-- Editor Scripts -->", "<!-- scripts for quick reply and quick edit -->", "<!-- / ajax errors table -->", "<!-- ajax errors table -->", "<!-- lightbox scripts -->
", "<!-- / lightbox scripts -->"), "", $output);
       
        //type="text\/javascript"
        // handle potentially cached vBulletin javascript code
        $output = preg_replace_callback('/(<!--.*?]>\s+)?<script [^>]*?src=".*?clientscript\/([^?"]+).*?">\s*?<\/script>?/i', 'vbsc_jscached', $output);
       
        // handle YUI treeview code amongst other things
        $output = preg_replace_callback('/<script[^>]*?type=[\'"]text\/javascript[\'"] src="http:\/\/yui.yahooapis.com\/.*?">\s*?<\/script>/is', 'vbsc_jsinline', $output);

        // handle inline javascript code
        $output = preg_replace_callback('/<script[^>]*?type=[\'"]text\/javascript[\'"]>.*?<\/script>/is', 'vbsc_jsinline', $output);
       
        $readyfix = "";
        if($vbulletin->options['vbsc_js_common'] != 1){
            $readyfix = '<script type="text/javascript">YAHOO.util.Event.onDOMReady(function() {if(YAHOO.vBulletin.vB_XHTML_Ready) return; console.log("Fire vB_XHTML_Ready");vB_XHTML_Ready.fire();YAHOO.vBulletin.vB_XHTML_Ready = true;});</script>';
        }
     
        // append vbsc.js
        $output = preg_replace('/(<\/body>)/i', ($vbulletin->options['vbsc_js_common'] == 1 ? '<script type="text/javascript" src="clientscript/vbsc.js" async="async"></script>' : '').$GLOBALS["js_uncached"].$readyfix.'$1', $output, 1);
       
       


        //$output = preg_replace('/<script type="text\/javascript">\s+<!--\s+\/\/ Main vBulletin Javascript Initialization/', '<script type="text/javascript" src="/clientscript/vbsc.js"></script>'.$GLOBALS["js_uncached"].'$1', $output, 1);

        //$output = str_replace('SECURITYTOKEN', 'vbsc_SECURITYTOKEN', $output);   
    }
}

It will now defer the parsing of the vbsc.js file, saving a few hundred KB and increasing your page load time!


Kindly tell me where to find the JS Optimiser.

Thanks.

final kaoss 11-29-2012 01:34 PM

It's part of the plugin called vB4: SuperCharged, as it says in your quote.

moustafa 12-03-2012 02:18 PM

Quote:

Originally Posted by final kaoss (Post 2386435)
It's part of the plugin called vB4: SuperCharged, as it says in your quote.

i have the plugin but i don;t see the js optimizer, could you kindly guide me to do it?

final kaoss 12-03-2012 03:03 PM

1 Attachment(s)
You can find it here.



And you can edit the source of it by going here.

Code:

Go to your AdminCP --> Plugins & Products --> Plugin Manager

Find Product vB4: SuperCharged

Open JS Optimiser


final kaoss 02-07-2013 03:55 AM

*Update, three easy to use and free services that help with static content contribution has been added, some of which act as a CDN aside from just recommending cloudflare as I did previously.

synseal 02-25-2013 12:03 PM

Quote:

Originally Posted by final kaoss (Post 2226244)
Fixing login issues with vbulletin 4.

found this recommendation about the login issue that you are experiencing. You may want to set the settings similar:
I would suggest you add your domains to your white list in vb options and then your cookies in vb and photopost set like this
cookie path /
cookie prefix bb
cookie domain .mysite.com
Example..
.www.video-game-chat.com


I have found that if I log into the front page the username is not showing at the top. However, if I login when checking a subforum, I am able to login successfully. I was also able to reply to the thread http://vgchat.info/forum/threads/166...me-3DS-Trailer without issues while being logged in.

Disable vbulletin content caching (since apache is handling that now)

AdminCP > Options > Server Settings and Optimization Options > Disable Content Caching: Set to yes

*Note these changes did not show immediately for me but they did show that they were working for me after roughly 15 minutes.

I am also experiencing this issue logging in and so are other members after adding the vbseo version of the .htaccess.

Where is this whitelist in vboptions also where is this setting "vb and photopost"?.

Never seen these options before neither do I have anything called whitelist or photopost in vb options.

Can you elaborate on this please?.

final kaoss 02-25-2013 02:41 PM

I don't use photopost but you can adjust the cookies here:
Admin CP > Options > Cookies and HTTP Header Options
and you can find the whitelist options here:
Admin CP > Options > General Settings

coolbreeze86 03-12-2013 07:13 PM

have a small doubt,

where to add the content i have two .htaccess one in domain root and the other in www.domain.com/forums. mine is vb4.1.5 with vbseo.

--------------- Added [DATE]1363121902[/DATE] at [TIME]1363121902[/TIME] ---------------

hi any serious help will be appreciated,

i had changed the .htaccess but sub forums are not opening just leading to 404 error pages. any help plssss

final kaoss 03-17-2013 03:27 PM

you need to edit the one in the forum root.

Also since your using vbseo, use this htaccess and edit it to reflect your forum path. If your Friendly Rewrite Rules are different then edit it below.

PHP Code:

# Author: Final Kaoss 
# Version 2.8
# Special Thanks Goes to W3Total Cache for much of the htaccess rules
# Downloaded from: https://vborg.vbsupport.ru/showthread.php?t=288429
RewriteEngine on

#Friendly Rewrite Rules Start

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$[L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteCond 
%{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]


#Friendly Rewrite Rules End

#Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
        
AddType text/css .css
        AddType text
/richtext .rtf .rtx
        AddType image
/svg+xml .svg .svgz
        AddType text
/plain .txt
        AddType text
/xsd .xsd
        AddType text
/xsl .xsl
        AddType video
/asf .asf .asx .wax .wmv .wmx
        AddType video
/avi .avi
        AddType image
/bmp .bmp
        AddType application
/java .class
        
AddType video/divx .divx
        AddType application
/msword .doc .docx
        AddType application
/x-msdownload .exe
        AddType image
/gif .gif
        AddType application
/x-gzip .gz .gzip
        AddType image
/x-icon .ico
        AddType image
/jpeg .jpg .jpeg .jpe
        AddType application
/vnd.ms-access .mdb
        AddType audio
/midi .mid .midi
        AddType video
/quicktime .mov .qt
        AddType audio
/mpeg .mp3 .m4a
        AddType video
/mp4 .mp4 .m4v
        AddType video
/mpeg .mpeg .mpg .mpe
        AddType application
/vnd.ms-project .mpp
        AddType application
/vnd.oasis.opendocument.database .odb
        AddType application
/vnd.oasis.opendocument.chart .odc
        AddType application
/vnd.oasis.opendocument.formula .odf
        AddType application
/vnd.oasis.opendocument.graphics .odg
        AddType application
/vnd.oasis.opendocument.presentation .odp
        AddType application
/vnd.oasis.opendocument.spreadsheet .ods
        AddType application
/vnd.oasis.opendocument.text .odt
        AddType audio
/ogg .ogg
        AddType application
/pdf .pdf
        AddType image
/png .png
        AddType application
/vnd.ms-powerpoint .pot .pps .ppt .pptx
        AddType audio
/x-realaudio .ra .ram
        AddType application
/x-shockwave-flash .swf
        AddType application
/x-tar .tar
        AddType image
/tiff .tif .tiff
        AddType audio
/wav .wav
        AddType audio
/wma .wma
        AddType application
/vnd.ms-write .wri
        AddType application
/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
        AddType application
/zip .zip
</IfModule>
<
IfModule mod_expires.c>
        
ExpiresActive On
        ExpiresByType text
/css A2628000
        ExpiresByType text
/richtext A3600
        ExpiresByType image
/svg+xml A3600
        ExpiresByType text
/plain A3600
        ExpiresByType text
/xsd A3600
        ExpiresByType text
/xsl A3600
        ExpiresByType video
/asf A2628000
        ExpiresByType video
/avi A2628000
        ExpiresByType image
/bmp A2628000
        ExpiresByType application
/java A2628000
        ExpiresByType video
/divx A2628000
        ExpiresByType application
/msword A2628000
        ExpiresByType application
/x-msdownload A2628000
        ExpiresByType image
/gif A2628000
        ExpiresByType application
/x-gzip A2628000
        ExpiresByType image
/x-icon A2628000
        ExpiresByType image
/jpeg A2628000
        ExpiresByType application
/vnd.ms-access A2628000
        ExpiresByType audio
/midi A2628000
        ExpiresByType video
/quicktime A2628000
        ExpiresByType audio
/mpeg A2628000
        ExpiresByType video
/mp4 A2628000
        ExpiresByType video
/mpeg A2628000
        ExpiresByType application
/vnd.ms-project A2628000
        ExpiresByType application
/vnd.oasis.opendocument.database A2628000
        ExpiresByType application
/vnd.oasis.opendocument.chart A2628000
        ExpiresByType application
/vnd.oasis.opendocument.formula A2628000
        ExpiresByType application
/vnd.oasis.opendocument.graphics A2628000
        ExpiresByType application
/vnd.oasis.opendocument.presentation A2628000
        ExpiresByType application
/vnd.oasis.opendocument.spreadsheet A2628000
        ExpiresByType application
/vnd.oasis.opendocument.text A2628000
        ExpiresByType audio
/ogg A2628000
        ExpiresByType application
/pdf A2628000
        ExpiresByType image
/png A2628000
        ExpiresByType application
/vnd.ms-powerpoint A2628000
        ExpiresByType audio
/x-realaudio A2628000
        ExpiresByType application
/x-shockwave-flash A2628000
        ExpiresByType application
/x-tar A2628000
        ExpiresByType image
/tiff A2628000
        ExpiresByType audio
/wav A2628000
        ExpiresByType audio
/wma A2628000
        ExpiresByType application
/vnd.ms-write A2628000
        ExpiresByType application
/vnd.ms-excel A2628000
        ExpiresByType application
/zip A2628000
</IfModule>
<
IfModule mod_deflate.c>
        <
IfModule mod_setenvif.c>
                
BrowserMatch ^Mozilla/4 gzip-only-text/html
                BrowserMatch 
^Mozilla/4\.0[678no-gzip
                BrowserMatch 
\bMSIE !no-gzip !gzip-only-text/html
                BrowserMatch 
\bMSI[E] !no-gzip !gzip-only-text/html
        
</IfModule>
        <
IfModule mod_headers.c>
                
Header append Vary User-Agent env=!dont-vary
        
</IfModule>
        <
IfModule mod_filter.c>
                
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
        
</IfModule>
</
IfModule>
<
FilesMatch "\.(css|CSS|)$">
        <
IfModule mod_headers.c>
                
Header set Pragma "public"
                
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
        
</IfModule>
        
FileETag MTime Size
        
<IfModule mod_headers.c>
                 
Header set X-Powered-By "Step by Step guide to speed up your VB5"
        
</IfModule>
</
FilesMatch>
<
FilesMatch "\.(rtf|rtx|svg|svgz|txt|xsd|xsl|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|)$">
        <
IfModule mod_headers.c>
                
Header set Pragma "public"
                
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
        
</IfModule>
        
FileETag MTime Size
        
<IfModule mod_headers.c>
                 
Header set X-Powered-By "Step by Step guide to speed up your VB5"
        
</IfModule>
</
FilesMatch>
<
FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
        <
IfModule mod_headers.c>
                
Header set Pragma "public"
                
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
        
</IfModule>
        
FileETag MTime Size
        
<IfModule mod_headers.c>
                 
Header set X-Powered-By "Step by Step guide to speed up your VB4"
        
</IfModule>
</
FilesMatch>
# End Browser Caching/Headers 


mykkal 04-08-2013 12:28 PM

Hey there,

I installed the additions to my htacess. However now I cannot login. I can get in the ACP and login...somehow that was not affected but I cannot login/logout from the frontend.

I'm using 3.8.7. Not sure what to do here. The options for fixing this in the post don't exist. for VB3.8.7.

Quote:

Originally Posted by final kaoss (Post 2226244)
If you are using vbulletin 4 with vbseo or if your using vb3.8.x, simply add this below your rewrite rules in your existing htaccess file to enable caching.

This covers the following Pagespeed Rules.

Leverage browser caching
Specify a cache validator
Enable gzip compression

This helps to cache nearly any file type that you may add in your attachment options (if you allow people to upload music files, zip files, rar files etc.. see the list lol)


final kaoss 04-08-2013 04:13 PM

Did you try the whitelisting tip? It's been forever since I used vb3, the options for it should be available though.

https://vborg.vbsupport.ru/showpost....44&postcount=3

DGrey2011 04-10-2013 07:52 PM

This guide shows in the 1st step how to do these:

Leverage browser caching
Specify a cache validator
Enable gzip compression

I already have set on the server the gzip compression and I have a cache validator specified.

So, I just need to add in the .htaccess the part about the Leverage browser caching. But I don't know exactly which part of the code you gave is reffering to that.
Please help?

bfdzio 04-11-2013 01:49 PM

Quote:

Originally Posted by apokphp (Post 2334547)
I'm having trouble getting the mod rewrite to work properly on a clean 4.2 suite install.

http://www.forgeofreason.com/forum/forum.php

It's set to mod rewrite.
vb is installed in the /forum/ directory.
Currently, there is nothing in the root directory, but I'd like to have the CMS at the root.
All the links (forum, what's new, usercp, blogs, etc...) work fine w/ the mod rewrite. However, it is only the Articles (or CMS) that doesn't work, and it returns a 404 page not found error. It's url is http://www.forgeofreason.com/forum/content.php

Did I do something wrong?

I did edit your sample htaccess by uncommenting 2 lines (but am not sure if I should have):

# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your forum component directory.
RewriteBase /forum/

# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
Options -MultiViews

Quote:

Originally Posted by final kaoss (Post 2335102)
I don't own the vbsuite but it looks like you sorted it out :)

@final kaoss, do you have any solution for this by chance? I know you don't have vbsuite but I can't get my CMS to work and thing this is what is doing it.

It tries to go to content.php but redirects and ends up in forum/content/ which does not exist.

final kaoss 04-12-2013 07:21 PM

Try using this.

PHP Code:

# Author: Final Kaoss (aka: Extreme-Gaming)
# Version 2.7
# Special Thanks Goes to W3Total Cache for much of the htaccess rules
RewriteEngine on

# This file is only needed if you have set the Forum Component URL in your admincp and you are 
# using the mod_rewrite option for friendly urls.  If this is the case, copy this file
# to your forum component stub directory.

# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your forum component directory.
# RewriteBase /vbtest/

# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
 
Options -MultiViews

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]

# Check MVC result
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule 
^(.*)$ - [NC,L]
RewriteRule ^(.*)$ - [R=404,L]



#Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
    
AddType text/css .css
    AddType text
/richtext .rtf .rtx
    AddType image
/svg+xml .svg .svgz
    AddType text
/plain .txt
    AddType text
/xsd .xsd
    AddType text
/xsl .xsl
    AddType video
/asf .asf .asx .wax .wmv .wmx
    AddType video
/avi .avi
    AddType image
/bmp .bmp
    AddType application
/java .class
    
AddType video/divx .divx
    AddType application
/msword .doc .docx
    AddType application
/x-msdownload .exe
    AddType image
/gif .gif
    AddType application
/x-gzip .gz .gzip
    AddType image
/x-icon .ico
    AddType image
/jpeg .jpg .jpeg .jpe
    AddType application
/vnd.ms-access .mdb
    AddType audio
/midi .mid .midi
    AddType video
/quicktime .mov .qt
    AddType audio
/mpeg .mp3 .m4a
    AddType video
/mp4 .mp4 .m4v
    AddType video
/mpeg .mpeg .mpg .mpe
    AddType application
/vnd.ms-project .mpp
    AddType application
/vnd.oasis.opendocument.database .odb
    AddType application
/vnd.oasis.opendocument.chart .odc
    AddType application
/vnd.oasis.opendocument.formula .odf
    AddType application
/vnd.oasis.opendocument.graphics .odg
    AddType application
/vnd.oasis.opendocument.presentation .odp
    AddType application
/vnd.oasis.opendocument.spreadsheet .ods
    AddType application
/vnd.oasis.opendocument.text .odt
    AddType audio
/ogg .ogg
    AddType application
/pdf .pdf
    AddType image
/png .png
    AddType application
/vnd.ms-powerpoint .pot .pps .ppt .pptx
    AddType audio
/x-realaudio .ra .ram
    AddType application
/x-shockwave-flash .swf
    AddType application
/x-tar .tar
    AddType image
/tiff .tif .tiff
    AddType audio
/wav .wav
    AddType audio
/wma .wma
    AddType application
/vnd.ms-write .wri
    AddType application
/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
    AddType application
/zip .zip
</IfModule>
<
IfModule mod_expires.c>
    
ExpiresActive On
    ExpiresByType text
/css A2628000
    ExpiresByType text
/richtext A3600
    ExpiresByType image
/svg+xml A3600
    ExpiresByType text
/plain A3600
    ExpiresByType text
/xsd A3600
    ExpiresByType text
/xsl A3600
    ExpiresByType video
/asf A2628000
    ExpiresByType video
/avi A2628000
    ExpiresByType image
/bmp A2628000
    ExpiresByType application
/java A2628000
    ExpiresByType video
/divx A2628000
    ExpiresByType application
/msword A2628000
    ExpiresByType application
/x-msdownload A2628000
    ExpiresByType image
/gif A2628000
    ExpiresByType application
/x-gzip A2628000
    ExpiresByType image
/x-icon A2628000
    ExpiresByType image
/jpeg A2628000
    ExpiresByType application
/vnd.ms-access A2628000
    ExpiresByType audio
/midi A2628000
    ExpiresByType video
/quicktime A2628000
    ExpiresByType audio
/mpeg A2628000
    ExpiresByType video
/mp4 A2628000
    ExpiresByType video
/mpeg A2628000
    ExpiresByType application
/vnd.ms-project A2628000
    ExpiresByType application
/vnd.oasis.opendocument.database A2628000
    ExpiresByType application
/vnd.oasis.opendocument.chart A2628000
    ExpiresByType application
/vnd.oasis.opendocument.formula A2628000
    ExpiresByType application
/vnd.oasis.opendocument.graphics A2628000
    ExpiresByType application
/vnd.oasis.opendocument.presentation A2628000
    ExpiresByType application
/vnd.oasis.opendocument.spreadsheet A2628000
    ExpiresByType application
/vnd.oasis.opendocument.text A2628000
    ExpiresByType audio
/ogg A2628000
    ExpiresByType application
/pdf A2628000
    ExpiresByType image
/png A2628000
    ExpiresByType application
/vnd.ms-powerpoint A2628000
    ExpiresByType audio
/x-realaudio A2628000
    ExpiresByType application
/x-shockwave-flash A2628000
    ExpiresByType application
/x-tar A2628000
    ExpiresByType image
/tiff A2628000
    ExpiresByType audio
/wav A2628000
    ExpiresByType audio
/wma A2628000
    ExpiresByType application
/vnd.ms-write A2628000
    ExpiresByType application
/vnd.ms-excel A2628000
    ExpiresByType application
/zip A2628000
</IfModule>
<
IfModule mod_deflate.c>
    <
IfModule mod_setenvif.c>
        
BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch 
^Mozilla/4\.0[678no-gzip
        BrowserMatch 
\bMSIE !no-gzip !gzip-only-text/html
        BrowserMatch 
\bMSI[E] !no-gzip !gzip-only-text/html
    
</IfModule>
    <
IfModule mod_headers.c>
        
Header append Vary User-Agent env=!dont-vary
    
</IfModule>
    <
IfModule mod_filter.c>
        
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
    
</IfModule>
</
IfModule>
<
FilesMatch "\.(css|CSS|)$">
    <
IfModule mod_headers.c>
        
Header set Pragma "public"
        
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    
</IfModule>
    
FileETag MTime Size
    
<IfModule mod_headers.c>
         
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    
</IfModule>
</
FilesMatch>
<
FilesMatch "\.(rtf|rtx|svg|svgz|txt|xsd|xsl|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|)$">
    <
IfModule mod_headers.c>
        
Header set Pragma "public"
        
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    
</IfModule>
    
FileETag MTime Size
    
<IfModule mod_headers.c>
         
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    
</IfModule>
</
FilesMatch>
<
FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
    <
IfModule mod_headers.c>
        
Header set Pragma "public"
        
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    
</IfModule>
    
FileETag MTime Size
    
<IfModule mod_headers.c>
         
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    
</IfModule>
</
FilesMatch>
# End Browser Caching/Headers 



All times are GMT. The time now is 11:21 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.05346 seconds
  • Memory Usage 2,403KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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