Re: ~closed~ - Mod
Verfasst: 17.05.2010 14:20
Da war ein { zuviel. Nun stimmts.
Öffne
posting.php
Finde
Davor füge einCode: Alles auswählen
if ($post_data['topic_status'] == ITEM_LOCKED && !$topic_lock && $perm_lock_unlock)
~closed~ kann natürlich ersetzt werden.Code: Alles auswählen
if((strpos(utf8_normalize_nfc(request_var('message', '', true)), '~closed~') !== false) && $auth->acl_get('m_lock', $forum_id)) { if ($post_data['topic_status'] !== ITEM_UNLOCKED) { $change_topic_status = ITEM_LOCKED; } }