I am trying to integrate my site to use the bbpress/wordpress user system.
All I need is the ability to get the User Name and/or User ID of the person currently on my site. I don’t really need any other functionality from bbpress or wordpress on the site.
If I could get the user’s ID and then the ability to get the user’s name from that ID would be perfect for all of my needs.
Additional Info: My site is ran on PHP5 and MySQL, I have wordpress and bbpress upto date and currently integrated with each other.
Have you tried just printing out the contents of
$_COOKIE
? Mine contains the following:Should be simple for you to parse.