User talk:Krusher
Latest comment: 9 years ago by Krusher in topic Social Profile
Social ProfileEdit
Hello Krusher,
Can you explain a little bit clearer how you've fixed the extension Semantic Profile. I want to fix it to for my wiki, but I can't follow your idea. Thanks! --McNamara84 (talk) 15:12, 24 June 2013 (UTC)
- The idea is you have to define attributes of a clase before using them. If you don't, objects won't have scope to the actual attributes. So edit the UserProfilePage class, in UserProfilePage.php file, and declare these attributes:
public $user_id; public $user_name; public $user; public $is_owner;
That should do.
--213.227.38.164 15:16, 24 June 2013 (UTC)
Hey Krusher,
Your tip really helped me out in getting SocialProfile working, but I still get this strange error appearing on the top of the user profile page:
Notice: Inaccessible property via __get(): profile_data in X/includes/Article.php on line 1918
(X is the root directory of my mediawiki install). Have you experienced something like this?
Thank you, -ixxie