solved Making Auto-Follow a Discussion an option by default

White Agency
White Agency
@white-agency
5 years ago
204 posts
This is something I've been meaning to post about for a long long time but have never got round to it !!

Our clients previous forum was on Ning and according to the client a user, when creating or posting to a forum discussion, did not automatically get set to follow that discussion. If they wanted to follow the discussion they had to click the appropriate link after posting.

To get round this I've been commenting out the code in the index.php file in the jrForum module where the auto follow is set ( in view_jrForum_create_save and view_jrForum_post_create_save ) everytime there is an update!

What's the chances of this being made an option in the module ? Obviously the default would be 'auto-follow'.

Many Thanks

Dave
updated by @white-agency: 06/06/19 11:11:10AM
paul
@paul
5 years ago
4,326 posts
Hi Dave
So to be clear, by default when a forum topic is created by a user, or a user comments on a topic, they are automatically set as a follower of that topic and will get subsequent notifications.
You are asking for an option for that NOT to happen?
Thanks
Paul


--
Paul Asher - JR Developer and System Import Specialist
White Agency
White Agency
@white-agency
5 years ago
204 posts
That's correct Paul.
paul
@paul
5 years ago
4,326 posts
OK - Let me check that out.
Which code have you been commenting out?


--
Paul Asher - JR Developer and System Import Specialist
White Agency
White Agency
@white-agency
5 years ago
204 posts
In view_jrForum_create_save and view_jrForum_post_create_save functions, look for the following comment :-

// turn watches on for the poster unless they
// have disabled notifications in User Notifications
White Agency
White Agency
@white-agency
5 years ago
204 posts
Just seen you've introduced this in the latest update !!!

Thank you :)
paul
@paul
5 years ago
4,326 posts
Thanks - Sorry for not letting you know on this thread.


--
Paul Asher - JR Developer and System Import Specialist

Tags