Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: kat on July 25, 2012, 06:59:51 AM

Title: Post count disabled, yet showing in PMs.
Post by: kat on July 25, 2012, 06:59:51 AM
Seems a bit daft...

http://www.simplemachines.org/community/index.php?topic=482133.msg3375915#msg3375915
Title: Re: Post count disabled, yet showing in PMs.
Post by: emanuele on July 25, 2012, 07:47:02 AM
Fix:
Code (find in PersonalMessage.php) Select
$context['signature_enabled'] = substr($modSettings['signature_settings'], 0, 1) == 1;
Code (add after) Select
$context['disabled_fields'] = isset($modSettings['disabled_profile_fields']) ? array_flip(explode(',', $modSettings['disabled_profile_fields'])) : array();

commit dbe75c9472977eee2313e3c0c13e8a1a5af810b9
Date:   Jul 25 2012

    Disabled profile fields were still visible in personal messages [Topic: 482511]
Title: Re: Post count disabled, yet showing in PMs.
Post by: kat on July 25, 2012, 09:03:48 AM
Ta, Manny! :)
Title: Re: Post count disabled, yet showing in PMs.
Post by: GL700Wing on May 28, 2017, 08:33:29 PM
I've noticed this is not in PersonalMessage.php in SMF 2.0.14 - it is implemented some other way/no longer necessary?
Title: Re: Post count disabled, yet showing in PMs.
Post by: Illori on May 29, 2017, 05:18:06 AM
please stop bumping old topics, as it stats in the topic the fix was committed.
Title: Re: Post count disabled, yet showing in PMs.
Post by: Arantor on May 29, 2017, 06:03:51 AM
The fix was applied to 2.1 but it's not clear if this was fixed in 2.0, making it a valid question.
Title: Re: Post count disabled, yet showing in PMs.
Post by: Irisado on May 29, 2017, 06:44:35 AM
Quote from: GL700Wing on May 28, 2017, 08:33:29 PM
I've noticed this is not in PersonalMessage.php in SMF 2.0.14 - it is implemented some other way/no longer necessary?

Any concerns about bugs can be raised in the Bug Reports board, rather than reviving topics from 2012.  Topic locked.