How would I go about making a custom ban page, where it would show your ip and what you were banned for?
This is what i've done so far.
futaba_style.pl
use constant BAN_PAGE => q{
<p>Ban ;_; (insert more text later)</p><br />
The IP you were posting with was: <var $ip><br />
<if $comment>Reason for your ban: <var $comment></if><br />
<if !$comment>Reason for your ban: None</if>
};
wakaba.pl (under sub ban_check($$$$)
make_http_header();
print encode_string(BAN_PAGE);
} else {
make_error(S_BADHOST);
}
Should this work? Is there something I need to change?