XF 1.4 Manage users watching forums

otfordnet

Member
Is there a way through Admin, or as a forum moderator, to see and control (Add / Delete) the list of users who are watching a forum?
I appreciate the normal use of a forum is for the user to watch / un-watch a forum themselves, but for, say, a forum node that represents a club / society it could be a useful way to manage communication using the forum facilities.
 
Thanks Mike, as an alternative can you 'act as user' if you are the forum admin to watch / un-watch forum on their behalf or possibly consider for future enhancement?
 
Would the below SQL be correct to add forum watch for all users in a user group?

Code:
insert into xf_forum_watch (user_id, node_id, send_alert)
select user_id, <aa>, 1
from xf_user_group_relation g
left join xf_forum_watch w on w.user_id = w.user_id and w.node_id = g.user_group_id
where user_group_id = <bb>
and w.user_id is null

<aa> = forum id (to watch)
<bb> = user group id
the left join stopping from clash/error if the user is already watching the forum.
 
Top Bottom