View Full Version : User Info Outside the Forums Directory
core_basic
09-28-2011, 05:54 AM
What is the simplest piece of code I could use to check is a user is logged in, and if so... Display the user name, and ammount of private messages. And if not logged in display a login form?
Im trying to do all of this on a page outside my forums directory,
Thanks for any help.
souperman
09-28-2011, 07:37 AM
Hold on a minute. You're asking too much here. I won't do it for you(takes a while), but can tell you how. Firstly you need to include the php file globals, or you can make your own db connection. Then you would need to query the information that you need. Sort the data then output it.
core_basic
09-28-2011, 02:17 PM
Can you at least tell me where can I find the vbulletin session code?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.