HomeNotes Code for restricting page access
1187 days ago in 
Reactions: 1 comments 0 points0 reports
 
 

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

Plussed by

 
 
 
 

Comments

Oldest First
|
Threaded
 
 
Please login to post a comment.
Imran007
If I wanted to restrict access to the forums which file do I need to add this code to? and where?
 
 
 
PET:0.050030946731567