MyBB Community Forums

Full Version: How could I add?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How could I add a "[Add Buddy]" and/ "[Remove Buddy]" button on the Postbit?
ACP > Templates > Postbit Templates > postbit_author_user templates >

Add to the bottom:
<br />Friend:&nbsp;<a href="{$mybb->settings['bburl']}/usercp.php?action=do_editlists&amp;add_username={$post['username']}&amp;my_post_key={$mybb->post_code}">Add as Friend</a> 

Found this solution with a quick search and found this on Google 
https://community.mybb.com/thread-89713.html

Don't know if that method still works but it might be worth a shot. Good luck