Skip to:
Content
Pages
Categories
Search
Top
Bottom

Send private message autofill unpredictable


  • john@chalkandtalk.co.uk
    Member

    @johnchalkandtalkcouk

    I have this bug in the message system. When I click Send Private Message to an old member of the site the ‘Send To’ comes up blank. I have to type in the username which autofills in a crazy sort of way – showing some suggestions that are wrong and don’t even begin with the same letter.
    When I click Send Private Message to a new member the ‘Send To’ is automatically correctly filled in with the name of the member (As I think it always should be everytime)
    Has anyone else spotted this? Any suggestions welcome.

Viewing 7 replies - 1 through 7 (of 7 total)

  • john@chalkandtalk.co.uk
    Member

    @johnchalkandtalkcouk

    ok I have to correct my own post – it is not old users and new users but users with a . (period or full stop) in their username. If a user has a period in their username the message system malfuntions.

    I just found the same error! I cannot send messages to users with a dash in their username. The error I am getting is when I try to select that user as the recipient, it shows there name but then also the following errors IN the dropdown:

    Warning: Cannot modify header information – headers already sent by (output started at /home/tr0421or/public_html/wordpress/wp-content/plugins/genesis-connect/lib/ajax.php:541) in /home/tr0421or/public_html/wordpress/wp-content/plugins/buddypress/bp-messages.php on line 556

    Warning: Cannot modify header information – headers already sent by (output started at /home/tr0421or/public_html/wordpress/wp-content/plugins/genesis-connect/lib/ajax.php:541) in /home/tr0421or/public_html/wordpress/wp-content/plugins/buddypress/bp-messages.php on line 557

    Warning: Cannot modify header information – headers already sent by (output started at /home/tr0421or/public_html/wordpress/wp-content/plugins/genesis-connect/lib/ajax.php:541) in /home/tr0421or/public_html/wordpress/wp-content/plugins/buddypress/bp-messages.php on line 558

    I get the same error for other users but message will go thru.

    are you using genesis connect by any chance? I have a post in to them about it…


    Brandon Allen
    Participant

    @cnorris23

    Try adding `define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );` to your wp-config.php or bp-custom.php file.


    Magicbeet
    Participant

    @magicbeet

    I’m having this same problem but for all users, not just with special characters in their names. Any other suggestions? Thanks.


    john@chalkandtalk.co.uk
    Member

    @johnchalkandtalkcouk

    Yes as Brandon says

    The solution is to add

    define( ’BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );

    to the top of the define list in the wp-config.php file. Fixed for things like john.smith not sure about other characters.

    Thanks Brandon – though I figured it out a wee while ago from a similar problem posted in BuddyPress Trac.

    Hello all – I ran into this issue as well, and tried using the code fix in my wp-config.php file but it’s not working. Also I cannot find bp-custom.php anywhere in /plugins/buddypress – was it moved or renamed? Do I still need to add it there?

    However, even with the wp-config.php custom setting in place I cannot even auto-fill messages to test users without dots in their names. Oddly it will autofill the admin’s nickname but that’s it..

    Update: I read the bp-core.php file and created a file called bp-custom.php and put this in my /plugins folder as instructed with the username_compatibility code as instructed above and it’s still not working for me. That doesn’t seem to have done anything and neither is editing the wp-config.php.

    I’ve made 4 test users and autofill doesn’t find anything.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Send private message autofill unpredictable’ is closed to new replies.
Skip to toolbar