When I was working on the last scripts I did (mirror? consternation? I forget), I downloaded some, , "test" versions of vBulletin that allowed me to test stuff out on my own computer. The vBulletin 4.0.3 download was about 70 MB after unzipping and the 3.7.3 version was only about 12MB.
I think I installed them on a laptop running linux, but I suppose they would run on a WAMP box just as well as a LAMP one as they are only .php files and mysql tables.
I believe that the not marking things unread is a page cache problem as well. When I return to the forum index I am being served up the same forum index I saw before instead of a refreshed version. I am thinking something on the server was changed recently and caused both issues.
1. Update the smilie search code following cep's suggestion to randomise the url
After the line
$new_smilies .= "<input type=\"hidden\" name=\"wysiwyg\" value=\"$wysiwyg\">";
add a line something like
$rando = rand();
$new_smilies .= "<input type=\"hidden\" name=\"randomiseurl\" value=\"$rando\">";
2. Change the caching policy via the .htaccess file
Edit the .htaccess file in the forum root folder to include the line
Code:
ExpiresActive Off
This is going to increase server load, anywhere from an undetectable amount to a bring things to a standstill amount. So we'd need to be at least alert if not somewhat more careful.
__________________ Free thought! Please take one!
Last edited by JoeP; 11-24-2013 at 08:41 PM.
Reason: vbulletin is just weird
__________________
"Her eyes in certain light were violet, and all her teeth were even. That's a rare, fair feature: even teeth. She smiled to excess, but she chewed with real distinction." - Eleanor of Aquitaine
I believe that the not marking things unread is a page cache problem as well. When I return to the forum index I am being served up the same forum index I saw before instead of a refreshed version. I am thinking something on the server was changed recently and caused both issues.
I am sometimes seeing differing 'last replied' in the index and in a thread, even when I force a reload with ctrl-f5. Something is caching and it's not me...
So should we try disabling all caching (using that directive what I done mentioned up there) and see if things get better? as opposed to worse? or neither?