Janra:

I've been trying to help CJ, and from what I can see the perms are setup
correctly. And index_template still has |CONTENT|, and story_template has
|STORY|.

I asked him to send me his Elements.pm file so I could take a look at the
displaystory function, which he did. I don't have the new version of Scoop,
but this snippet from the subroutine displaystory confused me:

my $story_section = $story->{section} || $S->_get_story_section($sid);
# check the section permissions
if ($S->have_section_perm('deny_read_stories', $story_section) &&
!$S->_does_poll_exist($sid)) {
	$page = qq| <b>%%norm_font%%Sorry, you don't have permission to read
stories posted to this section.%%norm_font_end%%</b> |;
} elsif ($S->have_section_perm('hide_read_stories', $section) &&
!$S->_does_poll_exist($sid)) {
	$page = qq| <b>%%norm_font%%Sorry, I can't seem to find that
story.%%norm_font_end%%</b> |;
}

Specifically this:

&& !$S->_does_poll_exist($sid)

The above is not in my version, so this makes me think this might be the
culprit. I'm curious as to why this is even necessary.

Chris

--------------------------

Chris Schults
Web Production Manager
Grist Magazine
811 First Avenue, Suite 466
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> 

-----Original Message-----
From: scoop-help-bounces at lists.kuro5hin.org
[mailto:scoop-help-bounces at lists.kuro5hin.org] On Behalf Of
janra at write-on.org
Sent: Wednesday, March 15, 2006 10:54 PM
To: CJ Stritzel
Cc: scoop-help at lists.kuro5hin.org
Subject: Re: [Scoop-help] Stories MIA

First, please set your local_email to a real value so I can create an  
account :-)

Here's a question for you - did you edit the block "index_template"?

Does it still have |CONTENT| (those are pipes around it) somewhere?

If that's still there (and I suspect it is, since the stories are  
"not found" and that indicates a permissions issue of some sort) then  
I'll see what else I can dig up to test.

-janra

On 15-Mar-06, at 3:16 PM, CJ Stritzel wrote:

> "Chris Schults" <cschults at grist.org> writes:
>> CJ:
>>
>> Each section is configured separately. When I first go to "Sections",
>> everything is set to "Allow" as I haven't actually selected a  
>> section yet
>> to
>> edit. I see your posts are in the "News" section. There should be  
>> a link
>> for
>> "News". Click that and configure as needed.
>>
>> If you've already done this, then I'm currently at a loss.
>>
>> Chris
>
> I hadn't done this, but when I went to that link everything was  
> already
> set to allow.
>
> Weird.
>
> Anyway, thanks for the help.
>
> ____________________________________
> CJ Stritzel
> Web Design/Development
> 503 243 2122 ext 409
> Willamette Week
> ____________________________________
>   www.wweek.com
>   cj at wweek.com
> ____________________________________
>
> _______________________________________________
> 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