Using xenforo permission outside of xenforo?

I have, but I think i need to do the inverse.. Call a Xenforo function ( i assume ) to place the logged in user ID into the page_container template. Maybe there is a way to tell xenforo to toss the id into the cookie so the custom php can call it back out?
 
Top Bottom