I prefer nested mode to flat when archiving stories, so I looked into it.
here's my diff in my modified Slash.pm -- I am not sure if this is the best way to do it but it seems to work. One small problem - when the archived page is displayed, the archived comments are still listed as 'flat' even though they are actually nested mode.
what I did (Score:2)
here's my diff in my modified Slash.pm -- I am not sure if this is the best way to do it but it seems to work. One small problem - when the archived page is displayed, the archived comments are still listed as 'flat' even though they are actually nested mode.
diff -r1.3 -r1.4
4c4
< # $Id: Slash.pm,v 1.3 2002/01/07 01:28:35 david Exp $
---
> # $Id: Slash.pm,v 1.4 2002/01/07 07:41:09 david Exp $
478c479
< if ($user->{mode} eq 'flat' || $user->{mode} eq 'archive') {
---
> if ($user->{mode} eq 'flat') {
481c482
< } elsif ($user->{mode} eq 'nested') {
---
> } elsif ($user->{mode} eq 'nested' || $user->{mode} eq 'archive') {
Re:what I did (Score:2)
Parent