Daniel Posted December 7, 2010 Report Share 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 Link to comment Share on other sites More sharing options...
Administrators simpilot Posted December 8, 2010 Administrators Report Share Posted December 8, 2010 You are missing the last } to complete the first if statement. } ?> Quote Link to comment Share on other sites More sharing options...
Daniel Posted December 8, 2010 Author Report Share Posted December 8, 2010 ahh ok thanks. I will try it know thanks Quote Link to comment Share on other sites More sharing options...
Daniel Posted December 8, 2010 Author Report Share Posted December 8, 2010 works great. Thanks Quote Link to comment Share on other sites More sharing options...
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.