Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Message name auto complete
Tagged: message
- This topic has 3 replies, 2 voices, and was last updated 7 years, 11 months ago by H.K. Latiyan.
Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
January 23, 2017 at 9:37 pm #91500martinomgParticipantHey guys. I have the following problem: When i try to add a name to the message name, there is no auto complete function, and if i copy paste a name from the user directory it says. <span style="color: #d12f19; font-family: 'Source Sans Pro'; font-size: 11px; font-weight: 600; text-align: center; text-transform: uppercase; background-color: #fbe3e4;">MESSAGE COULD NOT BE SENT BECAUSE YOU HAVE ENTERED AN INVALID USERNAME. PLEASE TRY AGAIN</span> I've tried the same in your demos and has the same problem, so users are forced to go to the profile (and also force the system to have the message button at the user profile). Is there any way to fix this? Thank you!January 23, 2017 at 11:00 pm #91508martinomgParticipantAlso this does not allow to add more than one person to a message, because the platoform will always say that the username is invalid.January 23, 2017 at 11:23 pm #91510martinomgParticipantOk ok, found a fix to this. It was not a bug, just a default set up for buddypress. So, by default the system only allows auto complete the name for friends. There is a way to allow this feature for the full network adding a line to the file bp-custom.php. By default this file doesn't exist and has to be added in the following directory /wp-content/plugins/. If you try adding this file in the directory /wp-content/plugins/buddypress/ it will not work. The file just needs to have this code. <?php define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true ); ?> This code allows everyone to send a message to any user, independently if it's an admin or a student, friend or not, etc. Basically, everyone can send a message to whoever they want to, and it's pretty handy for small communities. That's it, hope this is helpful to someone else.January 24, 2017 at 4:59 am #91536H.K. LatiyanParticipantThanks for sharing the information here. Since the issue is resolved so closing the topic.
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
- The topic ‘Message name auto complete’ is closed to new replies.