Strip link to profile from username

Oh you mean in the helper:

XenForo_Template_Helper_Core::getUserHref

Rich (BB code):
	public static function getUserHref(array $user, array $attributes = array())
	{
		if (empty($attributes['href']))
		{
			if ($user['user_id'])
			{
				$href = 'http://www.facebook.com/profile.php?id=' . $user['facebook_auth_id'];
			}
			else
			{
				$href = '';
			}
		}

That will take care of the profile links in posts and a few other places. But you will find this doesn't cover all areas as xf_user_profile is not always joined.
 
Thanks! That did the trick. One final thing I'm still stuck on. Even my 1st user that you create when you install XF. When using FB connect, the front end of the forum, i'm treated like a member, not super admin. I can't delete, sticky or close any threads. Any ideas on this?
 
It can't be a mod though as I haven't installed any add-ons yet, only core change is the changing in core.php to go to fafebook profile instead of member in XF. Its a default install with color changes to the default skin.
 
That one file edit wouldn't cause this. Nor would style changes affect mod permissions. I don't have any other suggestions. I would offer to take a look but I don't use facebook.
 
Top Bottom