Forum Replies Created
-
I could not really solve the problem, but what I did is deactivate the plugin, and then copy the relevant files and functions for autosuggest to my theme folder and it’s started working.
My problem has got resolved.
Changed the following:
if ( bp_is_username_compatibility_mode() ) {
$result->id = $user->user_login;
}
else {
$result->id = $user->user_login;}
So, basically no if/else condition and in either case used $user->user_login
@itchesavvy I edited my code as per the modification above. The Autosuggest works fine with the display name, however when I click on one of the results, nothing gets written in the box. Only a space comes after the @ sign. Can you please help with the problem?
I am looking into it but till now haven’t found the fix. What I see is this:
In jquery.mentions.js , we have the following ajax request
`$.ajax({
dataType : o.dataType,
type : ‘POST’,
url : ajaxurl,
data : {
‘action’ : ‘activity_mention_autosuggest’,
‘cookie’ : encodeURIComponent(document.cookie),
‘format’ : o.dataType,
‘limit’ : o.max_suggestions,
‘search’ : query
},// Callbacks
error : o.error,
success : function(response, textStatus, jqXHR) { receive_results( response, textStatus, jqXHR, query ); }});`
Now the issue is that the response is always 0, no matter what you do. i am checking if the action activity_mention_autosuggest is being called properly. In my understanding, the problem lies with the data action in the above jquery.
If Paul could spend a few minutes and help in this, I would really appreciate it.
Hey Paul,
Thanks for telling me. I’ll try to fix it, atleast a temporary solution.
Look forward to whenever you are ready to look into it.
Hi Paul,
Thank you for your response. I’ve seen other people also mention this problem on the wordpress forum.
I’m using WordPress 3.4.1, and BuddyPress 1.6.1.
The theme is the default BuddyPress theme with a few css modifications.
Looking forward to your response.
@travel-junkie can you please repost the link to the sql.txt file as the link you’ve provided above is not working. I need to create groups in bulk and your script can be a real saver. Thanks!
Even I am facing this problem. I noticed that the image was actually uploaded but it is using a wrong path in the crop page.
The path for the image shows as:
When it actually should have been (I guess)
http://financetrain.com/wp-content/uploads/avatars/4/bis-449×298.jpgI really don’t know how to resolve this.
I also tried this for my profile on buddypress.org (this website) and the same problem appears.