This mod is a 'Thanks' version of the 'Likes' feature that is a standard part of SMF 2.1.
For those who want/need a 'Thanks' feature, it provides a consistent look/feel and the same functionality the default SMF 2.1 'Likes' feature.
Notes: All the source code for this mod is derived from the SMF 2.1 'Likes' system. Apart from replacing the 'Like' word with the equivalent 'Thank' word the only other source code changes are as follows: 1. Configure an icon for the 'Thank' action/alert and an icon for the 'Unthank' action; and 2. Configure extra spacing to the left of the 'Thank' button in a message if the 'Likes' feature is also enabled.
Release History: v1.0 - 13-May-22 o Initial Release with support only for SMF 2.1.2
v1.1 - 26-May-22 o As per this message specified resources in 'db-install.php' to enable mod to install on large forums. o Fixed bug in './Themes/default/scripts/topic.js' that prevented 'Quick Edit' feature from working.
v1.2 - 19-Jun-22 o As per this message fixed issue of incorrect thank/unthank icons being displayed and of thank/unthank text/icon not maintaining left spacing in relation to the like/unlike text/icon.
v1.3 - 10-Jun-23 o As per this message fixed issue where clicking on the 'Thank' button repeatedly in quick succession generated a database error. o Updated core files to incorporate changes made to inbuilt Likes system. o Added 'import-thanks.php' script to import 'Thanks' created by SMF 2.0 'Thank Posts' mod - based on code provided by shawnb61 for importing 'Likes' from SMF 2.0.
License Copyright 2022-2023 Kathy Leslie
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
You have to register or login to be able to leave a review
There are currently no reviews on this customization