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: 25360
    Brajesh Singh on in reply to: [Resolved] BuddyBlog with BadgeOs #32993

    Hi Adrian,
    I am sorry for the issue.

    the problem is we are using this function

    
    _wp_post_thumbnail_html
    

    for generating the post thumbnail meta box and badge os seems to be hooking to it. Not their fault entirely though as this function is considered private and only available in the admin.

    The solution can be implemented in badgeOS by checking if the get_current_screen exists.

    Another temporary solution is to disable the post thumbnail option in BuddyBlog settings.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25360

    You are welcome.

  • Keymaster
    (BuddyDev Team)
    Posts: 25360
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25360

    Hi Marko,
    Thank you.

    The problem is Youzer. They write unnecessarily specific css and that’s causing it.

    I have copied their css and specified member types specific selectors.
    Please visit Dashboard->Appearance->Customize->Additional CSS and add these

    
    .youzer .field_type_membertypes p.description {
        margin-bottom: 15px;
    }
    
    .field_type_membertypes label {
        color: #929292;
        font-size: 13px;
        font-weight: 600;
        line-height: 18px;
        margin-right: 20px;
        display: inline-block;
    }
    
    .field_type_membertypes input[type="checkbox"] {
        margin-right: 7px;
    }
    
    

    That should make it look good with youzer.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25360

    Hi Marko,
    Thank you for the prompt reply.

    I can see the issue with css spacing.

    Please link me to your registration page( please use private reply option below if not comfortable sharing the url) and I will provide some css.

    It is due to our markup being different from default BuddyPress.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25360

    Hi Marko,
    Welcome to BuddyDev forums.

    Please use an image sharing service like

    https://prnt.sc/
    https://snipboard.io/
    https://imgur.com/

    to post the screenshot and share.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25360
    Brajesh Singh on in reply to: Plugin to Stop Private Groups #32980

    Please do not copy the code from email(if you have notifications enabled). Please use it form here.

  • Keymaster
    (BuddyDev Team)
    Posts: 25360
    Brajesh Singh on in reply to: Plugin to Stop Private Groups #32979

    Hi bob13,
    The best way to delete groups will be using database.

    If you are comfortable with database, Please follow the steps below. Please note that these can not be undone.

    1. Take a complete backup of your database. In case something goes wrong, you can restore.

    2. Find the user id. I am assuming it is 2. It should be some numeric id.

    3. Find the table prefix . I am assuming it is wp_. You will need to replace the prefix and user id in all the queries below.

    4. View all groups from that user, you may run

    
    
    SELECT id FROM wp_bp_groups WHERE creator_id=2
    
    

    4. Clean Group meta

    Check meta entries count for these groups

    
    
    SELECT COUNT('*') FROM wp_bp_groups_groupmeta WHERE group_id IN( SELECT id FROM wp_bp_groups WHERE creator_id=2 )
    
    

    Delete all these meta

    
    
    DELETE FROM wp_bp_groups_groupmeta WHERE group_id IN( SELECT id FROM wp_bp_groups WHERE creator_id=2 )
    
    

    5. Clean members table

    Check the number of members in these groups.

    
    
    SELECT COUNT('*') FROM wp_bp_groups_members where group_id IN( SELECT id FROM wp_bp_groups WHERE creator_id=2 )
    
    

    Delete these entries

    
    
    DELETE FROM wp_bp_groups_members where group_id IN( SELECT id FROM wp_bp_groups WHERE creator_id=2 )
    
    

    6. Clean activity table.

    View entries count.

    
    
    SELECT COUNT('*') FROM wp_bp_activity WHERE component="groups" AND item_id IN( SELECT id FROM wp_bp_groups WHERE creator_id=2 )
    
    

    Delete entries

    
    
    DELETE FROM wp_bp_activity WHERE component="groups" AND item_id IN( SELECT id FROM wp_bp_groups WHERE creator_id=2 )
    
    

    6. Finally, Delete all groups

    
    
    DELETE FROM wp_bp_groups WHERE creator_id=2
    
    

    That’s all.
    Do not forget to take a backup before any of these command.

    Regards
    Brajesh

    PS:- In future, Please open your own topic for discussion.

  • Keymaster
    (BuddyDev Team)
    Posts: 25360
    Brajesh Singh on in reply to: MediaPress Gallery in BP User Profile #32974

    Hi Matteo,

    Thank you for using the plugin.

    Using the code

    
    mpp_get_template('gallery/loop-gallery');
    

    may work. We haven’t tried it though.

    Your bets bet is to either use the shortcode or the MPP_Gallery_Query to create custom list

    https://buddydev.com/mediapress/shortcodes/mediapress-gallery-listing-shortcodes/

    https://buddydev.com/mediapress/core/mpp_gallery_query/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25360
    Brajesh Singh on in reply to: Interest in MEDIAPRESS – Questions #32973
    This reply has been marked as private.