Replies
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 - Brajesh Singh on July 23, 2016 at 11:34 pm in reply to: Activity Form doesn't attach MediaPress media #4768
Thank you.
I tested it and I am not sure why but it seems this code in mpp.js is not triggering on your site when we post update//filter ajax request but only if the activity post form is present if( jq( '#whats-new-form' ).get(0) ) { jQuery( document ).ajaxSend(function( event, jqxhr, settings ) { if( is_post_update( settings.data ) ) { var attached_media = mpp_get_attached_media(); if( attached_media ) { settings.data = settings.data+ '&mpp-attached-media='+attached_media; mpp_reset_attached_media(); } } });The above code includes uploaded media ids in the post. I checked using mpp_get_attached_media() helper function in console and uploaded media ids are attached but the above code is not triggering and that is causing the problem.
Can you think of something on the site that might be causing it?
- Brajesh Singh on July 23, 2016 at 10:06 pm in reply to: Activity Form doesn't attach MediaPress media #4764
Hi Abe,
Thank you for posting here.1. Which theme are you using? Is it possible to provide me a tem,prary normal user account to test it. Are you usign any plugin like wall or wire/activity privacy?
About reblog, I suggest checking the BuddyPress Rechare plugin by imath
https://github.com/imath/bp-reshareThank you
Brajesh Hi Lavish,
Most probably you tested it while you were logged in as admin. Please try testing it with normal user accounts.Admins can mention anyone.
Thank you. will have next week.
Hi Lavis,
That is another approach for navigation but using po/mo is still preferred way. If it is not working, Please create a bug report on BuddyPress trac.