Topic: How to get logged in user ID out of PunBB without being in it?!
Hi guys,
I am using PunBB 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?
can anyone help?