![]() |
hmm, but i think you cannot do anything against.
as i said before the str_replace function is executet just 20times/post but if someone uses the same smilie 1000 times or more often it's the str_replace function which increases the server-time. so i'd say the problem is php not vb |
I have confirmed this myself too... I basicly put 10000 bytes of smiles (ie 5000 smilies) into a new post... It loads for a while and then it just stops loading. Nothing happens...
I even tried letting PHP use up to 75MB of ram, and 120 max execution time. |
This board handled it easily, though...
https://vborg.vbsupport.ru/showthrea...threadid=41507 That post WILL most likely bog your browser down for a little while... |
Yeah it took a whole 4 seconds to load :(
|
Here is a fix for you:
edit function.php, find: PHP Code:
PHP Code:
BTW congratulate your "bored" members for me, it was a good catch.. Enjoy.. ;) Logician |
Using Logician's idea, here's what I used:
PHP Code:
|
normally then you should use that:
PHP Code:
|
Thanks, Logician!
Only problem - I tried using PHP Code:
Thanks again, gang. Kaelon |
oh sorry that was my fault
a few lines above you find this code: PHP Code:
PHP Code:
|
Quote:
i am using vb 2.2.6 btw. |
All times are GMT. The time now is 07:03 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|