Quote:
Originally Posted by z3r0
I've not got any time to do any testing, but couldn't you just turn the no-cache option on and off per usergroup in a plugin?
So to disable for guests:-
hook location - global start
Code:
if ($vbulletin->userinfo['userid'] == 0) {
$vbulletin->options['nocacheheaders'] = 0;
}
|
Thanks for your help.
How can I test if it works though?
And is there a way to expand to multiple usergroups (to disable nocache for low activity groups as well), I know the syntax in templates, but plugins appear to use a different syntax.