Extracting currently logged in user on PunBB...

Associate
Joined
29 Dec 2004
Posts
2,252
Hi guys,

I am using PunBB (http://www.punbb.org) with Joomla (CMS) and am trying to integrate it so i can display a "Edit Profile" and "Logout" link for PunBB, but on the Joomla menu system. I need to somehow get the currently logged in user's id out to be able to do this, as i know the URLs to (for example, edit a profile for someone with user id 99) would be:

http://domain/profile.php?id=99

But i have no idea how to extract the "99" for the current user as this all seems to be tied within the PunBB system and i cannot get it out?

can anyone help?
 
Back
Top Bottom