dopetalk
Technology => SMF Forum Code Modifications => Topic started by: Chip on August 11, 2015, 03:05:32 AM
-
http://custom.simplemachines.org/mods/index.php?mod=1601
This mod adds the feature of marking a topic solved or unsolved. You can select the boards this feature to be active. It includes solve own topic and any topic permissions. It also has quick moderation option when selectboxes are used and topic solved log, which can be viewed both from Admin Logs are and Moderation Center.
To enable the mod:
Admin Control Panel > Forum > Boards
Click on the "modify" link for the board you want to enable this feature for.
In the edit board page check "Topic Solved Board" option and save the changes.
-
see https://www.simplemachines.org/community/index.php?topic=286932.msg4046417#msg4046417 for SMF 2.0.16 upgrade.
This comes off after Global Topics
edit ./Sources/Modlog.php original code when removed from 2.0.15 WITH SMF 2.0.16 on; Locate this:
'value' => $txt['modlog_' . ($context['log_type'] == 3 ? 'admin' : 'moderation') . '_log_desc'] . (!empty($modSettings['force_gdpr']) && $context['log_type'] == 3 ? '<br />' . $txt['modlog_admin_log_gdpr_no_delete'] : ''),
Replace with:
'value' => $txt['modlog_' . ($context['log_type'] == 3 ? 'admin' : ($context['log_type'] == 4 ? 'topicsolved' : 'moderation')) . '_log_desc'] . (!empty($modSettings['force_gdpr']) && $context['log_type'] == 3 ? '<br />' . $txt['modlog_admin_log_gdpr_no_delete'] : ''),
-
See the updated package attachment for 2.0.16 ...
also posted on SM at https://www.simplemachines.org/community/index.php?topic=286932.msg4047515#msg4047515
-
Please do NOT use my version so go here instead for the official version (https://www.simplemachines.org/community/index.php?topic=286932.0)