User Status

Hi,

I'm new to Dolphin,and i can't find the API for the application anywhere here.can somebody help me?I want to verify the user status(if logged in or not) on a script.

Thanks

Quote · 22 May 2010

I don't believe boonex has published anything listing all classes and functions. I think jtadeo wrote one up at one point. I can't seem to find it. Boonex just kinda makes everyone dig through all the classes in the inc folder to find them.

Anyhow. If all you want to do is see if someone is logged in, there are a couple of ways.

1) Use the function isLogged(). Will return 0 is not logged in.

2) Check the member cookie. When a member logs in a cookie is set. so you can check that cookie as well. $_COOKIE['memberID'] will contain the id of the member logged in, or 0 if not logged in.

https://www.deanbassett.com
Quote · 22 May 2010

Better check \inc\profiles.inc.php

here are all functions to work with profiles.

getLoggedId, isLogged, isMember, isAdmin

bx_login, bx_logout

So no need to look cookies information directly.

Quote · 27 May 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.