Support » Plugin: Block, Suspend, Report for BuddyPress » Customize page with list of blocked members

  • Resolved andrew1812

    (@andrew1812)


    Hello!
    First of all, thank you for your great plugin!
    I’m wondering if (and how) I can customize the page with the list of users blocked members (settings/bptk_blocked/ for loggedin user) and where you can unblock a user. Actually, I would like to add some custom html code on this page. I found where the table with blocked users is made (bp-toolkit/includes/class-bp-toolkit-block.php: 322). But how I can add some custom html code here without changing your plugin files? There is some kind of template?
    Many thanks in advance for your help.
    Andrew.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ben at Bouncingsprout Studio

    (@bouncingsprout)

    Hey @andrew1812,

    Great to hear you like the plugin!

    That screen doesn’t use a template, but actually uses the extensive hooks provided by BuddyPress to display the blocked members table.

    So, you could see if you can hook into one of these to add content, or you could use another method such as JavaScript to add further html. There are heaps of tutorials across the internet to assist you with this if you need it.

    Hope that helps,

    Ben

    Thread Starter andrew1812

    (@andrew1812)

    Thank you for reply. I will see which hook I can use to put my custom html code on this page.

    • This reply was modified 12 months ago by andrew1812.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customize page with list of blocked members’ is closed to new replies.