The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
My first thought is a "if" conditional in headinclude.
Like: PHP Code:
|
|
#3
|
|||
|
|||
|
Max, unfortunately such solution would not work, as header MUST be sent by the server before html.
|
| Благодарность от: | ||
| Max Taxable | ||
|
#4
|
|||
|
|||
|
You could try creating a plugin using hook location global_start and code like:
Code:
if ($vbulletin->userinfo['userid'] != 0)
{
header(...
}
|
|
#5
|
|||
|
|||
|
Kevin, this works! As always, thanks very much!!!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|