I noticed when you add a friend or remove a friend, the page doesn't refresh, thus you are stuck with the same option to befriend. When you click the button a 2nd time, you get an error that states you are already friends.
So.... to fix that, you need to do some database editing.
in the table sys_objects_actions
in your phpmyadmin copy this query SELECT * FROM `sys_objects_actions` where `Caption` regexp 'friend'
this will give you 2 results
this first script goes in befriend
if ({ID} == {member_id} OR is_friends({ID} , {member_id})) return;
return "$.post('list_pop.php?action=friend', { ID: '{ID}' }, function(sData){ $('#ajaxy_popup_result_div_{ID}').html(sData) } );
$('#short_profile_info').fadeOut(5000, function(){location.reload()});
return false;";
this one goes in remove_friend
if ({ID} == {member_id} OR !is_friends({ID} , {member_id}) ) return;
return "$.post('list_pop.php?action=remove_friend', { ID: '{ID}' }, function(sData){ $('#ajaxy_popup_result_div_{ID}').html(sData) } $('#short_profile_info').fadeOut(5000, function(){location.reload()});
return false;";
go to your admin panel and clear your cache!
this will now display the block that acknowledges the operation succeeded or failed, then refreshes the page so new options are available!
make sure you copy the existing code OUT of the block and paste into a blank text editor in case this doesn't work for you.