Not Solved creating group for certain notifications
Not Solved
That's a server-side work. You need to edit this function: inc/plugins/unreadPosts.php#L261

Mainly, you need to return two data: the count template (as the plugin already does) and your cleaned unread posts count (without the manipulation of a template) with your usergroup check. Then in the js file you just need to read the variable (check if is set/greater than 0) and do your document.title manipulation. It is better if you return the data in json since you need to pass multiple data.

Messages In This Thread
RE: creating group for certain notifications - by Mipher - 2019-06-19, 01:50 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)