Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 03:15 am EST
Geeklog Forums
Detecting GL cookie?
Anonymous
Anonymous
Anonymous
jlhughes
1. Create a new staticpage and take the content of your existing splash screen and paste it into the new staticpage.
2. Name the staticpage frontpage.
3. Set the label for the page to nonews. Leave the left blocks on so that users can sign in. (If you DON'T put nonews as the label, content appropriate to anonymous visitors will be displayed below the staticpage.)
The only modification needed to Geeklog is a simple change in index.php.
Find the line:
if (empty ($topic)) {
and replace it with:
if (( empty($topic) ) && (empty($_USER['uid'])) ) {
Now when anonymous visitors go to the site all they see is the contents of the frontpage staticpage and whatever blocks you provide for anonymous visitors.
After they log in, the staticpage disappears and they are presented with the site stories appropriate to their user settings.
I use this set up a school where only parents are allowed to see content and anonymous visitors are limited to the splash screen and some generic stuff.
Anonymous
donm1021
1. Create a new staticpage and take the content of your existing splash screen and paste it into the new staticpage.
2. Name the staticpage frontpage.
3. Set the label for the page to nonews. Leave the left blocks on so that users can sign in. (If you DON'T put nonews as the label, content appropriate to anonymous visitors will be displayed below the staticpage.)
The only modification needed to Geeklog is a simple change in index.php.
Find the line:
and replace it with:
Now when anonymous visitors go to the site all they see is the contents of the frontpage staticpage and whatever blocks you provide for anonymous visitors.
After they log in, the staticpage disappears and they are presented with the site stories appropriate to their user settings.
I use this set up a school where only parents are allowed to see content and anonymous visitors are limited to the splash screen and some generic stuff.
I can't seem to get this to work at all? I have created the static page and changed the index.php... but no matter what I do the static "frontpage" will not display whenever a user comes to the site and has not yet logged in?
Dirk
The static pages plugin supports splash screens for a while now.
bye, Dirk
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content