Redirect after lock a thread 1.5 After "lock" a thread you will shown the messag index and after you "unlock" a thread you will shown this thread. Bjoern Berg - cgi@bjoern-berg.de http://www.wintotal.de/YaBB Sources/LockThread.pl $yySetLocation = qq~$cgi&action=display&num=$INFO{'thread'}&start=$start~; #HbBB - Redirect after lock if ($mstate == 1) {$yySetLocation = qq~$cgi~;} else {$yySetLocation = qq~$cgi&action=display&num=$INFO{'thread'}&start=$start~;} ##HbBB - Redirect after lock