Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

autocomplete not functioning when composing message (31 posts)

Started 2 years, 7 months ago by: braing

  • Profile picture of braing braing said 2 years, 7 months ago:

    Hello,
    I am running BP 1.1.1 on different blog id other than the root, in my case blog id =3. I changed this in the bp-core for the site to function properly. Also at first I had the friends feature disabled, now I have it enabled and still the autocomplete feature does not function at all when composing to friends.

    Any thoughts?

  • I’m having the same problem although probably not with the same background because no such core-alterations have been taking place.

    But how can I debug this? How can we find out where to look?

  • Profile picture of chewbaker chewbaker said 2 years, 7 months ago:

    I too am having this problem. Is this a javascript issue? Any help on this matter would be fantastic.

  • Chewbaker, if only not-friends are not self-completing, then this is the way it is intended to be.

    If autocomplete is not working no matter what, then welcome to the club. :)

    I’d really appreciate any troubleshooting and debugging hints on this one, as messaging is practically worthless without the function.

  • Profile picture of chewbaker chewbaker said 2 years, 7 months ago:

    I agree, messaging is completely worthless without autocomplete.
    I have friends enabled. made friends with users and still no autocomplete.
    When I inspect in firebug, it says that autocomplete is off. See below code.

    <input id="send-to-input" class="send-to-input ac_input" type="text" name="send-to-input" autocomplete="off"/>

    I have searched the forums and found people have similar problems(though they were several months old), however, no solution has been posted that I could find.

    Is this a 1.1.1 bug?
    Hopefully a moderator sees this and helps us out.

  • Oh, lucky you. I get only this:

    <input type="text" id="send-to-input" class="send-to-input" name="send-to-input"/>

  • Any suggestions about how to debug this effectively?

  • Profile picture of braing braing said 2 years, 6 months ago:

    Hello all,

    So I figured out what was breaking my autocomplete.

    I have two blogs set up on mu using virtual sub-directories instead of subdomains.

    The first blog is on the root using the default theme and acts as an outside blog (blog id=1) and the buddypress theme is on another blog for a private area (blog id=2). By doing this, I can have 1 wp-admin with a public and private area.

    However, by changing the blog id in the bp-core file from 1 to 2 on line 20 for buddypress, it breaks the autocomplete ; but everything else works fine. i believe this is a bug …but if anyone has any suggestions on how to fix this please let me know.

  • Unfortunately, this is not helping me. No core modifications with my install. I just don’t have anything saying autocomplete=”off” in my sourcecode.

  • Profile picture of Andy Peatling Andy Peatling said 2 years, 6 months ago:

    You must be friends with the users for autocomplete to work. No friends == no autocomplete.

  • Thanks Andy. Though I know that and that’s not the problem here. I’m only trying with friends. And it was working before my update to 1.1 I believe.

    How can I troubleshoot this?

    As mentioned above, I do not have the autocomplete=”off” in my source code for the send-to-input. I guess this is related.

  • Profile picture of Jeff Sayre Jeff Sayre said 2 years, 6 months ago:

    Actually, for me, autocomplete does not even work on BP.org. I composed a message a couple of days ago to DJPaul and JJJ–who are both friends–and the autocomplete was AWOL. I just tried again, and no dice.

    There is also an issue with messages not getting sent which is being discussed here:

    http://buddypress.org/forums/topic/buddpressorg-messages-broke

  • Profile picture of Paul Gibbs Paul Gibbs said 2 years, 6 months ago:

    I vote we stick JJJ on it. Nothing better than a nice easy AJAX-related bug for a weekend, eh.

  • Thanks Jeff. Noticed the same thing a few minutes ago. It’s just what I have on my local install (it seems so at least).

  • Profile picture of Jeff Sayre Jeff Sayre said 2 years, 6 months ago:

    Paul, I agree. I’m sure jjj has nothing to do this weekend. ;)

    @Bpisimone

    I’m not sure if BP.org has been upgraded yet to 1.1.2–but I’m assuming it has since it was a critical update.

    On a related messaging note, I just tried another test message to jjj, and this time it went through without error.