![]() |
import a login session on a page
Hey guys!
Im now developing a friends vb forum, and before i did alot of smf development. and well, On smf it whas pretty simple with requiring a login session to a blank page around public_html. Here is a example of how it works with smf: PHP Code:
if you can help me i would really appreciate it) Dondxon. -- Posted this on vbulletin.com and mathew told me to go here, he already give me this info: -- PHP Code:
Quote:
What i want now is that i can hide div's and show up diffrent div's for ppl that are logged out and logged in. Thanks, Dondxon. |
if you include global.php (as shown above), then you should be able to use the same if, like:
Code:
if (!$vbulletin->userinfo['userid']) |
thanks!!
|
All times are GMT. The time now is 04:46 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:
|