Topic: nav links visible to only members

how do i make links i put in the navbar(via admin option) only show up for members?

~James
FluxBB - Less is more

2

Re: nav links visible to only members

Add the links in functions.php instead of in the admin panel.

Re: nav links visible to only members

ok. can someone give a hint on how to do this please? i took a peek at this section:

//
// Generate the "navigator" that appears at the top of every page
//
function generate_navlinks()

and don't understand how it works. please and thank you.

~James
FluxBB - Less is more

Re: nav links visible to only members

below that add

$links[] = '<li id="navirc"><a href="irc://irc.stealingyour.info/stolennet">IRC</a>';

to add a normal link, or

if (!$pun_user['is_guest'])
    $links[] = '<li id="navirc"><a href="irc://irc.stealingyour.info/stolennet">IRC</a>';

to add a link only visible to members.