dopetalk

Technology => SMF Forum Code Modifications => Topic started by: Chip on August 11, 2015, 03:05:32 AM

Title: Topic Solved
Post 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.
Title: Re: Topic Solved
Post by: Chip on February 12, 2020, 12:07:32 AM
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:
Code: [Select]
'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:
Code: [Select]
'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'] : ''),
Title: Re: Topic Solved
Post by: Chip on February 24, 2020, 04:30:22 PM
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
Title: Re: Topic Solved
Post by: Chip on March 06, 2020, 08:26:54 AM
Please do NOT use my version so go here instead for the official version (https://www.simplemachines.org/community/index.php?topic=286932.0)
SimplePortal 2.3.6 © 2008-2014, SimplePortal