Visit BoonEx Page at Facebook

Facebook

Join BoonEx group at LinkedIn

LinkedIn

Follow BoonEx on Twitter

Twitter

Subscribe to BoonEx Blog RSS feed

RSS
iced

Code for restricting page access

If like me, you have been trying to restrict page access to non members, I found that this code does the trick

 

$logged['member'] = member_auth( 0 );

 

insert it to all pages that you want to restrict access. So far, I have not encountered any complications

bad
0
good
 
 

Comments

Imran007
Imran007 16 days agocomment permalink
 
If I wanted to restrict access to the forums which file do I need to add this code to? and where?
 
bad
0
good
 
 


Post a Comment

Please login to post a comment.

This Post
 
 
iced Blog
All Blogs
Found a bug? Have a suggestion? We really value your feedback!
 
PET:0.367166042328