BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Leo,
    Thank you for your patience.

    That -1 means the request was not handled at all.
    Can you please disable RT Media and and enable WP_DEBUG to let us see if there are any error?

    Also, if feasible, please PM me the site url/login details( any temporary normal user) and I can check it quickly.

    Thank you
    Brajesh

    PS: Except for Add from Web( which we haven’t added yet), MediaPress can do everything more efficiently than other media plugin. You can check that by doing memory/query analysis. So, if you don’t need Add From web for now, You can disable RT Media.

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Andy,
    Thank you.
    That code looks fine to me 🙂
    Glad that it is resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: BP Gallery shortcakes ? #1701

    Thank you.

    1. Everything is coming from this function bp_gallery_list_medias
    I am sorry about the code quality there. It looks bad( not clean and not upto the current standards )
    It starts from line 108 on shortcode.php

    You can change everything there.

    2. For large images, you will see this code in that function

    
    bp_get_gallery_media_thumb_html()
    
    

    replace that with

    
    bp_get_gallery_media_full_html()
    
    

    Hope that helps. Please ignore the code quality for now. It is too old and not clean. That’s why we dropped BP Gallery in favor of MediaPress with modern architecture and better codebase.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: BP Gallery shortcakes ? #1699

    Hi,
    No, These plugin can not be used with BP Gallery. BP Gallery does not use custom post type( Custom post type was not available when we initially released BP Gallery).

    MediaPress does use custom post type and all these plugin can be used with MediaPress not with BP Gallery. If we need to add any such functionality to Bp Gallery, It will need custom creating loop and using javascript.

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Leo,
    Thank you.

    1. Your settings are fine and plugin should allow you uploading upto 8 MB( a little less than that) due to your post max size.

    The error you mentioned is not generated server side, It is show when the response from server is not valid JSON.

    So, I am believing that some code is throwing notice causing this. Can you please open your browser console and check for the ajax response. It would have been very simple if you were using firefox/firebug but here is how to Do that on chrome.

    Open the page where upload is. Now click ctrl+shift+I that will open the developer tools. Click on Network panel and keep that open.
    Now please try uploading. As soon as you get the error, click on “XHR” tab and then on the link in Name panel. In right panel, you can see the response by clicking on 3rd tab “Response”. Please post me that message.

    Thank you.

    PS: I see you have RT media enabled, is there any specific reason to use both these plugins together?

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: BP Gallery shortcakes ? #1695

    Hi,
    There was no need to edit.

    Just changing the shortcode might have made it work.

    
    [bp-gallery show="media" owner_type="user" orderby="date"   type="photo" max="18" per_page="18"  ]
    
    

    The per_page controls how many per page.

    If you have a preferred javascript library and you know php, I can guide on creating such page. All you need to do is write a custom media/gallery loop to be used with the javascript plugin.

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Leo,
    Welcome to BuddyDev forums.

    Did you see any error message? By directly, you mean using WordPress Media Uploader?

    Also, can you please visit Dashboard->MediaPress->tools and post me the debug message?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: Trying to improve the Group home page #1687

    Hi George,
    did you find some solution? The only way I see it is using Group Extension API and create one.

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: BP Gallery shortcakes ? #1686

    Hi,
    Please try this shortcode

    
    [bp-gallery show="media" owner_type="user" orderby="date"   type=”photo” max="10"  ]
    
    
  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: BP Gallery shortcakes ? #1683

    Hi,
    I am sorry. I should have checked that.

    Here is BP Gallery shortcode & usage
    https://buddydev.com/docs/guides/plugins/buddypress-plugins/bp-gallery/bp-gallery-shortcodes/

    Hope that helps.

    Bp Gallery to MediaPress migration will available there after 15th December. Sorry about the wait.