Group subscription dialog
-
Hi I am using buddyx theme
How to show
Group subscription dialog in group head
-
In plugin settings, please enable group subscription option(radio button to subscribe only buddypress groups), it will enable subscribe/unsubscribe buttons in group list page and in group home page. For more details, please refer plugin support site Plugin support forum
I am also using Buddyx theme with group subscription button in group home page
Please download latest version 1.38 version with some more changes related to group subscription-
This reply was modified 2 years, 8 months ago by
Murali.
thanks
Now showing as desired
But now showing alert as showing belowNotice: Undefined variable: cookie_name in /home/u992033758/domains/localhost/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/pnfpb_push_notification.php on line 2346 Notice: Undefined index: pnfpb_group_push_notification_1 in /home/u992033758/domains/localhost/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/pnfpb_push_notification.php on line 2347
This is resolved in 1.38 version uploaded today please download the latest version
Thanks
GreatCan your add additional options in group notification like only send notification for favorites post only
I will add it in next release, i am working on some more enhancements i will include this also thank you
Thanks
One more thing
I feel when any user post any activity same notification receive to same user also.Is is correct the it requires to resolve.
Push notification will be sent to all users irrespective of owner or others. It is based on user browser sometimes user might be logged in or not logged in. It is correct user will get notification if browser is subscribed to all notification or group notification. It is based on browser subscription not based on logged in users or not logged in users except for private message notification which will be sent to only particular user
-
This reply was modified 2 years, 8 months ago by
Murali.
Then I feel there is scope of improvement for buddypress activity notification should not send to same user who posted activity.
It’s my suggestion.
Push notification is based on browser subscription not based on logged in users. We can get user id of the user who posted the activity after he logged into website. Push notification can be subscribed without logging on to particular website, it is general for visitors as well as for logged in users. Push notification is sent using Firebase interface from php code of this plugin which is server side and device subscription token is from javascript to get it from browser and same userid might have subscribed device subscription token from different devices, So it is difficult to get subscription token who created the activity from which device sometimes push notification can be scheduled to publish every hour or every week once or every week month also. So it is difficult to filter the device subscription token based on the users. If you need, you can customize this plugin yourself to get subscription token only for logged in users but it is difficult to filter the device subscription token if user subscribed to same website from different devices like mobile browser, desktop browser(using same user id) and it will not be applicable for all other users of this plugin.
Hi
I am big fan this pluginI am not coder just do for hobby
I feel in function
PNFPB_icforum_push_notifications_web()
We can do smal modification so that buddypress user dose not get push notifications for self activity
$deviceids=$wpdb->get_col( "SELECT SUBSTRING_INDEX(device_id, '!!', 1) FROM {$table_name} WHERE device_id NOT LIKE '%@N%' AND device_id NOT LIKE '%!!%' AND (subscription_option = '01000' OR subscription_option = '01100' OR subscription_option = '01010' OR subscription_option = '10000')" );
We can add additional condition
userid not like bp_loggedin_user_id();
-
This reply was modified 2 years, 8 months ago by
itsabhist.
-
This reply was modified 2 years, 8 months ago by
- The topic ‘Group subscription dialog’ is closed to new replies.