move redirect? - 01/03/2002 2:17 AM
I think this would be a great hack, when an admin or mod move a topic and another user try to go to that topic, it would automatically redirect him to whereever the topic was moved
in ubb_lib_posting.cgi
# find:
$ubb_friend_on = '';
# add under:
my $js_move_to = $stat_line[7];
$js_move_to =~ s/^[^"]+"(.+?)"[^"]+$/$1/;
$js_move_to = UBBCGI::escape($js_move_to);
$close_transfer_wording .= qq~
<script language="javascript" type="text/javascript">
<!--
window.location = unescape("$js_move_to");
-->
</script>~;