• Resolved Carsten Lund

    (@carsten-lund)


    Hi Ben, can you point out a direction to how to remove the ‘Report’ button?

    Apparently it is the same class as the ‘Block’ and ‘Send’ buttons, so it’s not that easy to remove with css.

    Regards
    Carsten

    • This topic was modified 5 years, 2 months ago by Carsten Lund.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Ben Roberts

    (@bouncingsprout)

    Hey @carsten-lund,

    There are different classes – so the report button would be ‘bptk-report-profile’. For others who may be reading, the other buttons have the classes of ‘bptk-block-profile’ and ‘bptk-suspend-profile’. To remove any of these, simply add CSS to display:none.

    To target the buttons in the member archive, instead of individual profiles, you can change the word ‘profile’ in the class to ‘list’, so to target the report button, use ‘bptk-report-list’.

    Hope that helps,

    Ben

    Thread Starter Carsten Lund

    (@carsten-lund)

    Hi Ben, that’s great news, thanks a lot!

    Regards
    Carsten

    Thread Starter Carsten Lund

    (@carsten-lund)

    I would like the Block button to the right from the Send Personal Message button, actually I want it to float all to the right. How do I change the order of the buttons?

    Carsten

    Plugin Author Ben Roberts

    (@bouncingsprout)

    You could try using flexbox. If you are not familiar with it, there are some great resources available on the web, and I would start with this one: https://css-tricks.com/snippets/css/a-guide-to-flexbox/

    Thread Starter Carsten Lund

    (@carsten-lund)

    Thanks for the tip, I wasn’t familiar with it, but it is a great tool, and I managed to change the order of the buttons.

    Thread Starter Carsten Lund

    (@carsten-lund)

    Hi Ben, I’m using a plugin called Tabs Creator Pro, which can “Extend BuddyPress, Integrate third party plugins, add new BuddyPress Components, add new BuddyPress user profile tab without writing any code.”

    I would like to ad the Report and Block buttons to the menu, for that to work, I need slugs and url links for these buttons?

    Regards
    Carsten

    Plugin Author Ben Roberts

    (@bouncingsprout)

    Hey @carsten-lund,

    I’m very sorry, but I’m not familiar with that plugin. In any case, I won’t be able to provide support for another plugin. Have you approached its developers?

    Thread Starter Carsten Lund

    (@carsten-lund)

    Hi Ben, thats fine, thanks anyway, I will contact the developer, but the principle in the function of the plugin is to ad a slug, e.g. for Send Private Message’ the slug is ‘messages-compose’ that is why I asked you first.

    Best
    Carsten

    Plugin Author Ben Roberts

    (@bouncingsprout)

    It’s a good question, but we don’t really use slugs so I genuinely have no idea how that plugin does what it says!

    Before I forget, if you can, try and make a new forum post for each separate question. It helps me to be able to answer you as quick as possible (I get sent notifications), and it helps others who may have a similar question.

    Speak soon,

    BR

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to remove the ‘Report’ button?’ is closed to new replies.