Main nav hides Add FAQ from un-registered users

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
trippledes
Posts: 2
Joined: Wed Mar 07, 2012 12:49 am

Main nav hides Add FAQ from un-registered users

Post by trippledes » Wed Mar 07, 2012 12:56 am

Hi all,
I wanted to know how to hide 'Add FAQ' and 'Add Question' from un-registered users. Only when you log in do these appear in the nav.
I followed this article to do this, viewtopic.php?f=2&t=10431&p=30321&hilit ... faq#p30321

It sort of works. The problem i have is, the 'Add FAQ' appears in the orange box in the top right where what i want is that the 'Add FAQ' appears in the main nav.

Any help would be appreciated and im a newb when it comes to php coding so an example would be greatly appreciated.

Thanks in advance

Thorsten
Posts: 14721
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Main nav hides Add FAQ from un-registered users

Post by Thorsten » Wed Mar 07, 2012 8:15 am

Hi,

this will be added to the upcoming phpMyFAQ 2.8 version.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

trippledes
Posts: 2
Joined: Wed Mar 07, 2012 12:49 am

Re: Main nav hides Add FAQ from un-registered users

Post by trippledes » Wed Mar 07, 2012 1:26 pm

Thanks for getting back to me

Post Reply