Support » Plugin: BuddyPress Registration Options » v4.3.0 blanks the notifications for replies to topics

  • Resolved Scaffies

    (@scaffies)


    Hello, since updating to the latest version today (4.3.0) notifications to topic posts are no longer visible (see screenshot, linked). Instead of saying “xyz replied to your post”.

    It worked just fine until we installed this update, this is why we believe it must be an issue introduced by the user role editor. Any ideas? THANKS!

    admin [at] scaffies.nl

    blank notifications

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter Scaffies

    (@scaffies)

    Since we use the plugin to make the site members-only, and we are bombarded from the outside for new accounts, we cannot easily turn the plugin off and on .. in case that is your 1st suggestion … 🙂

    Thread Starter Scaffies

    (@scaffies)

    I DID turn the plug-in briefly OFF and back ON (better to be sure) and it DID confirm this update causes the blanked notifications:

    Plugin turned OFF:
    plugin off

    Plugin turned ON:
    plugin ON

    • This reply was modified 4 years, 4 months ago by Scaffies.
    Thread Starter Scaffies

    (@scaffies)

    non-clickable, blank list of notifications with the plugin activated:

    list of blanks

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Worth trying so that you can still have it activated and remove conflicts with the notifications. Add the following two lines to your active theme’s functions.php. I believe it should remove the notification setup

    remove_filter( 'bp_notifications_get_notifications_for_user', 'bprwg_notifications', 10, 5 );
    remove_filter( 'bp_notifications_get_registered_components', 'bp_registration_options_get_registered_components' );
    

    To help me test and debug what’s going on, what component are these topics coming from? Groups for example?

    Thread Starter Scaffies

    (@scaffies)

    Thank you for the prompt response!

    I did append those two lines to the themes’ (DynamiX) functions.php file (at the very end) and it DID FIX the problem. Thank you!

    The blanked messages came from both notifications for messages received within the WordPress / Buddypress site, as well as notifications for responses to forum posts in Buddypress / bbpress forums.

    Since these filters are likely to be overwritten by the next theme update, will you incorporate them into the next update of your plug-in?

    Thanks again for the fast resolution!
    Kevin / @admin7
    (another admin from the Scaffies team)

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    No, I still want to offer the notification support for our plugin, so my intent is to try and figure out what’s going on with the blank notifications and resolve that so they can live together in harmony 😀

    Thank you for the feedback on where to be checking.

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    thus far I have not managed to recreate, I’m using the trunk version of BuddyPress.

    I have sent messages between members who are friends and the notifications are showing up like expected.

    I’ve set up a forum via bbPress and had a user favorite/subscribe to both the forum and the topic. Not quite sure which should be triggering a notification offhand, as neither of those seem to trigger one at all.

    Perhaps some more minute details on actions being taken for this would help me isolate better. Also other BuddyPress-related plugins you have installed could provide some help as well.

    Thread Starter Scaffies

    (@scaffies)

    Here is a list of the System Status and all plug-ins we use with version numbers, etc:

    Environment
    (multi-CPU, multi-Cores dedicated server on the AMS Fiber Ring, with all-SSD storage)
    Operating System Linux
    Server Apache/2
    Memory usage 79.8 Mb
    MYSQL Version 5.5.41-MariaDB
    SQL Mode Not set
    PHP Version 5.6.19
    PHP Safe Mode Off
    PHP Allow URL fopen On
    PHP Memory Limit 512M
    PHP Max Upload Size 256M
    PHP Max Post Size 256M
    PHP Max Script Execute Time 1800
    PHP Exif support No
    PHP IPTC support Yes
    PHP XML support Yes
    Site URL http://scaffies.nl/wordpress
    Home URL http://scaffies.nl
    $_SERVER[HTTP_HOST] scaffies.nl
    $_SERVER[SERVER_NAME] scaffies.nl
    WordPress Version 4.7
    WordPress DB Version 38590
    Multisite No

    Active Theme DynamiX 5.3

    Active Plugins
    Akismet 3.2
    Arrowchat WordPress Integration 1.0.2
    bbPress 2.5.12
    bbPress Topic Thumbnails 1.2
    BP Custom Background for User Profile 1.0.5
    BP Profile Message UX Free 1.5
    BP Recent Profile Visitors 1.1.3
    BP Registration Options 4.3.0
    BuddyPress 2.7.3
    BuddyPress Activity Plus 1.6.4
    Buddypress Friend of a Friend (FOAF) 2.7
    BuddyPress Friends On-line (FOL) 0.4.3.1
    BuddyPress Members only 1.6.1
    Buddypress Messages Spam Blocker 2.5
    BuddyPress Polling Plugin 1.0
    BuddyPress Sitewide Activity Widget 1.3.2
    BuddyPress Social Icons 1.0.2
    CDN Enabler 1.0.3 (we use Swiss-based KeyCDN, pull-CDN only)
    CM Answers Pro 2.1.6
    Contact Form by BestWebSoft 4.0.4
    Contact Form Multi by BestWebSoft 1.2.0
    Dev4Press Updater 3.4
    Easy Polling Plugin 2.5
    EU Cookie Law 2.9.3
    Events Manager 5.6.6.1
    GD bbPress Toolbox 4.4.3
    Google Analytics Dashboard for WP 4.9.4
    Jetpack by WordPress.com 4.4.2
    Login Widget With Shortcode 5.5.5
    MediaPress 1.0.7
    Pixel Jar BuddyPress Honeypot 1.1
    Rating-Widget: Star Review System [Premium] 2.8.0.1
    Simple History 2.13
    Soundcloud is Gold 2.3.3
    UpdraftPlus – Backup/Restore 2.12.27.22
    Video Gallery by Huzzaz 7.4
    Wordfence Security 6.2.8
    WP-Ban 1.69
    WP-DBManager 2.78.1
    WP-Mail-SMTP 0.9.5
    wp-Monalisa 3.8
    WPBakery Visual Composer 4.4.2

    Inactive Plugins
    Slider Revolution 5.2.5 (slated for deletion, we use Jetpack Carousel instead)

    All plugin’s are on their latest versions – we make every attempt to stay current, if only for security reasons and near-zero-day attack protection.

    Hope this helps!!

    Kevin @admin7
    Scaffies S.A.C.K. AdminTeam

    Thread Starter Scaffies

    (@scaffies)

    On our behalf, there is no rush, everything works again, thanks to your excellent and quick support with the two filters.

    It would indeed be nice if the plug-in would support notifications, before the next theme update happens (they come in long intervals, so no immediate rush at all) 🙂

    Thanks for continuing to look into it!

    Thread Starter Scaffies

    (@scaffies)

    I should add, we like your plug-in a lot.

    While we do NOT use it to make the site members-only (a different plug-in does that, see above), we do use it to review new member applications – and this is very handy.

    We make it very hard to join the Scaffies community, and we have some people who try to sneakily bypass the registration requirements: thanks to your plug-in, we always catch them easily, as all new registrations have to go through your review step.

    http://scaffies.nl/

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    @scaffies can you try this version out, and let me know if it solves the issues with notification text? https://cloudup.com/cjm9I-kPpNC

    I think it’s a conflict with bbPress and a callback they have on a matching filter.

    Thread Starter Scaffies

    (@scaffies)

    Thanks for following up on this!

    Is this a newer version (by release version)?

    We only have one live production site, not also test sites, and testing stuff is somewhat tricky, especially if we don’t have the option of rolling back a version.

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    No, this copy has only minor changes made that are meant to help the notification part work as expected and show the text. Every other part of it will be matching what you already have. You would need to comment out the remove_action() lines from earlier in the thread to help confirm.

    If the changes do indeed fix the problem at hand, then I’ll be releasing 4.3.1 for everyone.

    Thread Starter Scaffies

    (@scaffies)

    OK thanks for the extra explanation!

    We will try this tomorrow morning UTC/GMT when there is less traffic on the site.

    .. and let you promptly know 🙂

    Thanks again for continuing to work on this!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘v4.3.0 blanks the notifications for replies to topics’ is closed to new replies.