• Resolved code222

    (@code222)


    Hi, after some research i found that BP Better Messages option “Replace Standard BuddyPress Email Notifications” have some problem in a particular circumstance.

    if an user try to register with default wp option or with Buddypress form, activate the account but not login in website, the result the email for new messages are not send with option “Replace Standard BuddyPress Email Notifications”.

    After some research i have found this is caused by a user meta-field “last_activity” that are updated when user login.

    this is the example of a query that made buddypress when log-in:

    INSERT INTO 'wp_usermeta' ('user_id', 'meta_key', 'meta_value')
    VALUES (11, 'last_activity', '2020-09-28 10:58:47')

    this field it appears to be read by your plugin in the function notifications_sender in notifications.php page.

    In particular in this position of query WHERE {$wpdb->base_prefix}usermeta.meta_key = 'last_activity'

    this blocks the sending of email notifications if a user has registered but has not yet logged in for the first time, it should therefore be fixed by also allowing notifications to be sent when the user has not yet logged in.

    I consider it a Bug because if you use the default function of buddypress this problem does not occur.

    In my case it is an important problem because the user is automatically registered after a contact request through a form and when I go to respond to his request via chat he does not receive the message email.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author wordplus

    (@wordplus)

    Hi there!

    I will try to look into this in the near time.
    If you already have fix probably, send me the code, I will integrate to next version.

    Thanks!

    Thread Starter code222

    (@code222)

    no, i don’t have fixed it

    to solve it would have to send the email even when the ‘last_activity’ field was not created by Buddypress.

    Thanks for support.

    Thread Starter code222

    (@code222)

    Hi, I noticed that you updated the plugin with several new features, but I noticed that even in the latest versions the problem I mentioned to you has not been solved.

    has been solved ?

    Thanks for your support

    Plugin Author wordplus

    (@wordplus)

    hi there,

    I will try to look into this in next version.

    thanks!

    Plugin Author wordplus

    (@wordplus)

    Hi there!

    In latest update this meta will be added for users not having that meta, before sending notification emails.

    Thanks!

    Thread Starter code222

    (@code222)

    Hi, It’s seems work now;

    I have found another problem here https://www.ads-software.com/support/topic/problem-with-time-zone-displayed/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Found Bug in Cron Job email Notifications Option’ is closed to new replies.