dopetalk
Technology => SMF Forum Code Modifications => Topic started by: Chip on October 12, 2016, 09:20:37 AM
-
http://custom.simplemachines.org/mods/index.php?mod=4060
This is a fork of the original mod by [SiNaN] - http://www.simplemachines.org/community/index.php?topic=251656.msg1629997#msg1629997
Description:
Time to see who viewed a topic. This modification enhances the topic log function of SMF and gives you the ability to view the log of the topic you want.
(https://forum.drugs-and-users.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FL1Tm4.png&hash=115afea5cde1b6f1093f077f34ddaad37aedab18)
installed.
-
small Permission viewing bug fixed in .Themes/default/languages/ManagePermissions.english.php by adding:
// Topic Solved
$txt['permissionname_tvl_view'] = 'View topic view log';
$txt['permissionhelp_tvl_view'] = 'This permission allows users to view the topic view log.';
$txt['permissionname_tvl_view_own'] = 'Own topic';
$txt['permissionname_tvl_view_any'] = 'Any topic';
$txt['permissionname_simple_tvl_view_own'] = 'View own topic view log';
$txt['permissionname_simple_tvl_view_any'] = 'View any topic view log';
then added permissions for everybody.
BUG reported > http://www.simplemachines.org/community/index.php?topic=538187.msg3895924#msg3895924
-
I did some research and wrote the fix myself, see http://www.simplemachines.org/community/index.php?topic=538187.msg3896638#msg3896638
i'm just not sure i want to run with this mod but at least it's been educational.
-
removed but may turn it on briefly at some point.
i'm not happy about the table growing unchecked and we don't really need to know for the most part. every post view would update the table so it can go.