Receive notification for all new post
Quote from elementsindustriels on January 11, 2018, 4:24 pmI thought the code is the same but… that work! thank you !
I thought the code is the same but… that work! thank you !
Quote from Asgaros on January 11, 2018, 4:27 pmGlad to hear! It was almost the same, but I forgot that a part of the hook-name changed from thread to topic.
Glad to hear! It was almost the same, but I forgot that a part of the hook-name changed from thread to topic.
Quote from elementsindustriels on January 23, 2018, 10:30 amHi !
In complement…
It is possible for moderator to receive the mail notification of new user?It’s just for the admin…
Thanks !
Hi !
In complement…
It is possible for moderator to receive the mail notification of new user?
It’s just for the admin…
Thanks !
Quote from Asgaros on January 23, 2018, 6:37 pmI dont know. This is a WordPress specific default-behavior. You have to ask in their official support forums if their is a plugin for this which allows you to enable notification-messages for this kind of stuff to specific user roles.
I dont know. This is a WordPress specific default-behavior. You have to ask in their official support forums if their is a plugin for this which allows you to enable notification-messages for this kind of stuff to specific user roles.
Quote from rgn_sss on February 22, 2018, 8:33 pmHi!
I looked through this topic and checked out how to subscribe to get notifications for all the new posts.
But what if I need users who subscribed to Forum , to get the notifications not only about new topics opened, but about new posts into topics of this forum, without subscribig to each topic separately? Are you going to add this feature to be easily managed by GUI? Currently user subscribed to Forum, only receives notification of new topic, but not of new message at existing topic.
Thanks in advance!
Hi!
I looked through this topic and checked out how to subscribe to get notifications for all the new posts.
But what if I need users who subscribed to Forum , to get the notifications not only about new topics opened, but about new posts into topics of this forum, without subscribig to each topic separately? Are you going to add this feature to be easily managed by GUI? Currently user subscribed to Forum, only receives notification of new topic, but not of new message at existing topic.
Thanks in advance!
Quote from Asgaros on February 22, 2018, 9:08 pmHello @rgn_sss
Maybe I add an option for this in a future update, but it will take a while.
Hello @rgn_sss
Maybe I add an option for this in a future update, but it will take a while.
Quote from rgn_sss on February 22, 2018, 9:29 pmQuote from Asgaros on February 22, 2018, 9:08 pmHello @rgn_sss
Maybe I add an option for this in a future update, but it will take a while.
Thanks for your response! Am I right that you currently don’t know if you’ll be able to add this in the near future ? ‘Cause for us there is an option to edit this by ourselves , but it might be a bit difficult for moderator to manage if admin is not enable in the moment 🙂
Quote from Asgaros on February 22, 2018, 9:08 pmHello @rgn_sss
Maybe I add an option for this in a future update, but it will take a while.
Thanks for your response! Am I right that you currently don’t know if you’ll be able to add this in the near future ? ‘Cause for us there is an option to edit this by ourselves , but it might be a bit difficult for moderator to manage if admin is not enable in the moment 🙂
Quote from Asgaros on February 23, 2018, 10:52 am@rgn_sss Yes. The main reason is that I am on a trip during the complete March and will not have time to work on this plugin.
@rgn_sss Yes. The main reason is that I am on a trip during the complete March and will not have time to work on this plugin.
Quote from rgn_sss on February 24, 2018, 12:42 pm@asgaros I see.. anyway, thanks for replying. It would be nice if you’d have a time for this in future 😉
@asgaros I see.. anyway, thanks for replying. It would be nice if you’d have a time for this in future 😉
Quote from marcin123 on February 27, 2018, 3:52 pmHi all! I have some problem when i add your code @asgaros to function.php.
Fatal error: Uncaught Error: Call to undefined method AsgarosForumNotifications::subscribeTopic() in /var/www/html/wp-content/themes/mesmerize/functions.php:45 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(288): auto_subscribe(119, 61) #1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /var/www/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /var/www/html/wp-content/plugins/asgaros-forum/includes/forum-content.php(176): do_action('asgarosforum_af...', 119, 61, 'test.powiadomie...', 'test.powiadomie...', 'https://dokumen...') #4 /var/www/html/wp-content/plugins/asgaros-forum/includes/forum-content.php(36): AsgarosForumContent->insert_data() #5 /var/www/html/wp-content/plugins/asgaros-forum/includes/forum.php(298): AsgarosForumContent->do_insertion() #6 /var/www/html/wp-includes/class-wp-hook.php(286): AsgarosForum->prepare(Object(WP)) #7 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #8 /var/www/html/wp-includes/plugi in /var/www/html/wp-content/themes/mesmerize/functions.php on line 45code in function.php
function auto_subscribe($postID, $topicID) { AsgarosForumNotifications::subscribeTopic(); } add_action('asgarosforum_after_add_topic_submit', 'auto_subscribe', 10, 2);
Hi all! I have some problem when i add your code @asgaros to function.php.
Fatal error: Uncaught Error: Call to undefined method AsgarosForumNotifications::subscribeTopic() in /var/www/html/wp-content/themes/mesmerize/functions.php:45 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(288): auto_subscribe(119, 61) #1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /var/www/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /var/www/html/wp-content/plugins/asgaros-forum/includes/forum-content.php(176): do_action('asgarosforum_af...', 119, 61, 'test.powiadomie...', 'test.powiadomie...', 'https://dokumen...') #4 /var/www/html/wp-content/plugins/asgaros-forum/includes/forum-content.php(36): AsgarosForumContent->insert_data() #5 /var/www/html/wp-content/plugins/asgaros-forum/includes/forum.php(298): AsgarosForumContent->do_insertion() #6 /var/www/html/wp-includes/class-wp-hook.php(286): AsgarosForum->prepare(Object(WP)) #7 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #8 /var/www/html/wp-includes/plugi in /var/www/html/wp-content/themes/mesmerize/functions.php on line 45
code in function.php
function auto_subscribe($postID, $topicID) { AsgarosForumNotifications::subscribeTopic(); } add_action('asgarosforum_after_add_topic_submit', 'auto_subscribe', 10, 2);