![]() |
How to add no-cache HTTP headers ONLY for members?
Can this be done by editing a PHP file? If yes, which one?
I'd like to serve no-cache HTTP headers to members only. Any assistance will be very much appreciated. |
My first thought is a "if" conditional in headinclude.
Like: PHP Code:
|
Max, unfortunately such solution would not work, as header MUST be sent by the server before html.
|
You could try creating a plugin using hook location global_start and code like:
Code:
if ($vbulletin->userinfo['userid'] != 0) |
Kevin, this works! As always, thanks very much!!!
|
All times are GMT. The time now is 12:56 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|