"add a friend" button on postbit
#1
Hi everybody,

is there a way to add a "add a friend" button on postbit profile?
in this thread, the author asks the same thing, the problem is that the solution given in this message doesn't work anymore.

does anyone know how to add this button?

thank you in advance.
Proud to live in Italy.
Not proud to be Italian.
Reply
#2
check this plugin......
http://mods.mybb.com/view/user-quickmenu-in-postbit

its working fine for me....
[Image: mnvhXxj.png]
Reply
#3
uhm...
how do i extrapolate the correct url from this:
<a href="'.$mybb->settings['bburl'].'/usercp.php?action=do_editlists&amp;add_username='.urlencode($post['username']).'&amp;my_post_key='.$mybb->post_code.'">
?

it's plenty of useless dots and commas. if i put it this way in my postbit template, it gives me an error.
Proud to live in Italy.
Not proud to be Italian.
Reply
#4
Go to: ACP > Templates > Postbit Templates > postbit_author_user templates > and add the following code at 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>
Reply
#5
great, thanks. it works fine Smile
Proud to live in Italy.
Not proud to be Italian.
Reply
#6
Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)