✅ Announcements and Globals, possible WRW Issue?

🆓 Marks posts as “read” automatically, just by a user scrolling through the viewtopic page.
Provides a detailed set of statistics and lists based on various criteria.
Can be used in conjunction with “Highlight Posts”.


User avatar
3Di
Founder
Founder
Posts: 1528
Joined: 12 Mar 2018 20:10
Location: Milan (IT) Frankfurt (DE)
Contact:

✅ Announcements and Globals, possible WRW Issue?

Post by 3Di »

Confirmed, here is the fix:


OPEN
ROOT\ext\phpbbstudio\wrw\controller\view_controller.php


FIND (should be line 797 afair)

AND t.topic_type IN (" . POST_NORMAL . ', ' . POST_STICKY . ")

REPLACE WITH

AND t.topic_type IN (" . POST_NORMAL . ', ' . POST_STICKY . ', ' . POST_ANNOUNCE . ', ' . POST_GLOBAL . ")

Please confirm, thanks in advance.

🇪🇺 Honour and respect to all the Healthcare Heroes. 🇮🇹


User avatar
profKRoy
Contributor
Contributor
Posts: 80
Joined: 17 Feb 2020 15:24

✅ Announcements and Globals, possible WRW Issue?

Post by profKRoy »

Awesome! Grazi 3Di. I’ll paste in the revision and report back.


User avatar
profKRoy
Contributor
Contributor
Posts: 80
Joined: 17 Feb 2020 15:24

✅ Announcements and Globals, possible WRW Issue?

Post by profKRoy »

Is there a modification to the extension, like the one you provided before, that will allow me to include “Sub Global” topic type in the results? This seems to be the only ‘topic type’ that isn’t included.

I realize this may cause some issues for those who are using WRW without SGT. So perhaps as a temporary solution, there’s some code I can add?

As always, happy to donate to the studio for solutions.


User avatar
3Di
Founder
Founder
Posts: 1528
Joined: 12 Mar 2018 20:10
Location: Milan (IT) Frankfurt (DE)
Contact:

✅ Announcements and Globals, possible WRW Issue?

Post by 3Di »

Please have a look to the private forum, where I have already provided the solution for that private extension if I am not wrong?

🇪🇺 Honour and respect to all the Healthcare Heroes. 🇮🇹


User avatar
profKRoy
Contributor
Contributor
Posts: 80
Joined: 17 Feb 2020 15:24

✅ Announcements and Globals, possible WRW Issue?

Post by profKRoy »

3Di wrote:
15 Mar 2021 21:18

Please have a look to the private forum, where I have already provided the solution for that private extension if I am not wrong?

You’re not wrong. Got it. I must have overwritten that modification at some point. Work perfectly.


Post Reply