Posted on: 07/09/03 01:59am
By: xbrief
How do I configure it so that certain Logged-In Users do not get access to it?
Re:Journal Plugin
Posted on: 07/09/03 04:43am
By: Dirk
The plugin only supports two types of journal - public (i.e. visible to anyone) and private ...
bye, Dirk
Re:Journal Plugin
Posted on: 07/09/03 10:49am
By: bcbrock
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
Re:Journal Plugin
Posted on: 07/09/03 10:59am
By: Dirk
[QUOTE BY= bcbrock] My solution to this isn\'t really secure[/QUOTE]
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
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\' ...
Re:Journal Plugin
Posted on: 07/11/03 01:30am
By: xbrief
That was very helpful. thank you, guys.