I am just starting out with PHP, so I believe its something that goes into the users table and checks user rank. if rank is over 6, then it allows then. If it isnt, it shows an error page. I will try to research the exact code.
I am not too sure, so you can probably try to rip it from housekeeping.What im trying to do is add a new page to my site navigation which each page in my ubercms is listed in database table, site navi. And then generic_top.tpl has the PHP code to control who can view each page, etc.
So, all i really need is the code to add to generic_top.tpl that gets the users rank and if rank is above 6, then it will show the new page on my site navigation. If the rank is below 6, well then it just doesn't show the tab, period. Do you know the code to do this? Thanks in advance!