TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

December 10, 2024, 05:09:54 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,443
  • Total Topics: 21,252
  • Online today: 144
  • Online ever: 6,457 (November 30, 2024, 02:40:09 PM)
Users Online
  • Users: 0
  • Guests: 105
  • Total: 105

tpshout not ignored action

Started by tino, February 17, 2023, 08:32:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tino

If you look at the online list on here you can see people are viewing the tpshout this should be an ignored action. I think at some point we changed shout to tpshout and forgot to update the ignored action hook.

@rjen

Running Latest TP on SMF2.1 at: www.fjr-club.nl

@rjen

Curious what hook that is: I searched but cannot find it...
Running Latest TP on SMF2.1 at: www.fjr-club.nl


@rjen

Quote from: tino on February 17, 2023, 08:32:31 PMIf you look at the online list on here you can see people are viewing the tpshout this should be an ignored action. I think at some point we changed shout to tpshout and forgot to update the ignored action hook.

It seems the content of the array was also changed. I have just made a fix that seems to work

the line needs to be changed to

        $no_stat_actions = array_merge($no_stat_actions, array('tpshout' => true));

It works on my site and it does nof affect 2.0. So Mick, can you upload attached file to the TinyPortal site, that should fix it here too...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Quote from: @rjen on February 18, 2023, 04:10:34 PMSo Mick, can you upload attached file to the TinyPortal site, that should fix it here too...

@rjen, sorry for delay. File is now in place.  ;)