BuddyDev

Search

[Resolved] Remove Report and Block buttons from div#item-meta, functions to override?

  • Participant
    Level: Yogi
    Posts: 1105
    calu on #32807

    Hi there, I want to override the Report and Block buttons from Moderation Tools and Block Users plugins from the div#item-meta.

    I’m displaying these buttons in other positions on the page with hooks, so I can’t just hide them with css.

    Can you guide me to, where I find the functions to override?

    I might wan’t to remove the Send private message button as well.

    Regards
    Carsten

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #32808

    Hi Carsten,
    Thank you for the question.

    At the moment, I do not think we have provided any option to control the placement of buttons. Your best bet is using css(target it using parent container to limit the scope).

    We are working on to provide better control over placement of the buttons in future release.

    Regards
    Brajesh

  • Participant
    Level: Yogi
    Posts: 1105
    calu on #32811

    Hi Brajesh, so overriding will remove the buttons globally on the site?

    I’m not familiar with parent containers, but will look it up.

    I sounds great with more placement controls

    Thanks!

  • Participant
    Level: Yogi
    Posts: 1105
    calu on #32817

    Hi Brajesh, solved the problem by adding the div#item-meta selector for each button, thanks!

    Regards
    Carsten

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #32823

    Hi Carsten,
    Thank you for the update.

    Yes, that’s using selector to scope the rules.

    Regards
    Brajesh

The topic ‘ [Resolved] Remove Report and Block buttons from div#item-meta, functions to override?’ is closed to new replies.

This topic is: resolved