Replies
- Brajesh Singh on July 27, 2016 at 4:09 pm in reply to: [Resolved] BP Custom Background for User Profile – not working when site has background set #4802
Hi leigh,
Not Yet, but I will do today/tomorrow.Thank you
Brajesh - Brajesh Singh on July 27, 2016 at 4:01 pm in reply to: Want to create location based search for members in buddypress #4801
Hi Vineeta,
In that case please think about this:-
1. How do you want to collect user location data?
2. Do you want to store the location as lat/lang pair or as spatial data type. MySQL dos have support for basic gis functionality/spatial data types, so you should create a new table and store user/point combination there. The Point is spatial data type and you will be storing WKT here.3. If you have used the data type point, you may use spatial functions ST_DWithin/ST_Distance to accomplish your task.
https://dev.mysql.com/doc/refman/5.6/en/spatial-relation-functions-object-shapes.htmlIf you are not comfortable with GIS data, you may store the user location as latitude/longitude pair. This tutorial (It is old when mysql had no support for spatial data types), by Google should help
https://developers.google.com/maps/articles/phpsqlsearch_v3
All the best
Brajesh - Brajesh Singh on July 27, 2016 at 3:49 pm in reply to: bp-simple-front-end-post conflict membermouse #4800
Hi Roberto,
I am sorry for the convenience. Thank you for the screenshot that helped me to understand.The problem lies on part oe MemberMouse plugin and not us. We are not doing anything special Just calling
wp_editor( $content, 'bp_simple_post_text', array( 'media_buttons'=> $this->allow_upload, 'quicktags'=> false)) ;Please see this
https://github.com/sbrajesh/bp-simple-front-end-post/blob/master/form.php#L27
The plugin should check if it should be enabled on the front end editor for the given user capability.
Please ask their support and let them know it, They should be able to fix it.
Hope that helps.
Hi Marco,
I am sorry for the trouble.BP Youtube, Flickr are deprecated plugins. Sorry about that. It should be mentioned on those plugin pages.
We will be looking the Community Activity on profile, Lock Unlock activity and Clear notification and will update you.
Now coming to your next questions:-
1. Forum mentions, Yes, It is doabale but will need you to filter on the notification message generation. Please see the function bp_activity_format_notifications for more details and available filters.
2. There are multiple ways to do it. I will suggest filtering
‘bp_after_has_Activities_parse_args’Hope that helps.
Hi Mike,Please wait. Let me see if we can do it without any modification using pure css and some filters. I will update tonight if we can do that or not.
PS: Thank you Ravi for the support here.
Brajesh
Hi Quincy,
Thank you for posting.You can get all the blogs of which the user is member by using this
$blog_ids = BPNetworkUsers::get_networks( $user_id)It is not the most efficient method and It will be better to store the data in the user meta or do a bulk query instead of the above for individual users.
Hope that helps.
Thank you
Brajesh- Brajesh Singh on July 27, 2016 at 3:28 pm in reply to: Pictures posted in Activity to automatically Upload to Group Gallery #4796
Hi,
Thank you for asking.Currently, if you post from the Group’s activity page, The Media will be available in the Groups wall galleries.
If you try to post from sitewide activity page(by selecting group from the dropdown). The media appears in the activity but goes to user’s wall.
Is that happening on your installation?
PS: Please do not use Test in username, It does not look good. I will appreciate if you can atleast update your display name.
Thank you
Brajesh - Brajesh Singh on July 24, 2016 at 12:45 am in reply to: Activity Form doesn't attach MediaPress media #4778
I did see that. Can you please use the user “demo” and password “demo” on the demo site and see if it works. recently we have moved from the digital ocean to linode and some configs have changed causing trouble. I will be updating the demo in next few days.
Please try with the user demo and let me know if it works or not?
Thank you
Brajesh - Brajesh Singh on July 24, 2016 at 12:40 am in reply to: Activity Form doesn't attach MediaPress media #4776
The function mpp_mejs_activate is fine. It is a function declared in globa scope. I just checked the code to make sure that it is fine.
- Brajesh Singh on July 24, 2016 at 12:38 am in reply to: Activity Form doesn't attach MediaPress media #4775
Thank you. Please do keep me posted.
Also, is the plugin editable from admin? if yes, You may give me temporary access to admin and I can do some quick debugging in the evening today.PS: I will be away for a few hours from now.
Thank you
Brajesh