Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on in reply to: Showing user sites on main site #4797

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25454

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on 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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on 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?

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on 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-reshare

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on in reply to: [Resolved] BuddyPress Activity Spam #4755

    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on in reply to: A Desperately Needed Plug-in #4754

    Thank you. will have next week.

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on in reply to: Rename BuddyPress Profile Menu items #4753

    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.