Code for restricting page access

iced posted 11th of November 2008 in Community Voice. 1 comment.

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

 
Comments
·Oldest
·Top
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?
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.049040079116821