Include NAV in other pages
I've included the pp-inc.php file in my other parts of my site that aren't photopost, but I cannot get the menu to display correctly... I always get the same Nav Menu no matter if I'm logged in or not. (It's the one with Home, Register, Login... etc)
I've narrowed it down to if ($User['userid'] > 0 ) in topmenu()
How Can I correctly set this value so that my NAV is loaded correctly on other pages? I could manually set it to a number, but I would want to set it to the user id of the user currently logged in.
And I may have to change other things as well?