The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
I have made an include called authusers.php which I will be calling on everypage to check if the user is auth'd or not on my whole site (non-vB pages too). This is so I can display unique content to my visitors...
Here is the code up to now: PHP Code:
This is what I'm trying to achieve: I include this php file in every page, and if the user is logged in, then it shows the rest of the page (eg. membersonly.php), otherwise (if the user is a guest) it only shows the login form above. I hope you understand what I mean, ask me any Qs if anything needs clarifying. Thanks in advance! --Sion--- |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|