The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Yeah im curious if you can do this. I have a non-vb page, like another php script, and I want to make it so you can't view it, unless your logged in. Is this easy to pull off, or hard? Any help would be cool, thanks!
snyx |
|
#2
|
|||
|
|||
|
PHP Code:
|
|
#3
|
||||
|
||||
|
Will it work for .SHTML files?
|
|
#4
|
|||
|
|||
|
Here's an updated version that will also show a templated php file:
PHP Code:
I left the CHDIR out, but feel free to add it if you need it. |
|
#5
|
||||
|
||||
|
I want the same thing, except my non-vb page is on another server with a totally different database, is it possible?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|