Skip to:
Content
Pages
Categories
Search
Top
Bottom

Notification emails after import


  • reedy
    Participant

    @reedy

    I recently imported a phpBB forum to bbpress. All went well.

    The only issue is buddypress is now sending out notification emails for all mentions from the beginning of time. My forum is about 7 years old and has around half a million posts.

    Thats a lot of notification emails, and a lot of potential spam.

    How can I fix this? I still want new notifications for mentions going out ā€“ just not those from before the import. Iā€™m happy to run a mysql query that will mark all notifications emails as being already sent out for each member through to now ā€“ if there is a way to do that????!!!

Viewing 3 replies - 26 through 28 (of 28 total)

  • shanebp
    Moderator

    @shanebp

    Re WP cron jobs – use this to see what is running and scheduled:
    https://wordpress.org/plugins/wp-crontrol/


    reedy
    Participant

    @reedy

    I installed WP Crontrol and saw nothing out of the ordinary:

    ws_plugin__s2member_auto_eot_system__schedule
    _cron_zencache_cleanup
    bp_activity_akismet_delete_old_metadata
    wp_maybe_auto_update
    wp_version_check
    wp_update_plugins
    wp_update_themes
    akismet_scheduled_delete
    wp_scheduled_delete
    wp_scheduled_auto_draft_delete

    Earlier today I added the following to my functions.php file:

    add_filter( 'bp_activity_do_mentions', '__return_false' );

    No @mention emails were generated since then. As soon as I commented that code out, within 5-10 minutes thirteen @mention email notifications went out – all with links to content that is years old (pre-import).

    I’ve therefore put the filter back into functions.php and can only assume I’ll have to do without the @mention functionality of buddypress.

    I appreciate everyone’s help up to this point.


    Henry Wright
    Moderator

    @henrywright

    Earlier today I added the following to my functions.php file:

    add_filter( ‘bp_activity_do_mentions’, ‘__return_false’ );

    No @mention emails were generated since then. As soon as I commented that code out, within 5-10 minutes thirteen @mention email notifications went out ā€“ all with links to content that is years old (pre-import).


    @reedy
    something custom is running which is causing bp_activity_do_mentions to execute. Did you say you deactivated all of your plugins and custom code? If so, then I suspect the importer is still active. I’m not familiar with it, because it’s bbPress-based but the guys over at that forum should be able to tell you how to deactivate it.

Viewing 3 replies - 26 through 28 (of 28 total)
  • The topic ‘Notification emails after import’ is closed to new replies.
Skip to toolbar