![]() |
Username on Non-VB Page
I'm trying to print a message either welcoming members back, or if they are not logged in, asking them to either login or register.
I have tried This Code:
Welcome Back, USERNAME OR Please Login or Register To Interact In Our Community. With the words Login, Register & Community being hyperlinks to their respective areas. This page/message will be outside the forums directory. Thanks in advance for any help!! :) |
i might be missing something but try this
require("./forums/global.php"); |
You're not defining the opposite case.
PHP Code:
|
Hmmm... I tried both tid bits of code, and here is what I get:
PHP Code:
And thanks for the help! |
I tried saving the code in a seperate file (welcome.php) and I didn't get the header information - however, it always shows up as guest - even though I'm logged in.
I even tried logging in then being redirected back to the welcome.php page - same thing, you are a guest. :banana: |
All times are GMT. The time now is 07:48 AM. |
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:
|