Getting user session info on non forum page
I’m using WP/BBP as a site wide CMS. It’s been really great so far thanks to the light-weightness of bbPress. I’ve really just had to hack the tables and change a little code to get the extra info in there that I want.
The only issues I’m wondering about is how to get the user data on a non bbPress page… I need to see if the user is logged in, and then get their userId…
Just to give you an example, I allow the user to save certain things, and I use the user id from the wp/bbpress users table. Can anyone suggest a light weight way to do this?
- You must be logged in to reply to this topic.