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: 25245
    Brajesh Singh on in reply to: BP Gallery Shortcode #1718

    Hi George,
    Do you have user galleries? or you are using it just for groups?

  • Keymaster
    (BuddyDev Team)
    Posts: 25245
    Brajesh Singh on in reply to: BP Gallery Shortcode #1716

    Hi George,
    There are some bad quotes in that shortcode( ” )

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

    Try the above. If that does not work, please try clearing cache and check again.

  • Keymaster
    (BuddyDev Team)
    Posts: 25245
    Brajesh Singh on in reply to: [Resolved] Custom post fields in buddyblog #1714

    Hi Martin,
    Thank you. Do you mean the data is not visible on Single post view?

    Please copy plugin/buddyblog/template/buddyblog to your theme and modify buddyblog/single.php.

    There you can add these fields like

    
    
    Synopsys: <?php echo get_post_meta( get_the_ID(), 'synopsys', true );?>
    
    

    and so on.

    Hope that helps.

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

    That is the problem. None of the existing solution will allow you to do a visual editing from front end. The existing Visual editors are not integrated.

    So, the better approach is like adding a page from Dashboard but that takes away the rights from Group admins.

    If you go with Group extras, yes, It will be possible to fetch that page content on front page.

  • Keymaster
    (BuddyDev Team)
    Posts: 25245
    Brajesh Singh on in reply to: BP Gallery Shortcode #1712

    Hi George,
    I am not sure what you tried.

    Can you please explain, did you made some modifications to code too?

  • Keymaster
    (BuddyDev Team)
    Posts: 25245

    Hi Leo,
    Thank you. I am glad it is fixed.
    I am looking forward to hear your feedback. we have still a lot of things to add and every experience counts 🙂

    I am marking this topic as resolved now. Please do open new topic if you need any further assistance.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25245

    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: 25245

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

    Regards
    Brajesh

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