Could someone help me with some code for links such as these? I'm in need of a confirmation alert. "Are you sure?" as the buttons are easily clicked by mistake. A best case sceario would be something that takes care of all similar links in the file.
<a href="', $scripturl, '?action=friends;sa=approve;u=', $context['member']['id'],';', $context['session_var'], '=', $context['session_id'], '" class="social_profile_btn">
', $txt['approve_friend'], '
</a> <a href="', $scripturl, '?action=friends;sa=remove;u=', $context['member']['id'],';', $context['session_var'], '=', $context['session_id'], '" class="social_profile_btn_red">
', $txt['reject_friend'], '
</a>';
This was added to the newest version of Social Profile, you don't need to manually adjust it as I already did it for your site.
YES!! Thank you!