vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Board Optimization - Make Fourm Faster (https://vborg.vbsupport.ru/showthread.php?t=179993)

TheSupportForum 05-20-2008 10:00 PM

Make Fourm Faster
 
after upload test hotlink protection using this site
http://altlab.com/hotlinkchecker.php

if you already have a .htaccess file, just add or replace the code

upload both files to your forum root

Info
==============================
This mod can make your vbulletin seem faster.

It works only with apache. It works with VB 3.7.0 ...

How it works: http://developer.yahoo.com/yslow/


Easy Install
==============================
1. Upload all the content to your forum directory.


Update
==============================
V2beta1 - Fixed Cookie Control

Known Bugs
==============================
does not work with VBAttach
Cookie Control - Keeps you loged after logging out

Testing
==============================



Time for Holiday
==============================
i am taking for time off work, and working on my won site for the week
my mod is will in experiemental stage and members can use it

However i will be working with another coder to get his working better for other people
this could take a couple of weeks

i'll be online, but not supporting

edit the following in the .htaccess file highlighted in red

RewriteCond %{HTTP_REFERER} !^[url]http://site URL/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^[url]http://site URL$ [NC]
RewriteCond %{HTTP_REFERER} !^[url]http://site URL/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^[url]http://site URL$ [NC]

this is mine after edit

RewriteCond %{HTTP_REFERER} !^http://dungeonlordsrpg.co.uk/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://dungeonlordsrpg.co.uk$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.dungeonlordsrpg.co.uk/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.dungeonlordsrpg.co.uk$ [NC]

V2 removed due to a bug reported by some users
tested today at 18:05 GMT Time London

TheSupportForum 05-21-2008 08:06 AM

there will be an update to this by the end of the week

i am currently working on adding support to stop others stealing bandwidth
i am testing this on my site
www.dungeonlordsrpg.co.uk

i am testing it in beta mode at present and will update people on the results

M-Tuning 05-21-2008 08:13 AM

So this one should be better then yslow?

TheSupportForum 05-21-2008 08:18 AM

yes, i just adapted it to work faster

i am currently working on Adding HTTP_USER_AGENT
currently have aprox 80 to list

all you need to do is add it to your existing .htaccess file

FleaBag 05-21-2008 08:22 AM

I'm baffled by how it works, but it seems to. Good going!

TheSupportForum 05-21-2008 08:32 AM

if anyone has used
YSLOW 1.0.3
https://vborg.vbsupport.ru/showthread.php?t=178286

please compare your forum speed, would appreciate comments, and anything you wish to be added to this mod

remember i am adpating during the week, an update will be available by Saturday GMT Time UK

FENIX 05-21-2008 08:34 AM

Works with my chatbox whereas yslow's did not.

Cheers *clicks installed*

Super Jinni 05-21-2008 08:56 AM

how is this different from the one here:

https://vborg.vbsupport.ru/showthread.php?t=178286

?

and can we use both this one and YSlOW 1.0.3 together or we need to delete YSLOW first?

thanks

:)

TheSupportForum 05-21-2008 09:04 AM

i adapted it to your better with all forums

https://vborg.vbsupport.ru/showthread.php?t=178286

its already reported a bug with this one

i would suggest using mine

TheSupportForum 05-21-2008 09:13 AM

Quote:

Originally Posted by Super Jinni (Post 1526623)
how is this different from the one here:

https://vborg.vbsupport.ru/showthread.php?t=178286

?

and can we use both this one and YSlOW 1.0.3 together or we need to delete YSLOW first?

thanks

:)

i would suggest deleting yslow 1.0.3 first

Super Jinni 05-21-2008 09:16 AM

ok, I'll give it a try...

thanks

installed

digicom 05-21-2008 09:40 AM

Installed and has made a big diffrence in speed! Thanks apprciated :up:

Barakat 05-21-2008 10:48 AM

its get slower !!!!

TheSupportForum 05-21-2008 10:52 AM

i am releasing another version by saturday

do you have apache server ?

Selene 05-21-2008 11:16 AM

LOL@Barakat

TheSupportForum 05-21-2008 11:22 AM

this version is beta, need some feeback by saturday to improve it

redraider 05-21-2008 11:54 AM

what is the difference between version 1a and 1b?

macc 05-21-2008 12:05 PM

hello!

can you give us exp how to put site url in ver. b?

should we put only site url or url to our forum

http://my-site.com or http://my-site.com/forums because we copy those two files in our forum root?

reg

macc

TheSupportForum 05-21-2008 12:10 PM

for example

RewriteCond %{HTTP_REFERER} !^http://dungeonlordsrpg.co.uk/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://dungeonlordsrpg.co.uk$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.dungeonlordsrpg.co.uk/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.dungeonlordsrpg.co.uk$ [NC]

jewropa 05-21-2008 12:42 PM

INSTALLED Very nice!

TheSupportForum 05-21-2008 12:49 PM

suggest to replace with new version V2 out now
fixed hotlink protection
test an image with the URL provided with mod info, any problems reply asap

next version due end of June

jewropa 05-21-2008 01:01 PM

What for is this part? ifmodule mod_rewrite.c

Barakat 05-21-2008 01:03 PM

Quote:

Originally Posted by simonhind (Post 1526719)
i am releasing another version by saturday

do you have apache server ?


yes !

TheSupportForum 05-21-2008 01:05 PM

</IfModule> is a closing tag for the rewrite module. <IfModule !mod_rewrite.c>

jewropa 05-21-2008 01:10 PM

I know, ^^ but i mean, which meaning have this part of the script, cause i use VbSeo and i woll not make conflict between the scripts

TheSupportForum 05-21-2008 01:13 PM

try it, if it causes conflick, post the conflict and i will atempt to correct any bugs found for any mods

M-Tuning 05-21-2008 01:16 PM

It's working fine with me (v2) but removed the hotlink protection, I don't need it :D

hilfe-forum 05-21-2008 01:17 PM

Q.
I have on some Boards VBSEO or ZONTS SEO and Board home is .forum.php not index. php
some of my board are on Subdomains
1. Board www.domain1.eu
2. Board use forum.domain1.eu
3. Board use music.domain2.eu
some of my board inklude picture from my other board.
Work this all with your Mod?

(sorry for my bad english)

TheSupportForum 05-21-2008 01:20 PM

this will work fine if you have images from othersites
it just means that the website you currently have images from other sites, their domain is not hotlink protected

however if they uploaded this mod you would not see those images anymore

TheSupportForum 05-21-2008 01:21 PM

Quote:

Originally Posted by hilfe-forum (Post 1526842)
Q.
I have on some Boards VBSEO or ZONTS SEO and Board home is .forum.php not index. php
some of my board are on Subdomains
1. Board www.domain1.eu
2. Board use forum.domain1.eu
3. Board use music.domain2.eu
some of my board inklude picture from my other board.
Work this all with your Mod?


(sorry for my bad english)

just change index.php to forum.php

hilfe-forum 05-21-2008 01:22 PM

Quote:

Originally Posted by simonhind (Post 1526846)
just change index.php to forum.php

:up: THX ;)

Super Jinni 05-21-2008 01:36 PM

what about subdomains?

my forum subdomain is like this
http://forum.my-site.com

and my website is like this:
http://www.my-site.com

so which one to put in the .htaccess file?

the website's or the forum's?

maybe my question seems to be dumb but I want things to be much clear here ^^

thanks

:)

TheSupportForum 05-21-2008 01:45 PM

this is an example you would add below RewriteCond %{HTTP_REFERER} !^$

RewriteCond %{HTTP_REFERER} !^http://johnp.opendns.com/.*$ [NC]

just remplace it with your subdomain details

get bakc to me once tested

TheSupportForum 05-21-2008 01:45 PM

you would put both is just add the code above

soundbarrierpro 05-21-2008 01:47 PM

Hmmm. I'd like to use it, but how's it different than YSLOW? I installed that and a couple of my mods stopped working and my CSS would go all out of whack when I F5 or manually refreshed.

TheSupportForum 05-21-2008 01:52 PM

belive me, this one has not erros that do that
look through my replies to others, you'll find it works better that his

soundbarrierpro 05-21-2008 01:56 PM

Ok, I'm backing up now, and trying. Now as for the htaccess. I already have one. Do I just copy the contents and add to my existing?

Thank you for responding.

Jack0919 05-21-2008 02:19 PM

I'm the author of YSLOW 1.0.3

I'll be happy if my mod has been advanced by NOT this way.

I feel my mod was stolen.

Boofo 05-21-2008 02:22 PM

By forums root, do you mean domain/forums or just domain?

soundbarrierpro 05-21-2008 02:33 PM

Well, if it's any consolation to anybody, this one too blew everything out of whack. I deleted it.


All times are GMT. The time now is 04:54 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.02030 seconds
  • Memory Usage 1,808KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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