Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [DoubleJJ] Importing Slashcode Database

Quote Reply
Re: [DoubleJJ] Importing Slashcode Database In reply to
Yeah... It's a bug Blush

In gforum.cgi, look for this:

Code:
if ($CFG->{disabled} == 2 and (not $USER or $USER->{user_status} != ADMINISTRATOR)) {
print $IN->header;
return GForum::Template->parse_print("disabled.html" => { message => $CFG->{disabled_message} });
}

If you change it to this, it'll allow HTML properly (and automatically convert newlines into <br>'s):

Code:
if ($CFG->{disabled} == 2 and (not $USER or $USER->{user_status} != ADMINISTRATOR)) {
print $IN->header;
my $message = $CFG->{disabled_message};
$message =~ s/\n/<br>\n/g;
return GForum::Template->parse_print("disabled.html" => { message => \$message });

}

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Subject Author Views Date
Thread Importing Slashcode Database DoubleJJ 4633 Jan 28, 2003, 10:49 AM
Thread Re: [DoubleJJ] Importing Slashcode Database
DoubleJJ 4536 Jan 30, 2003, 8:01 PM
Thread Re: [DoubleJJ] Importing Slashcode Database
Jagerman 4520 Jan 30, 2003, 10:19 PM
Thread Re: [Jagerman] Importing Slashcode Database
DoubleJJ 4518 Jan 31, 2003, 6:19 PM
Thread Re: [DoubleJJ] Importing Slashcode Database
Jagerman 4509 Jan 31, 2003, 7:52 PM
Thread Re: [Jagerman] Importing Slashcode Database
DoubleJJ 4508 Jan 31, 2003, 8:18 PM
Thread Re: [DoubleJJ] Importing Slashcode Database
Jagerman 4506 Feb 1, 2003, 12:14 PM
Thread Re: [Jagerman] Importing Slashcode Database
DoubleJJ 4467 Feb 9, 2003, 8:21 PM
Post Re: [DoubleJJ] Importing Slashcode Database
Jagerman 4464 Feb 10, 2003, 3:51 AM