Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 09:43 pm EST
Geeklog Forums
Journal Plugin
Status: offline
bcbrock
Forum User
Chatty
Registered: 02/04/03
Posts: 64
My solution to this isn\'t really secure, but to the casual user, they don\'t know the difference...
I wanted only specific people to have access to online journals, so I created a user group called \"Family\", and made the users I wanted to have access members of that group. Next, I created a new block with a link to the Journals page that loads only for the Family group. Of course, other than this one link, there is no other publicly viewable link to Journals.
Hope this helps.
~Brian
~Brian
~Brian
10
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by bcbrock: My solution to this isn't really secure
It doesn't take much to make it secure. In the Journal's index.php, add a check to see if the current user is in group "Family" and if not, display a message (or simply redirect them to the frontpage).
Something likeText Formatted Code
if (!SEC_inGroup ('Family')) {echo COM_refresh ($_CONF['site_url'] . '/index.php');
}
8
6
Quote
All times are EST. The time is now 09:43 pm.
- 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