dcallan
01-06-2006, 02:49 PM
Hi all, I've looked at some examples by searching but nothing seems to work so I think it might be different for my set up.
I have included via the plugin system and file called leftnav.php and on this when one of the vb pages is displayed I want to display the links from the navbar area of vbulletin, links such as user cp and faq etc. My questions is though how can I check if the current user is logged in or not, so I can display the register and todays posts links instead.
I have tried to access the bbuserinfo array and nothing outputs. I have included leftnav.php via plugin system in the header template, so I believe everything in global.php should be available anyhow.
Please help, any thoughts appreiciated.
I have included via the plugin system and file called leftnav.php and on this when one of the vb pages is displayed I want to display the links from the navbar area of vbulletin, links such as user cp and faq etc. My questions is though how can I check if the current user is logged in or not, so I can display the register and todays posts links instead.
I have tried to access the bbuserinfo array and nothing outputs. I have included leftnav.php via plugin system in the header template, so I believe everything in global.php should be available anyhow.
Please help, any thoughts appreiciated.