Topic: User integration

Hi folks,

I am trying to use the piece of code here
http://punbb.informer.com/wiki/punbb13/integration
to build a custom login, so that my site will also use punbb's
authentication.

How can I display login errors on my page instead of the default which redirects to punbb's
login page to display the message.

Also which variable holds the current / logged in user details.

Thanks in advance
Regards
Abishek

Re: User integration

All information about the logged in user is stored in the variable $forum_user.
To change the error display type, study the error function described in the file functions.php, line 2971