We were asked about this, this morning as it is felt invasive of privacy. Although the results are fairly innocuous, nonetheless individuals ought to have the right to disallow people seeing their posting habits in the same way as they can hide their online status.
It makes no sense to say this person is offline and then show the whole world their most active times of being around.
Is there a possibility that you can build this to allow users to enjoy the freedom of roaming without being tracked by anyone other than website owner/administrators?
Thank you.
This is already a part of the regular forum features.
Here is where the option is located.....
Admin Panel
Members
Permissions
Permissions by Membergroup
General Permissions
Member Profiles
View profile summary and stats
Own Profile
Any Profile
Thank you for replying and sorry it took me so long to get back to you.
I have seen this and if I uncheck either of these options, not only does it switch off the stats, it switches off access to the profile - is it possible to separate the two so that only the stats are turned off and not all the other information?
This will make it so that only admins can see users posts and stats.
/Themes/{forum_theme}/Profile.template.php
<td class="windowbg2" colspan="2">';
if (!$context['user']['is_owner'] && $context['can_send_pm'])
echo '
<a href="', $scripturl, '?action=pm;sa=send;u=', $context['member']['id'], '">', $txt[688], '.</a><br />
<br />';
echo '
<a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=showPosts">', $txt[460], ' ', $txt[461], '.</a><br />
<a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=statPanel">', $txt['statPanel_show'], '.</a><br />
<br />
</td>
</tr>
<td class="windowbg2" colspan="2">';
if (!$context['user']['is_owner'] && $context['can_send_pm'])
echo '
<a href="', $scripturl, '?action=pm;sa=send;u=', $context['member']['id'], '">', $txt[688], '.</a><br />
<br />';
if (!$context['user']['is_admin'])
echo '
<a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=showPosts">', $txt[460], ' ', $txt[461], '.</a><br />
<a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=statPanel">', $txt['statPanel_show'], '.</a><br />';
echo '
<br />
</td>
</tr>
NOTE: this is for 1.1.8
Thank you for this - but I am not using 1.1.8.
I am on 2 RC1.