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

    Hi Frank,
    Thank you for sharing. Makes sense.

    I am glad you resolved it and shared with us.

    Best regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347
    Brajesh Singh on in reply to: [Resolved] Hide tabs and profile for custom roles #26087
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25347

    Hi John,
    Thank you for using Moderation tools.

    You can place the button anywhere.

    Using the function

    
     echo bpmts_get_report_button( $args );
    

    is the way to go.

    You need to pass this function 4 arguments.

    item_id, item_type are used to identify items. Context helps us understand where the action took place.

    To see how we are adding the button, please check src/reportable-types/ directory.
    There, you will see a directory for each component we support.

    Look for that directory/handler/class-prefix-ui-helper.php

    For example, for user, It is reportable-types/user/handlers/class-user-ui-helper.php
    For activity it is reportable-types/buddypress/activity/handlers/class-activity-ui-helper.php

    You will find there what we are using to generate the button in various contexts.

    Please try using them.

    Hope this helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347
  • Keymaster
    (BuddyDev Team)
    Posts: 25347
    Brajesh Singh on in reply to: Mediapress Privacy Settings #26074

    Hi Nik,
    You are welcome.

    The default privacy for each upload is that of its parent gallery.

    On the edit media page, you can override that. So, It will have effect. It allows you to override the privacy of each media individually.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347

    Hi Hans,
    This is expected behaviour.

    BuddyPress does not enforce profile field visibility if you are using xprofile_get_field_data.

    The visibility is only enforced in the view/edit profile page. This is how BuddyPress works.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347
    Brajesh Singh on in reply to: [Resolved] Custom Link in BP Profile by user role #26071

    Hi Frank,
    I am sorry I am not able to understand you issue. Can you please help me understand it better?

    Also, In future, Please open new topic for new issues. That way it helps all.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347

    Hi Hans,
    Can you please recheck.

    Changing the name should have no effect. Fields are associated by Id.

    PS:- If you are able to replicate it, please post me the steps to produce it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347

    It depends on your hosting. My suggestion si, if you don’t know where to look for, ask the web hosting support for the log.

    The problem could be some bad query or your hosting.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347
    Brajesh Singh on in reply to: FB like notification for buddypress #26059

    Hi Tosin,
    Good day to you too.

    It will be available sometime after 28th.

    Thank you
    Brajesh