Advertisement:

Author Topic: Post count disabled, yet showing in PMs.  (Read 3714 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

  • Full Member
  • ***
  • Posts: 441
  • 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: 49,973
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: 69,458
    • StoryBB/StoryBB 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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Irisado

  • A Light in the Darkness
  • Doc Coordinator
  • SMF Hero
  • *
  • Posts: 9,638
  • 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