SMF Development > Feature Requests

"moved" messages

<< < (2/2)

Antechinus:
Already been committed. :P


--- Code: --- // auto remove this MOVED redirection topic in the future?
$redirect_expires = !empty($_POST['redirect_expires']) ? ((int) ($_POST['redirect_expires'] * 60) + time()) : 0;

// redirect to the MOVED topic from topic list?
$redirect_topic = isset($_POST['redirect_topic']) ? $topic : 0;

$msgOptions = array(
'subject' => $txt['moved'] . ': ' . $subject,
'body' => $_POST['reason'],
'icon' => 'moved',
'smileys_enabled' => 1,
);
$topicOptions = array(
'board' => $board,
'lock_mode' => 1,
'mark_as_read' => true,
'redirect_expires' => $redirect_expires,
'redirect_topic' => $redirect_topic,
);
--- End code ---

emanuele:
Didn't know about that issue!

Closed! :P

ETA: on the request 1...it should be possible to change the text from "posted by" to "moved by".
Change it to the name of the original user doesn't make much sense honestly, it would only increase confusion IMHO.

Navigation

[0] Message Index

[*] Previous page

Go to full version