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: 25273
    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: 25273
    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: 25273
    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: 25273
    Brajesh Singh on in reply to: A Desperately Needed Plug-in #4754

    Thank you. will have next week.

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: Report Image button or process #4752

    Thank you. It is not yet in the state for testing. hopefully, I may have something in the first week of August.

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Thank you. It needs some work on editing reply etc, allow deleting.

    I am looking forward to your contributions.

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: Rating / voting plugin #4750

    Hi Simon,
    The addon I talked was for BP Gallery. The MediaPress an BP Gallery are different.

    There are two options possible with MediaPress

    1. You can select any of the existing WordPress post rating and we can easily integrate with a few lines of code.

    2. Or I am checking with @ravisharma, he was working on the rating plugin for MediaPress, so I will update you where he is at the moment.

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: Uploader doesn't show for every logged-in user #4749

    Hi Tony,
    Welcome to BuddyDev and thank you for posting.

    The problem with [mpp-uploader] is that it needs a gallery to be present for the user. If it is not working for sopme users, They may not have a gallery. There are multiple solutions to this.

    1. Are you going to us Sitewide gallery or BuddyPress members Gallery?
    2. Once you will let me know above, we can automatically create a gallery for the current user(using some code) if they don’t have any and they will be able to upload.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Hi Simon,
    I wrote an almost complete plugin that you may modify for your need. I have just pushed the code to github. It allows users to add photos in replies.

    https://github.com/buddydev/bbp-attach-media

    Hope that helps.