[geeklog-devtalk] geeklog-devel digest, Vol 1 #264 - 3 msgs
geeklog-devel-request at lists.geeklog.net
geeklog-devel-request at lists.geeklog.net
Sun Feb 1 13:00:09 EST 2004
Send geeklog-devel mailing list submissions to
geeklog-devel at lists.geeklog.net
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.geeklog.net/listinfo/geeklog-devel
or, via email, send a message with subject or body 'help' to
geeklog-devel-request at lists.geeklog.net
You can reach the person managing the list at
geeklog-devel-admin at lists.geeklog.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of geeklog-devel digest..."
Today's Topics:
1. Re: Group Admin revisited (Dirk Haun)
2. "Default entries are displayed in bold" (Dirk Haun)
3. Re: Group Admin revisited (Blaine Lang)
--__--__--
Message: 1
From: "Dirk Haun" <dirk at haun-online.de>
To: <geeklog-devel at lists.geeklog.net>
Subject: Re: [geeklog-devel] Group Admin revisited
Date: Sun, 1 Feb 2004 14:25:19 +0100
Organization: Terra Software Systems
Reply-To: geeklog-devel at lists.geeklog.net
Just checking if I'm on the right track here ...
So say we're restricting Group Admin such that he can only assign users
to groups of which he himself is a member.
But he can still create new groups. Obviously, he needs to be assigned to
these new groups automatically or he won't be able to assign anyone else
to that group. Correct?
Also, the permissions that can be used for a new group need to be
restricted such that they only list permissions that the Group Admin
already has (through his membership in other groups). Correct?
As I said - just checking. I'm not going to implement this just yet (and
if anyone else wants to do it, feel free to do so ...).
bye, Dirk
--
http://www.haun-online.de/
http://www.haun.info/
--__--__--
Message: 2
From: "Dirk Haun" <dirk at haun-online.de>
To: <geeklog-devel at lists.geeklog.net>
Date: Sun, 1 Feb 2004 18:26:11 +0100
Organization: Terra Software Systems
Subject: [geeklog-devel] "Default entries are displayed in bold"
Reply-To: geeklog-devel at lists.geeklog.net
I wrote:
>And while reviewing the code, I keep finding little oddities and bugs
Like this one ...
In your preferences, you have the section entitled "News box
Configuration" where you can deselect blocks if you don't want to see
them. The comment above the list of blocks to select reads
Default entries are displayed in bold.
So why is the "Resources" block listed in bold on geeklog.net? Or the
"Need Help?" block?
Well, it's because in usersettings.php we have this:
$preferences->set_var ('boxes_checklist', COM_checkList ($_TABLES['blocks'],
'bid,title,blockorder', $whereblock, $selectedblocks));
And in COM_checkList, we have this:
if( $A[2] < 10 && $A[2] > 0 )
{
$retval .= '><b>' . stripslashes( $A[1] ) . '</b><br>' . LB;
}
else
{
$retval .= '>' . stripslashes( $A[1] ) . '<br>' . LB;
}
Translation: If the blockorder is lower than 10, then display the block
title in bold.
Ouch.
I've also noticed that COM_checkList does a
if( $table == 'topics'
which won't match on most sites, as the table will be called 'gl_topics'
almost everywhere else (exept on geeklog.net). I'm not even sure what
it's used for ...
Oh well. Just wanted to share my surprise of the day ...
bye, Dirk
--
http://www.haun-online.de/
http://mypod.de/
--__--__--
Message: 3
From: "Blaine Lang" <geeklog at langfamily.ca>
To: <geeklog-devel at lists.geeklog.net>
Subject: Re: [geeklog-devel] Group Admin revisited
Date: Sun, 1 Feb 2004 12:46:31 -0500
Reply-To: geeklog-devel at lists.geeklog.net
Dirk,
I think that makes sense.
I wonder if the changes to support this will be restricted to the group
admin script or cascade into other security replated functions. I hope not
but as you know - sometimes these kind of changes unveil existing bugs.
Blaine
----- Original Message -----
From: "Dirk Haun" <dirk at haun-online.de>
To: <geeklog-devel at lists.geeklog.net>
Sent: Sunday, February 01, 2004 8:25 AM
Subject: Re: [geeklog-devel] Group Admin revisited
> Just checking if I'm on the right track here ...
>
> So say we're restricting Group Admin such that he can only assign users
> to groups of which he himself is a member.
>
> But he can still create new groups. Obviously, he needs to be assigned to
> these new groups automatically or he won't be able to assign anyone else
> to that group. Correct?
>
> Also, the permissions that can be used for a new group need to be
> restricted such that they only list permissions that the Group Admin
> already has (through his membership in other groups). Correct?
>
> As I said - just checking. I'm not going to implement this just yet (and
> if anyone else wants to do it, feel free to do so ...).
>
> bye, Dirk
>
>
> --
> http://www.haun-online.de/
> http://www.haun.info/
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-devel
>
--__--__--
_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://lists.geeklog.net/listinfo/geeklog-devel
End of geeklog-devel Digest
More information about the geeklog-devtalk
mailing list