#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
Bug Reports
Buddypress notifica...
 
Share:
Share
Tweet
Share
Notifications
Clear all

Buddypress notifications are not marked as read.

    Last Post
RSS

mrwhisk
Posts: 3
 mrwhisk
Topic starter
November 3, 2020 8:42 pm
(@mrwhisk)
New Member
Joined: 2 years ago

Hello.

File: wpforo/wpf-includes/integration/buddypress.php:684

In function wpforo_bp_buddypress_mark_notifications we have:

if ( isset($wp_error) && !is_wp_error($wp_error) ) {
$success = bp_notifications_mark_notifications_by_item_id( $user_id, $reply_id, 'community', 'wpforo_new_reply' );
do_action( 'wpforo_bp_notifications_handler', $success, $user_id, $reply_id, $action );
}

Since $wp_error is only defined in the event that there either !$result or !current_user_can( 'edit_user', $user_id ), the contents of the above if statement are never run. (If there isn't an error, then $wp_error is not set)

As a consequence, notifications are not cleared on action wpforo_mark_read.

Thankyou.

Topic Tags
buddypress notifications error
1 Reply
Alvina
Posts: 1873
Alvina - Facebook Alvina - Twitter
 Alvina
Moderator
November 4, 2020 11:32 am
(@alvina)
Member
Joined: 3 years ago

Hi @mrwhisk,

Thank you for letting us know. I let developers known about the issue, and it will be fixed in the near feature.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • GSC issues
    1 year ago
  • How to fix this is errors?
    1 year ago
  • Error establishing database connection
    1 year ago
  • Wrong user being notified of being mentioned in the forum
    2 years ago
  • buddypress profile
    3 years ago
Topic Tags:  buddypress (43), notifications (19), error (25),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Attachments not showing on forums posts after migration

    By Formicid, 2 hours ago

  • New Feature About Plugin Customization and Integration

    By z14165899, 14 hours ago

  • WordPress Email sending function wp_mail() doesn't work!

    By feassistant, 21 hours ago

  • Import users from IPBoard

    By jesusdlg, 1 day ago

  • Intruder signing in to wpforo without approval

    By plaurits, 2 days ago

  • How to make new user to get approve manually before creating post and profile.

    By Adhyansh21, 3 days ago

Topic Tags

  • css52
  • translation50
  • plugin conflict48
  • seo47
  • new features45
  • buddypress43
  • avatar41
  • moderation40
  • ultimate member40
  • login40
  • forum40
  • registration37
  • threaded layout35
  • cache34
  • spam33
  • editor33
  • menu33
  • shortcode32
  • forum accesses30
  • widget29
View all tags (2195)

Recent Posts

  • RE: replacing create_function() with something else for PHP8 [duplicate]

    Hi @douglajonson, what is the plugin name?

    By Chris, 42 mins ago

  • RE: Description for each topic?

    @christine, wpForo does not have a topic description ...

    By Chris, 1 hour ago

  • RE: About Plugin Customization and Integration

    Hi @z14165899, Please send your request to sales[at]g...

    By Chris, 1 hour ago

  • Attachments not showing on forums posts after migration

    Hello I just did a manual migration and the older forum...

    By Formicid, 2 hours ago

  • RE: WordPress Email sending function wp_mail() doesn't work!

    @dimalifragis thanks for the enlightenment there. It...

    By feassistant, 15 hours ago

  • RE: Intruder signing in to wpforo without approval

    Maybe at Wordpress.org ?

    By dimalifragis, 23 hours ago

  • Import users from IPBoard

    Hello, Is it possible to import users from ipboard? (...

    By jesusdlg, 1 day ago

Share:
Share
Tweet
Share
  Forum Statistics
21 Forums
9,940 Topics
50.3 K Posts
11 Online
48.4 K Members

Latest Post: replacing create_function() with something else for PHP8 [duplicate] Our newest member: Lucky Wholesale Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation