The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
if you include global.php (as shown above), then you should be able to use the same if, like:
Code:
if (!$vbulletin->userinfo['userid']) { // guest, not logged in echo 'something'; } else { // member logged in echo 'something else'; } |
#3
|
|||
|
|||
thanks!!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|