That block is to give people the option to log in if they have an  
account, on sites that allow anonymous posting. The comment will  
still post anonymously if they don't put anything in the login form,  
so if you don't want anonymous comments, this is not the feature to use.

That box from grist looks like an excellent way to let people know  
that they can comment if they create an account. Chris - if you're  
willing to share, you can post your box on the Scoop Box Exchange:  
http://scoop.kuro5hin.org/sbe/

Because there are so many different permissions and you often don't  
want to let people know that some users can do certain things, if  
somebody doesn't have permission to use a part of the website, all  
references to it disappear, as if that part of the website isn't  
there. For example, as superuser, you see [edit user] links beside  
most usernames, and [edit story] links attached to stories - most  
users can't use those functions and therefore don't see the links.

-janra

On 9-Nov-06, at 11:33 AM, Jerry Schwartz wrote:

> Dang! While looking for the right place to put in the box, I  
> discovered that
> there is already a block (comment_not_logged_in) that does what I  
> want!
> Counter-intuitively, you have to "allow" anonymous users to post  
> before they
> see the "log in first" message.
>
> I'll save your code, since it is more flexible than that block.
>
> Regards,
>
> Jerry Schwartz
> Global Information Incorporated
> 195 Farmington Ave.
> Farmington, CT 06032
>
> 860.674.8796 / FAX: 860.674.8341
>
>
>> -----Original Message-----
>> From: scoop-help-bounces at lists.kuro5hin.org
>> [mailto:scoop-help-bounces at lists.kuro5hin.org] On Behalf Of
>> Chris Schults
>> Sent: Thursday, November 09, 2006 1:40 PM
>> To: scoop-help at lists.kuro5hin.org
>> Subject: RE: [Scoop-help] Show but not allow comments
>>
>> This is what we do on Gristmill:
>>
>> You are not logged in. Thus, you cannot post a comment. If you  
>> have an
>> account, log in. If you don't have an account, well, by all means go
>> make one! Meet you back here in five.
>>
>> We accomplish this via the box "comment_post" (not sure if this is a
>> standard box). If there user has commenting perms, display the  
>> comment
>> form. If not, display the above text.
>>
>> Here's the code:
>>
>> unless ($S->have_perm('comment_post')) {
>>     return qq~<div class="article" style="margin-top: 15px;border- 
>> top:
>> 1px gray dashed;border-bottom: 1px gray dashed;padding: 5px 0px 5px
>> 0px;">You are not logged in.  Thus, you cannot post a comment.  If  
>> you
>> have an account, <a href="/login">log in</a>. If you don't have an
>> account, well, by all means <a href="/newuser">go make one</a>!  Meet
>> you back here in five.</div>~;
>> }
>>
>> my $form = $S->post_form();
>>
>> return qq{$form};
>>
>> Chris
>>
>> --------------------------
>>
>> Chris Schults
>> Web Production Manager
>> Grist Magazine
>> 710 Second Avenue, Suite 860
>> Seattle, WA  98104
>> Phone: 206-876-2020, ext. 204
>> Fax: 253-423-6487
>> <http://www.grist.org>
>>
>> To sign up for Grist by email, the world's top environmental
>> news served
>> up with a sense of humor, click here <http://www.grist.org/signup/ 
>> > or
>> send a blank email message to <daily-grist-subscribe at lists.grist.org>
>>
>> ________________________________
>>
>> From: scoop-help-bounces at lists.kuro5hin.org
>> [mailto:scoop-help-bounces at lists.kuro5hin.org] On Behalf Of Jerry
>> Schwartz
>> Sent: Thursday, November 09, 2006 10:12 AM
>> To: scoop-help at lists.kuro5hin.org
>> Subject: [Scoop-help] Show but not allow comments
>>
>>
>> I don't want anonymous users to have the ability to post comments or
>> anything else, but I want them to see that it would be possible. I
>> thought that setting their permission to Deny would do that, but it
>> seems to hide the ability to post comments altogether.
>>
>> Did I overlook some setting or permission?
>>
>> Regards,
>>
>> Jerry Schwartz
>> Global Information Incorporated
>> 195 Farmington Ave.
>> Farmington, CT 06032
>>
>> 860.674.8796 / FAX: 860.674.8341
>>
>> _______________________________________________
>> Scoop-help mailing list
>> Scoop-help at lists.kuro5hin.org
>> http://lists.kuro5hin.org/mailman/listinfo/scoop-help
>>
>
>
>
> _______________________________________________
> Scoop-help mailing list
> Scoop-help at lists.kuro5hin.org
> http://lists.kuro5hin.org/mailman/listinfo/scoop-help