UBB.Dev
Posted By: hackrme 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
Posted By: pumpkin Re: move redirect? - 01/03/2002 6:06 PM
yeah that wouldn't be bad
Posted By: Igor Re: move redirect? - 01/08/2002 7:33 PM
cool idea
Posted By: catcherman Re: move redirect? - 08/17/2003 8:16 PM
It seems like this might have been addressed by now, but I'm still researching. Has anyone come up with a hack that does this yet?
Posted By: Brett Re: move redirect? - 08/18/2003 2:51 PM
Code
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>~;
and clear cache.
Posted By: catcherman Re: move redirect? - 08/19/2003 12:21 AM
Have you tested this?
© UBB.Developers