Unless I can get the link to work correctly on the member card, I'd like to disable it site wide as I want to use facebook profiles as the site profile. On the membercard for the profile page link if i use facebook.com/{$fbUser.username} it links to your own account not the poster and using facebook.com/{$user} nothing happens.
For the most part, this can be achieved by editing the template helper...
So XenForo usually produces a username via two ways:
1) <xen:username tags
2) {xen:helper username
The <xen:username tag, interestingly enough, ultimately just calls the helper. So if you edit that helper, you pretty much affect almost everywhere a username appears.
It will work for everywhere that uses the default tag/helper. This doesn't necessarily include everything. You will have to use a bit of leg work to discover which links aren't changed by this helper edit, but that should be quite a simple job for the most part.
(Note, the line number above are correct as of XenForo 1.2 Beta 3)
EDIT: You would need to look at modifying the avatar helper too as that links through to the profile. But it should be a similar process.
Thanks @Chris Deeming ! One other question. How can I get this to work? Anything I try, if I include the "{ }" the link is only facebook.com and if I only use $username it is facebook.com/$username not the username. I am forcing the FB username at sign up using $fbUser, so the URL will always be correct
As I said in my edit, you would need to ensure you look at the helperAvatarHtml function too and modify that in a similar way. Note, I removed the username class (that's what triggers the member card JS).
Is there a way to make the username unlinkable there yet clickable in the message info? Or will I need to use <span> instead and just make the avatar the link?