PDA

View Full Version : Board Optimization - Make Fourm Faster


TheSupportForum
05-20-2008, 10:00 PM
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
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
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
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
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.

Lionel
05-21-2008, 03:30 PM
You've got a major bug in there somehow with cookies. I installed this and was very pleased. But it's effectively killing my vbcart cookie based shopping cart. When you add an item in the cart, it will not take a second one. Man... I went weeks into testing this modification, beat it up all the way and all works just fine until I put that htaccess. For 2 hours I was lost, could not figure out why this was happening, until I disabled the htaccess.

I think that this also hurt anyone who is using IPN to post back to the site

Uninstalling ...

Bounce
05-21-2008, 03:36 PM
If your boards are that busy then you should be on a decicated server and that should be fast enough to cope without installing anything :D

TheSupportForum
05-21-2008, 03:39 PM
You've got a major bug in there somehow with cookies. I installed this and was very pleased. But it's effectively killing my vbcart cookie based shopping cart. When you add an item in the cart, it will not take a second one. Man... I went weeks into testing this modification, beat it up all the way and all works just fine until I put that htaccess. For 2 hours I was lost, could not figure out why this was happening, until I disabled the htaccess.

I think that this also hurt anyone who is using IPN to post back to the site

Uninstalling ...

you show try adding
RewriteCond %{HTTP_COOKIE} !^.*cookies=true.*$
under RewriteCond %{HTTP_REFERER} !^$

TheSupportForum
05-21-2008, 03:42 PM
or
RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)Usercheck=validated(;.*|$)

Lionel
05-21-2008, 03:49 PM
That does not work. It won't even let me clear cart ...

I think it has an effect on $_POST

TheSupportForum
05-21-2008, 03:51 PM
do you have cookies enabled or disabled ?

elmati
05-21-2008, 03:52 PM
I'm testin this :)
Thanks!

Lionel
05-21-2008, 03:58 PM
Of course they are enabled. Everytime that I try this mod, I must clear all cookies in order to surf normally

Mr:Ishi
05-21-2008, 04:01 PM
it says internal server error after i upload

TheSupportForum
05-21-2008, 04:10 PM
i just updated it download new version

Deimos
05-21-2008, 04:28 PM
Why can't you work with Jack0919 on improving his version instead of releasing this one?
Seems pointless having two mods which do the same job

TheSupportForum
05-21-2008, 05:02 PM
i work on trying to improve it to add more stuff, many people say his does not work properly

i only released this today, due to my forum being slow and using his mod, but found it useless

so i started to change some of the code to suite the whole forum

M-Tuning
05-21-2008, 05:31 PM
Why can't you work with Jack0919 on improving his version instead of releasing this one?
Seems pointless having two mods which do the same job

Would be the best thing to do

RobParker
05-21-2008, 05:38 PM
How do either of these mods affect server load?

It sounds like you're making apache do more work and increasing the load, so that the page appears to load faster?

If we're already at our server capacity, will this actually make things worse?

Lionel
05-21-2008, 05:51 PM
That cookie situation is affecting all my other sites. If you logout then log back in, you must refresh the page for it to accept the cookie ....

TheSupportForum
05-21-2008, 05:56 PM
htaccess can affect server load, but until i see it happen i will report this a bug to fix
i am currntly working on

Cookie Control
and kuch more

TheSupportForum
05-21-2008, 05:58 PM
That cookie situation is affecting all my other sites. If you logout then log back in, you must refresh the page for it to accept the cookie ....

i've just removed it myself, and will report this a a bug

jst remove this
RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)Usercheck=validated(;.*|$)
RewriteCond %{HTTP_COOKIE} !^.*cookies=true.*$

Ideal Web Tech
05-21-2008, 06:04 PM
Taking somebody else modification and cleaning it up without their permissions is against the rules. You must have permission to re release a modification even if you have cleaned it up. The original code that you started working with was not your own. The best solution would be to work with the original author and not steal his work. Its just not good ethics.

Jack0919
05-21-2008, 06:17 PM
I don't think you did a good thing to YSLOW.

Of course, you are welcome to put forward to correct the YSLOW.

But, You are in acts tantamount to theft.

TheSupportForum
05-21-2008, 06:27 PM
people have reported bugs to your version

i am adapting it to work with all mods including VBSeo

Super Jinni
05-21-2008, 06:29 PM
hey, guys

I've using YSLOW for several days now, and users are happy since I installed it and they told me that the forum became faster

so (Simonhind snd Jack0919), why don't you find a way to work it together..

I'm sure both of you are have good ideas about this.. and if you co-operate you will come up with something greate

just try to do the best.. and that is the best for everyone here...

thanks for both of you

:)

hilfe-forum
05-21-2008, 06:39 PM
so (Simonhind snd Jack0919), why don't you find a way to work it together..

:up:

TheSupportForum
05-21-2008, 06:45 PM
am am getting pissed off at the moment i need to help getting a site offline for good

everyone visit this link and find out why
http://www.vbteam.info/vb-3-7-x-addons-template-modifications/6049-make-fourm-faster.html

someone who has a licence is submitting these file the this site

need help and suggestions

TheSupportForum
05-21-2008, 06:47 PM
is no one can acces it i will give you the details

Pady
05-21-2008, 06:52 PM
thanks, works great

Jack0919
05-21-2008, 07:03 PM
<font color="DarkRed">three different between this mod and mine.

1st is the charset: first ,i used the some code with simonhind in YSLOW 1.0.1,but I update in YSLOW 1.0.2,because there is some people reported bugs, after I update,the report stoped.

2nd is the HTTP_REFERER siteurl , I update it too, some of people who still have YSLOW 1.0.0 or 1.0.1 will see the config i have set.

3rd is HTTP_USER_AGENT. I try this before,and don't think it's a good idea for this mad.

However, I'd like to work with anybody for this mod.

but, there is no a word before my mod been take an edit, i don't care if the mod is under my name, but at least, before you take this mod as yours, or you want to edit it , plz let me know.

I do not want to work with somebody without the basic ethics.

sorry for my poor English, I'm hard to explain myself clearly,but whatever,maybe it's just not a good place for a Chinese.
</font>

hilfe-forum
05-21-2008, 07:03 PM
am am getting pissed off at the moment i need to help getting a site offline for good

everyone visit this link and find out why
http://www.vbteam.info/vb-3-7-x-addons-template-modifications/6049-make-fourm-faster.html

someone who has a licence is submitting these file the this site

need help and suggestions

what is your problem?
you make the same ;)

soundbarrierpro
05-21-2008, 07:04 PM
am am getting pissed off at the moment i need to help getting a site offline for good

everyone visit this link and find out why
http://www.vbteam.info/vb-3-7-x-addons-template-modifications/6049-make-fourm-faster.html

someone who has a licence is submitting these file the this site

need help and suggestions


Any way you might be able to get it to work with the following?

MGC_Chat_Evo
Cinvin Forum Listings
vbAdvanced cmps

?

My entire infrastructure blows up if I use this. I need something to make it faster.

TheSupportForum
05-21-2008, 07:05 PM
i think i would be interested in helping you improve it
people are reporting mine being faster

people are asking if it works with vbseo
this i do not know
OK- Lets work together

soundbarrierpro
05-21-2008, 07:09 PM
i think i would be interested in helping you improve it
people are reporting mine being faster

people are asking if it works with vbseo
this i do not know
OK- Lets work together

Oh, I also have vbseo along with the other three mods.

hilfe-forum
05-21-2008, 07:10 PM
I do not want to work with somebody without the basic ethics.


:up:

Uninstall this and back to:
https://vborg.vbsupport.ru/showthread.php?t=178286

a nice mod is nothing without fairness :down:

soundbarrierpro
05-21-2008, 07:16 PM
:up:

Uninstall this and back to:
https://vborg.vbsupport.ru/showthread.php?t=178286

a nice mod is nothing without fairness :down:

He just said he wants to work together.

tafreeh
05-21-2008, 07:29 PM
i installed this https://vborg.vbsupport.ru/showthread.php?t=178286

but it did not really work wid me...

so i m gonna this one a try after a week, when you release the stable version

Super Jinni
05-21-2008, 08:01 PM
i think i would be interested in helping you improve it
people are reporting mine being faster

people are asking if it works with vbseo
this i do not know
OK- Lets work together

this is a great idea

and I'm sure you are going to bring us a great product and make everybody happy with.

I think I should congratulate you both..

best wishes for both of you

:)

Chadi
05-22-2008, 12:38 AM
This sorely slowed down my forum to a near halt. I am using Vbseo as well, perhaps that might be why.

Barakat
05-22-2008, 01:33 AM
i dont know what to say rather than a good hosting with a good server will
give you the needs of surfing your site better that to use codes ,,,
maybe iam wrong and maybe not but i believe that the rewrite codes will slow it for sure,

elmati
05-22-2008, 01:46 AM
With this mod installed can not be customized profiles. When you save changes the changes are not saved. I think it's a problem of cache.
With YSLOW that's not happens.

redlabour
05-22-2008, 06:23 AM
Make Fourm Faster? Does?nt you mean Make Forum Faster?