That doesnt work for me - whenever i try using that example it outputs nothing but blank...is there any way to read the pun_bb cookie directly to get the logged in users ID?
1 2006-06-30 15:06
Re: How to get logged in user ID out of PunBB without being in it?! (4 replies, posted in PunBB 1.2 troubleshooting)
2 2006-06-30 08:16
Re: How to get logged in user ID out of PunBB without being in it?! (4 replies, posted in PunBB 1.2 troubleshooting)
Please, any ideas, i really would like to sort this out
3 2006-06-29 23:56
Re: How to get logged in user ID out of PunBB without being in it?! (4 replies, posted in PunBB 1.2 troubleshooting)
By the way, i would like to include the least amount of common.php etc files from PunBB as for some reason all the non-forum pages work fine with these, but i have blank pages on the forums when including them (as they are already included?).
4 2006-06-29 23:04
Topic: How to get logged in user ID out of PunBB without being in it?! (4 replies, posted in PunBB 1.2 troubleshooting)
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?