Skip to:

Not listing all users if typing @ in activity posts

  • pablito10


    Dear support,
    we would need your help to solve the following issue: when a user types “@username” starting with @ in post editor at front end, he gets only the first 10 users of the website (@a, @ab, …). See attachment as a reference. We would need to retrieve correctly the list of users .

    Here image of first 10 users when typing only @:
    Here when typing @b: and consider there are users with names starting with “b” in our website.

    Info: buddypress 2.9.3, kleo theme

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

  • pablito10


    is there anybody who can help with this issue? (it is becoming very urgent) I would really appreciate it, thanks a lot and best regards



    I think you are referring to this class BP_Members_Suggestions in this file:

    As you can see, there is a default limit of 10 – which explains why you only see ten suggestions.
    Typically, you expect a user to type more than one letter and thereby get better matches.

    Fortunately for you, there is a filter hook ( bp_members_suggestions_args ) in the class that you can use to set the limit parameter to whatever you want.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar