PDA

View Full Version : Button Add/remove friend postbit


felixthekat85
08-14-2011, 09:13 AM
Hello!!!
is there any way to add a button or link in postbit "Add to my friend" (if it is not) and "Remove from my friends" (if it is)?
Please, is important for the design of my website and I do not know how to get. I'm lost.
Thanks

felixthekat85
08-15-2011, 05:49 PM
any ideas?

kh99
08-16-2011, 10:29 AM
I think you could create a button to add/remove someone from your buddy list by looking at what get's submitted when you "Add Friend" or "Save Changes" in the userCP, then make a link that does the same. But this will load another page, what would be nice would be to have a way to do it via ajax, but I think you'd have to write a plugin to handle that.

Konstantinos
08-19-2011, 04:25 AM
it already exists in the drop down menu when u click the username in postbit