• Resolved catastr0phe

    (@kat_indo)


    Hi,

    I came across a weird bug today.

    After activating the plugin I noticed that it breaks the autosuggest in ‘Messages’.

    When I go to Messages>Compose and I start typing in ‘Send To’ field buddypress by default returns a list of suggestions to select the friend.

    After I activate your plugin the list won’t show up any more.
    I tried it a couple of times to make sure and also I have only installed Buddypress and Events Manager on the website so that’s not coming from something else.

    I use WordPress 3.5.1
    Buddypress 1.7.1 and
    Events Manager 5.3.9

    http://wordpress.org/extend/plugins/events-manager/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thanks for this. I’ll make sure Marcus sees your post.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    It’s sort of a BP bug. They’ll hopefully address this soon:

    http://buddypress.trac.wordpress.org/ticket/4580

    Thread Starter catastr0phe

    (@kat_indo)

    Hello Marcus,

    I read the thread and it doesn’t look like there will be a fix soon.

    We’re going live next week, so there’s no time.

    At this point it works fine and it conflicts when I have your plugin activated.
    Is there a way to provide a temporarily fix so we can go live next week?

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    The only way would be to add some php that detects you’re on the BP messages page and manually prevent EM from loading scripts on that page, using wp_dequeue_script

    I could whip up a snippet for this, but if so I’d need a few days at least due to what’s on our plate atm (think late next week as a minimum).

    Hi All,
    Thanks for both awesome plugins. I am a beginner in PHP, and I also ran into this problem, but I tried deregister the EM script when it’s on the compose page. And it works!
    just place this in the function.php in the theme folder.

    <?php
    add_action( 'wp_print_scripts', 'my_deregister_javascript', 100 );
    
    function my_deregister_javascript() {
    	if(bp_is_messages_compose_screen()){
    	wp_deregister_script( 'events-manager' );
    }
    }
    ?>
    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    that’d work I think (didn’t know of the bp_is_messages_compose_screen function), will consider that for for an update!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Bug with private messages’ is closed to new replies.