Thanks very much - you fixed both problems!  I definitely support the 
idea of including both of these in a patch :-).

Thanks a ton for your prompt and helpful response!

	Nic

janra at write-on.org wrote:
> 
> On 15-Jan-07, at 6:10 PM, Nic McPhee wrote:
> 
> 
>> First, and more importantly, when creating a new user in our Scoop 
>> install, they get an e-mail with a URL of the form:
>>
>>    * http://scoop.morris.umn.edu/scoop/activate/xxxxxx
>>
>> where xxxxxx is some sort of identifying key.  Clicking that link 
>> rewrites (on Scoop's end) to a URL of the form:
>>
>>    * http://scoop.morris.umn.edu//scoopuser/xxx/prefs?firstlogin=1
> 
> 
> I thought we'd fixed that activation bug. Anyway, what's happening (as 
> you noticed) is that one of the slashes is in the wrong place.
> 
> If you go to the Boxes Admin Tool and load up the "activate" box, down 
> at the bottom of the box you'll find the following:
> 
> my $url = $S->{UI}->{VARS}->{site_url} . "/" .
>           $S->{UI}->{VARS}->{rootdir} . "user/$urlnick/prefs?firstlogin=1";
> 
> Put that "/" after the rootdir instead of before, and it'll be fixed. 
> That is:
> 
> my $url = $S->{UI}->{VARS}->{site_url} .
>           $S->{UI}->{VARS}->{rootdir} . "/" . 
> "user/$urlnick/prefs?firstlogin=1";
> 
>> Secondly (and less likely to be noticed by students), the "Add/Edit 
>> Tags to this Story" link just before the comments on a story doesn't 
>> work. The URL is (e.g.)
>>
>>    * http://scoop.morris.umn.edu/addtag/2007/1/15/12128/2153
>>
>> but gives you a 404 (Not Found) if you click on it.
> 
> That would be a bug I hadn't noticed, and it's because you're running 
> scoop in a directory. Most of the developers don't, and have scoop 
> running with a blank rootdir (directly on the domain) - and so don't 
> notice when they forget to properly add the rootdir to their URLs. Take 
> a look at the URL - there's no "/scoop" before the addtag...
> 
> If you go to the Boxes Admin Tool and load up the "tag_listing" box, 
> you'll see the following:
> 
> my $addlink = ($S->have_perm('edit_story_tags')) ? qq~ :: <a 
> href="/addtag/$sid">Add/Edit Tags to this Story</a>~ : qq~ :: <a 
> href="/addtag/$sid">Add Tags to this Story</a>~;
> 
> before each "/addtag" (there's two), add |rootdir| (vertical pipes - on 
> the same key as the backslash). That is:
> 
> my $addlink = ($S->have_perm('edit_story_tags')) ? qq~ :: <a 
> href="|rootdir|/addtag/$sid">Add/Edit Tags to this Story</a>~ : qq~ :: 
> <a href="|rootdir|/addtag/$sid">Add Tags to this Story</a>~;
> 
> This should be fixed in a patch so other people don't run into it.
> 
> Hope those fix it up for you!
> 
> -janra