Only Access Site thru Home Page no Direct Access to Other Site Pages

Permalink
I have created a site that has a splash page with age validation for entry into the Website. The splash page is the Home page of the site. I need make it so the site is only accessible through the home page no direct access to other site pages.

 
WebcentricLtd replied on at Permalink Reply
do people have to log in or do they just need to click a button to say they're over 18?
powderocks replied on at Permalink Reply
They just click a link that says they are 18. and it takes them to the site.
mkly replied on at Permalink Best Answer Reply
mkly
You should probably create a user called over18 and upon clicking that link you should log them in as that user. Something like
$user = User::getByUserID(13, true);

Where 13 is the uID for the over18 user. Then just add that user to a a group called "Full Access" and set page permissions for that group accordingly.
WebcentricLtd replied on at Permalink Reply
exactly what I was thinking - some kind of 'soft' login...
JohntheFish replied on at Permalink Reply
JohntheFish