Daniel Posted December 7, 2010 Report Posted December 7, 2010 <?php if(Auth::LoggedIn()) { if(Auth::UserInGroup('Administrators')) { echo '<li><a href="/Forum/forumdisplay.php?fid=16">Staff Forum</a></li>'; } ?> I am using this in the Pilot Center for the staff Forum put i get a syntex error or somthing like that. Does any one have ideas or let me know what i am doing wrong. So only people in the Administrator group can see this link. thanks a lot Daniel Quote
Administrators simpilot Posted December 8, 2010 Administrators Report Posted December 8, 2010 You are missing the last } to complete the first if statement. } ?> Quote
Daniel Posted December 8, 2010 Author Report Posted December 8, 2010 ahh ok thanks. I will try it know thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.