Topic on Extension talk:SocialProfile

User profile is empty on user page?

2
IlseMul (talkcontribs)

I think I'm missing something in the LocalSettings somewhere, cause my User profile shows absolutely nothing in the profile besides the edit profile, upload avatar, etc option, while I have filled out, for example, websites, movies, books, etc. It's just completely blank under the avatar and Social Profile menu options.


This is what I have in my localsettings:

require_once "$IP/extensions/SocialProfile/SocialProfile.php";

$wgUserProfileDisplay['board'] = true;

$wgUserProfileDisplay['foes'] = true;

$wgUserProfileDisplay['friends'] = true;

$wgUserProfileDisplay['avatar'] = true; // If set to false, disables both avatar display and upload

$wgUserBoard = true;

$wgFriendingEnabled = true;

$wgAvatarKey = $wgDBname;

$wgUserPageChoice = true;

$wgUserProfileAvatarsInDiffs = true;

$wgUserProfileDisplay = true;

$wgUserProfileDisplay['stats'] = true;


Copied straight from the page here.

I don't know why there's both "$wgUserProfileDisplay = true;" and a specific "$wgUserProfileDisplay['board'] = true;" for example, but I've included excatly as it is on the page here.


Thanks for the help!

IlseMul (talkcontribs)

Problem solved. In the above code the line "$wgUserProfileDisplay = true;" has to be removed. Then everything wil be displayed.