Your ultimate PunBB resource!
You are not logged in.
yes, it was easy to add links, e.g. to forum startpage/any page in the head.
but, if i want to add another link, but only for members...
• what would be the syntax and in which file would i "mod"?
(hoping this forum is not dead, or i would have to move my q to mommy-forum)
Offline
just open up include/functions.php and look for the generate_navlinks() function and edit that with:
if($cur_user['status'] < PUN_MOD)
for users with less than mod privlages
if($cur_user['status'] = PUN_ADMIN)
if you only want for admins
but you get the idea...its realy simple
Offline
sweet! will try that soon - and get back to you if i still dont get it, since i am so stooooopid ;)
(i had a quick look at it...adding another link within one of those check-functions, say in the middle of one which lets members see a link, my "new" link would be visible for members only - how smart IS the programmer? ;) )
Offline