Advertisement:

Author Topic: Post count disabled, yet showing in PMs.  (Read 2775 times)


Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Post count disabled, yet showing in PMs.
« Reply #1 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();
Code: [Select]
commit dbe75c9472977eee2313e3c0c13e8a1a5af810b9
Date:   Jul 25 2012

    Disabled profile fields were still visible in personal messages [Topic: 482511]


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

kat

  • Guest
Re: Post count disabled, yet showing in PMs.
« Reply #2 on: July 25, 2012, 09:03:48 AM »
Ta, Manny! :)

Offline GL700Wing

  • Jr. Member
  • **
  • Posts: 269
  • Gender: Female
Re: Post count disabled, yet showing in PMs.
« Reply #3 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?

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 48,063
Re: Post count disabled, yet showing in PMs.
« Reply #4 on: May 29, 2017, 05:18:06 AM »
please stop bumping old topics, as it stats in the topic the fix was committed.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,041
    • Arantor on GitHub
Re: Post count disabled, yet showing in PMs.
« Reply #5 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.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline Irisado

  • Doc Coordinator
  • SMF Hero
  • *
  • Posts: 9,006
  • Soñando debajo del arco iris
Re: Post count disabled, yet showing in PMs.
« Reply #6 on: May 29, 2017, 06:44:35 AM »
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.
Soñando con una playa donde brilla el sol, un arco iris ilumina el cielo, y el mar espejea iridescentemente