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

Recent

Welcome to TinyPortal. Please login or sign up.

December 01, 2023, 10:19:51 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 194,608
  • Total Topics: 21,188
  • Online today: 82
  • Online ever: 3,540
  • (September 03, 2022, 01:38:54 AM)
Users Online
Users: 0
Guests: 87
Total: 87

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.  ;)