Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 08:11 am EDT

Geeklog Forums

Journal Plugin


Status: offline

xbrief

Forum User
Junior
Registered: 12/21/02
Posts: 18
How do I configure it so that certain Logged-In Users do not get access to it? Question
Don't curse the darkness, light a fire. Don't wait for the sunrise. Walk towards the dawn.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The plugin only supports two types of journal - public (i.e. visible to anyone) and private ... bye, Dirk
 Quote

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
 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 like
Text Formatted Code
if (!SEC_inGroup ('Family')) {
    echo COM_refresh ($_CONF['site_url'] . '/index.php');
}
should do. bye, Dirk P.S. And in case the forum eats the closing bracket again: There's supposed to be a closing square bracket after the 'site_url' ...
 Quote

Status: offline

xbrief

Forum User
Junior
Registered: 12/21/02
Posts: 18
That was very helpful. thank you, guys. Razz
Don't curse the darkness, light a fire. Don't wait for the sunrise. Walk towards the dawn.
 Quote

All times are EDT. The time is now 08:11 am.

  • 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