Extension talk:SocialProfile/Archive 6

Archived discussion: 1 | 2 | 3 | 4

''Please post new topics here, with the newest posts being at the bottom of the page. Discussions are archived gradually, so please check the archives to make sure that your question hasn't been answered already!''

Fatal error: Call to a member function getNamespace on a non-object in /var/lib/mediawiki/extensions/SocialProfile/UserStats/EditCount.php on line 18
Using the latest version of your code "1.4 (November 30, 2009)" along with MediaWiki 1.15.1 I get the error in the headline if I have $wfNamespacesForEditPoints defined in LocalSettings.php
 * $wgNamespacesForEditPoints = array(0); // Array of namespaces for that can earn you points. Use numerical keys. Default is 0 -- only main namespace edits can earn a user points.

If I remove the $wgNamespacesForEditPoints from LocalSettings.php the error goes away, but I would really like to be able to use this so I can add other namespaces. Thanks, --Cforrest 18:48, 30 November 2009 (UTC)


 * Oops, good catch! I've fixed that regression in r59601; now it should work again. --Jack Phoenix (Contact) 20:13, 30 November 2009 (UTC)

Special:UpdateEditCounts not using $wgNamespacesForEditPoints
When I add namespaces (14 for categories or 104 for a custom one I have) the edit counts update appropriately and increment for edits to pages in the defined namespaces (0, 14, 104). If I then run Special:UpdateEditCounts the additional namespaces are ignored and the count is reset back down to the number of edits in the main namespace (0). Can you please make it so that the Special:UpdateEditCounts uses $wgNamespacesForEditPoints?

BTW, thank you for such a cool extension. MW version 1.15.1 and SocialProfile 1.4 --Cforrest 20:29, 1 December 2009 (UTC)

UPDATE
I was able to "fix" this myself by making the appropriate edits to UserStats/SpecialUpdateEditCounts.php. It may not be pretty, but it works :)

Edit UserStats/SpecialUpdateEditCounts.php

REPLACE WITH REPLACE WITH INSERT ABOVE Then go to your wiki and re-run Special:UpdateEditCounts in order to have your counts include all namespaces defined in $wgNamespacesForEditPoints in LocalSettings.php.

Good Luck --Cforrest 00:22, 2 December 2009 (UTC)


 * Thanks again, I've fixed this in r59661. --Jack Phoenix (Contact) 14:26, 2 December 2009 (UTC)

globally rename foe and friend
I'd like to be able to rename 'foe' to 'rival' for my site. Is there a way to do this easily, or is it a hunt and peck through the source code? —The preceding unsigned comment was added by 68.42.66.48 (talk • contribs). Please sign your posts with ~ !


 * Editing the appropriate system messages should do the trick, although I haven't tested it myself. These system messages contain the word 'foe':

MediaWiki:Useractivity-foe MediaWiki:Boardlinkselectfoes MediaWiki:Boardlinkunselectfoes MediaWiki:User-add-foe MediaWiki:User-remove-foe MediaWiki:User-recent-activity-foe MediaWiki:User-profile-preferences-emails-friendfoe MediaWiki:Ur-relationship-count-foes MediaWiki:Ur-add-foe MediaWiki:Ur-add-no-user MediaWiki:Ur-remove-relationship-foe MediaWiki:Ur-remove-relationship-title-foe MediaWiki:Ur-remove-relationship-title-confirm-foe MediaWiki:Ur-remove-relationship-message-foe MediaWiki:Ur-remove-relationship-message-confirm-foe MediaWiki:Ur-remove-error-message-pending-foe-request MediaWiki:Ur-remove-error-not-loggedin-foe MediaWiki:Ur-add-title-foe MediaWiki:Ur-add-message-foe MediaWiki:Ur-add-button-foe MediaWiki:Ur-add-sent-title-foe MediaWiki:Ur-add-sent-message-foe MediaWiki:Ur-add-error-message-yourself MediaWiki:Ur-add-error-message-existing-relationship-foe MediaWiki:Ur-add-error-message-pending-foe-request MediaWiki:Ur-add-error-message-not-loggedin-foe MediaWiki:Ur-requests-message-foe MediaWiki:Ur-no-requests-message MediaWiki:Ur-requests-added-message-foe MediaWiki:Ur-requests-reject-message-foe MediaWiki:Ur-title-foe MediaWiki:Foe request subject MediaWiki:Foe request body MediaWiki:Foe accept subject MediaWiki:Foe accept body MediaWiki:Foe removed subject MediaWiki:Foe removed body MediaWiki:Top-fans-stats-foe-count MediaWiki:Mp-request-new-foe


 * --Jack Phoenix (Contact) 23:59, 31 December 2009 (UTC)

Show SocialProfile certain groups
Hello!

I want that only show SocialProfile certain groups (eg Admin). Can someone help me? What do I need to configure? —The preceding unsigned comment was added by 80.81.21.118 (talk • contribs). Please sign your posts with ~ !


 * If I understood your question correctly, you can't. Every user has the option to choose from normal wiki userpage or a social userpage. If you know PHP, you could try modifying the code. --Jack Phoenix (Contact) 19:42, 28 January 2010 (UTC)

Activation of Userwelcome
I can't find a reference to how to turn UserWelcome on, and would love to be able to put it into practice. Kitsufox 18:53, 28 January 2010 (UTC)


 * in your wiki's LocalSettings.php should do it. --Jack Phoenix (Contact) 19:42, 28 January 2010 (UTC)


 * Yep, that did the trick perfectly. Thank you very much. Kitsufox 21:05, 28 January 2010 (UTC)

Database error
(SQL query hidden) from within function "UserProfile::getProfile". MySQL returned error "1146: Table 'uopedia_wiki1.user_profile' doesn't exist (localhost)".--96.47.201.30 07:02, 15 February 2010 (UTC)


 * Extension:SocialProfile. --Jack Phoenix (Contact) 15:34, 15 February 2010 (UTC)

I know this but I have no access to the command line. Any other way?--207.160.145.13 19:06, 17 February 2010 (UTC)


 * You should have mentioned it in your previous message, then. Anyway, you might wanna have a look at Extension talk:SocialProfile/Archive 4 Do note that the instructions there are a bit outdated; you'll also need to copy the query from user_system_messages.sql. --Jack Phoenix (Contact) 10:52, 18 February 2010 (UTC)

gift error
from within function "". MySQL returned error "1146: Table 'uopedia_wiki1.gift' doesn't exist (localhost)". Any help? —The preceding unsigned comment was added by 66.43.40.131 (talk • contribs). Please sign your posts with ~ !


 * See above. --Jack Phoenix (Contact) 10:52, 18 February 2010 (UTC)
 * Yes, I have looked at everything above carefully and still I had to turn off the gifts because when I turn it on it still give me that error. I have put in all the tables people are posting but none with the name gift. Help?--66.43.40.131 03:00, 22 February 2010 (UTC)


 * How did you disable/turn off gifts?
 * --Enterprise user 19:04, 6 January 2011 (UTC)

This extension seemed to break Lucene
After I installed this extension my lucene search engine stopped being able to update it's indices, which is not good at all. So now I want to "uninstall" the extension, which I assume will include removing the database entries. Is there a list somewhere of what database tables I can get rid of? Thanks
 * The tables created by this extension are user_board, user_profile, user_stats, user_relationship, user_relationship_request, user_system_gift, system_gift, user_gift, gift, and user_system_messages. Reach Out to the Truth 14:51, 26 February 2010 (UTC)

- Thanks for the list, I am not sure if this extension caused the problem or not. It seems my Lucene indexes became corrupt or something, and only after I removed them completely and rebuild them does it start to work again. It worked fine before this extension was installed, but that doesn't really prove this Extension was the problem. Still have decided to use another method for user profile info though, thanks for the info.

Question: possible to add message comments to emails?
Is it possible to add the message someone sends via the profile to the email that is sent using magic words, templates or the like? thanks for your help.. --LainieH 00:02, 1 March 2010 (UTC)


 * See UserBoardClass.php, specifically the functions sendBoardMessage and sendBoardNotificationEmail. I think that passing the $message variable to sendBoardNotificationEmail in sendBoardMessage might work. I didn't test it obviously, just had a quick look at the code and thought it might work. --Jack Phoenix (Contact) 15:47, 1 March 2010 (UTC)

MySQL error 1054
MySQL returned error "1054: Unknown column 'ug_gift_id' in 'field list' (localhost)". --96.47.201.30 02:22, 1 March 2010 (UTC)


 * Have you set up the database tables correctly?
 * Are you running the SVN version of SocialProfile? If so, is the revision r63098 or a newer one?
 * --Jack Phoenix (Contact) 15:47, 1 March 2010 (UTC)

Images black after extension upgrade
I upgraded to the latest version of SocialProfile on Feb 22. Since that time, any avatars uploaded are now black. I've viewed the images directly, yes they really are black. Existing images are fine. I've purged the page, no difference. Running version 1.14.0 mediawiki. SocialProfile 1.4. I've copied back the previous version of SpecialUploadAvatar.php with no luck. Any suggestions welcomed. --Tomfuie 19:04, 5 March 2010 (UTC)


 * As you probably noticed, the trunk version of SocialProfile is only compatible with MediaWiki 1.16 (which hasn't yet been released). However, I do know about your problem, seeing as I stumbled upon it last year. I don't know what caused it exactly, but it had nothing to do with SocialProfile, because same version of SocialProfile worked on a different server. Check your server's configuration and make sure that any recent updates haven't messed up things. --Jack Phoenix (Contact) 23:45, 5 March 2010 (UTC)


 * Either code hack or extension confusion. Once I reinstalled a fresh version of the extension it worked fine.  --Tomfuie 14:59, 15 March 2010 (UTC)

Question about Messaging Customization
I have had my user base ask if it is possible to customize messaging to allow for a public "message board" where users can post comments ("like facebook"). I have also had them ask if they can sort messages by topic (like a discussion forum). Are you aware of any web sites using the social profile extension that have customized it for this type of funtionalitly? Is this possible? Thanks.. --LainieH 22:11, 8 March 2010 (UTC)


 * That certainly sounds a bit complicated, but nevertheless interesting. I'm not aware of any sites that would have hacked SocialProfile for such a purpose, but maybe it is doable. You could try asking around if someone's willing to do that for you (I'm afraid I can't, I have plenty of projects already). --Jack Phoenix (Contact) 15:43, 15 March 2010 (UTC)


 * I wonder if this would work? Extension:FBConnect allows XFBML tags to be placed inline with wiki text, so maybe you can simply use  to generate an instant comments box. This would probably only work with users Connected through Facebook, however... Just a thought! -Gbruin 06:18, 14 April 2010 (UTC)

Default User Page, Wiki default?
Default install appears to make every user's page a enhanced version. Is there a setting or tweak to make the wiki user page the default? --Tomfuie 15:07, 15 March 2010 (UTC)


 * You could try setting $wgUserPageChoice = false;, that might work. I haven't tested myself what that does though, so beware. :) --Jack Phoenix (Contact) 15:43, 15 March 2010 (UTC)


 * if you change the database setting to the reverse of the default that's in there you can have it automatically use the Wiki page instead of the social profile version (it's what I've done). You do need to run populate user pages when you get new members, however. 198.150.164.8 17:55, 23 March 2010 (UTC)

Fan (and a question or two... or three)
It'd be neat if you could add a function similar to the friends feature, but have it for articles. Editors could add a tag that would show a list of watchers (Fans) of the article, and also supply a link to "Add to my Watchlist". This would be kinda like Facebook's "Fan" feature.

The next few questions are unrelated to the suggestion above, and from each other.

How would I add the option to have restricted access to only friends? Like allowing a user to post a user subpage, but letting them decide to make it public, or private. And allowing sysops to make articles friends only; Such as being able to build a page for a gaming organization. But, only allowing a certain user's group of friends able to view it. Also allowing user to call whether a certain datafield is public/private (Like if they enter the location, but they only want their friends to see).

And the next question, how can I call a user's profile data? Like in a template, let's say I want to call a custom field "age", and use it in an article.

The final question is, how could I add or remove information spaces (Personal information, Other information, Custom information)? Like, I want to add a "Gaming information" panel with some custom fields, like "Points", "Game collection", "Favorite Game Characters", "Gaming level", etc. Smile Lee 17:57, 30 March 2010 (UTC)


 * Most of these requests sound quite time-consuming; they aren't something I've been planning to do.


 * You can't call social profile data in a template as of now, sorry.


 * Maybe you can add some fields to user profile with the appropriate UserProfile* hooks; see Extension:SocialProfile/For developers for further information. --Jack Phoenix (Contact) 17:47, 2 April 2010 (UTC)

Error from SpecialUploadAvatar.php Class SepcialUpload not found
After installing this I am getting an error when I load my wiki. This Class can't be found. The error is Fatal error: Class 'SpecialUpload' not found in /var/www/fwiki/extensions/SocialProfile/UserProfile/SpecialUploadAvatar.php on line 17 I am also getting the same error from line 228 for the Class UploadFromFile. I looked threw the php files and can't find where these classes are defined. I feel like I am missing something.

I am using MediaWiki version 1.13.2 and the latest SocialProfile as of today. 4/03/10 —The preceding unsigned comment was added by 63.116.23.136 (talk • contribs). Please sign your posts with ~ !


 * I am using MediaWiki version 1.13.2 and the latest SocialProfile as of today and that exactly is your problem. The extension page clearly states that the current version of SocialProfile requires MediaWiki 1.16 or newer. --Jack Phoenix (Contact) 17:47, 2 April 2010 (UTC)

Well I feel like a bozo. Updated to 1.17 and it works for the most part. Adding friends and uploading pictures seems to be a problem still. Seems like it is related to UserStatsClass.php on line 518 is something funny going on with the for loop.

—The preceding unsigned comment was added by 63.116.23.136 (talk • contribs). Please sign your posts with ~ !


 * Back in 2008, someone wrote that adding the point values to LocalSettings.php helped in fixing this problem, so maybe you could try that? --Jack Phoenix (Contact) 22:33, 2 April 2010 (UTC)

How do I set the pointer values in Localsettings? I'm also getting the foreach error.

Make messaging default to private
Hi, is their a way to set the messaging to default to private instead of public? Also, can users delete messages they have sent, or edit them? 20:23, 30 April 2010 (UTC) —The preceding unsigned comment was added by 207.47.18.254 (talk • contribs). Please sign your posts with ~ !


 * Maybe swapping the order of the &lt;option&gt; tags in the source could work, I dunno.
 * No, only the recipient of the message and users with userboard-delete</tt> user right can delete board messages.
 * No, sent board messages cannot be edited.
 * --Jack Phoenix (Contact) 12:29, 1 May 2010 (UTC)

Delete "custom information"
How do I delete the "custom information" and make sure there isn't a gap between tabs??? 67.59.193.62 22:49, 30 April 2010 (UTC)


 * Short answer: you don't. Long answer: maybe hacking the PHP source code and using some CSS tricks could do it for you. --Jack Phoenix (Contact) 12:29, 1 May 2010 (UTC)

How do I make gifts appear below instead of above "Other information" in the profile?
How do I make gifts appear below instead of above "Other information" in the profile? Thank you 22:49, 30 April 2010 (UTC) —The preceding unsigned comment was added by 67.59.193.62 (talk • contribs). Please sign your posts with ~ !


 * That seems to be quite complicated, but you could try modifying the function getInterests</tt> in extensions/SocialProfile/UserProfile/UserProfilePage.php</tt>. --Jack Phoenix (Contact) 12:29, 1 May 2010 (UTC)

Rename "Custom Information"
I want to rename the title tab of "custom information". I went to UserProfile.i18n and did a search for "custom information" then I renamed all to what I wanted, but it didn't update. I was hoping it is possible to do this. I am not talking about the profile fields, just the green tab at the top Thanks again 207.47.18.254 15:29, 1 May 2010 (UTC)
 * can be changed at MediaWiki:Update profile nav

Foeing?
Why would a site owner want to enable foeing? I guess maybe if it were some sort of gaming wiki, you might have your arch-rivals as foes. But even then, it's all in the spirit of fun so they're not really foes. Tisane 05:44, 27 May 2010 (UTC)

ImageMagick workarounds in future development
I'm one of those folks who, when receiving the  error message, researched the bug. Instead of acting confused or lost, I researched what I could. I found on multiple occasions that SocialProfile demands ImageMagick for image uploads as it forces a resize. All I've got access to is the GD-Lib, surprise surprise. In future developments, it would be preferential (at least, for me) for the following to happen. As opposed to demanding GD-Lib support, or trying to code it myself (I'm nowhere that good), it would be nice if the native API for image uploading could be used. I'd rather just upload the avatar to my wiki, and choose it from the Avatar page. Or, add in an option to disable image uploads through the SocialProfile API until a workaround is ready.

Despite not being able to find a concise workaround, it doesn't make me feel disparaged. I love the work that's been put into this extension, and I'll still be using it and encouraging the userbase to continue using it despite the lack of avatars. Echternacht 05:00, 11 June 2010 (UTC)

Fatal error after installing SocialProfile
When i installed SocialProfile i get this in wiki/Special:SpecialPages address

Fatal error: Class 'SpecialUpload' not found in F:\xampp\htdocs\mediawiki\extensions\SocialProfile\UserProfile\SpecialUploadAvatar.php on line 17 —The preceding unsigned comment was added by 58.147.174.71 (talk • contribs). Please sign your posts with ~ !


 * Again, use the correct version of SocialProfile and MediaWiki. Current version of SocialProfile, 1.5, will not work with MediaWikis older than 1.16. SocialProfile has required MW 1.16 or newer since r63049, which means that some of the 1.4 versions will not work with older MWs either. --Jack Phoenix (Contact) 12:31, 30 June 2010 (UTC)

Imagemagick Hack
I was having the darndest time trying to get imagemagick to work since I had a non 'usr/bin/convert' type call. It didn't seem to matter what I set the $wgImageMagickConvertCommand to, since it didn't seem to get imported into the SpecialUploadAvatar.php file


 * I tried a couple things in the SpecialUploadAvatar.php file, where the file has the convert commands, I tried putting in the absolute path (I know bad me, but I wanted to see if this worked). YES It did work, in my case my path is /opt/csw/bin/convert  and adding this made it work.  I had to add it three times for each of the $typeCode if/then statements.
 * I tried adding $wgImageMagickConvertCommand instead of convert, this did not work, and the error log seemed to indicate this variable was not being pulled into the SpecialUploadAvatar.php file —The preceding unsigned comment was added by 216.118.190.9 (talk • contribs) . Please sign your posts with ~ !

http 403 not found?
so i did everything you said, and then i get to the part with the database update. when i go to the file (/maintenance/update.php), i get some http 403 error? and other times the whole page is blanc... please help me! —The preceding unsigned comment was added by 80.57.114.28 (talk • contribs). Please sign your posts with ~ !


 * You can't execute maintenance scripts from the browser. You need to execute them from shell. Reach Out to the Truth 04:16, 4 August 2010 (UTC)

Relationship requests
in relationship requests page, accept and reject buttons are disable. —The preceding unsigned comment was added by 110.184.229.203 (talk • contribs). Please sign your posts with ~ !


 * Works for me (MediaWiki 1.17alpha (r70714), PHP 5.3.0, newest version of SocialProfile). Make sure that you're using the newest version of SocialProfile and 1.16 release of MediaWiki, that jQuery is available and that all the paths are correct ($wgUserProfileDirectory, $wgUserBoardScripts, $wgUserProfileScripts and $wgUserRelationshipScripts). --Jack Phoenix (Contact) 13:27, 11 August 2010 (UTC)

Required wikia extensions to implement point system
The documentation of the point system explains: "Most of the above require separate Wikia extensions to be installed and configured."

What are these extensions? Where are they available? Is there any documentation to support their correct installation and configuration?

Specifically, blog, blog comment, like/dislike. Geoffludt 03:38, 24 August 2010 (UTC)


 * I support this question. The documentation indicates that:




 * So which exactly of voting/rating extensions I need to use or how to enable voting without it? Probably I have to use some revisions from wikia-code? Thank you. AvalarMS 06:16, 27 August 2010 (UTC)


 * I'm working on making most of these extensions available. Blogging system, for example, is just too fragile and hacky to be fixed, but some other stuff (comments, voting) can be fixed. If you want to use code from Wikia's SVN, do so at your own risk &mdash; the mentioned extensions are unsupported.


 * I'd recommend sticking to the stuff that doesn't require separate extensions to be installed (see Extension:SocialProfile). --Jack Phoenix (Contact) 16:19, 28 August 2010 (UTC)

Still have avatar uploading and gift problems
Hello, I've read all discussion pages, but still have problems.

1) When I upload an avatar there's nothing uploaded and i see four broken images.

standard wiki upload works well

images/avatars and images/awards folders are created, 777 permission is given

imagemagick is installed and work properly

userlevels and point values are configured, points count ok.

i use trunk version of extension with mediawiki 1.16

any suggestions?

2) I cannot access some speсial gift pages, including Special:RemoveMasterGift

I got "Woops, you took a wrong turn! The link you have entered is invalid."

I have "short url" enabled.

any suggestions?

Thank you.

--Amoeba 17:26, 30 August 2010 (UTC)


 * I have the same troubles :(((

--Андрей Краснобаев 18:39, 10 September 2010 (UTC)

same here :S --Gixty 21:58, 31 December 2010 (UTC)

Extension working but css is failing
Hello. I've installed the latest version of the extension and it works really well. The only thing is that the CSS template is definetly not working. Instead of showing all the info in good-looking boxes and styles, it shows all just like plain text, with the following format:

Username

Edit profile | Upload avatar | My watchlist | Contributions | Wiki userpage

Custom information

Edit this

No custom information

Other information

Edit this

No other information

Personal information

Edit this

Real nameMy name

LocationCity, Country

HometownCyti, Country

BirthdayMonth Day

OccupationMy occupation

Places I have livedCountry, country, country

Do you know how could I modify this? I'm using the Monobook skin as the default in my wiki, and it's important it remains like that.

Thanks!

Fladei 09:59, 14 October 2010 (UTC)


 * A link to your wiki would have been useful. In any case, check that the path variables ($wgUserBoardScripts, $wgUserProfileScripts and $wgUserRelationshipScripts) are correct; you can see the defaults in extensions/SocialProfile/SocialProfile.php. If they aren't correct, CSS and JS will not be loaded properly. --Jack Phoenix (Contact) 12:09, 14 October 2010 (UTC)


 * The wiki is being developed in localhost before publishing it, so I cannot put any link to the wiki. The path variables, I have to check them under which file? Because the defaults are good in extensions/SocialProfile/SocialProfile.php. Thanks! --Fladei 14:01, 14 October 2010 (UTC)

Images not uploading?
I cant get images to upload, I have all the right stuff and ive pointed localsettings.php to the right location of it on my server but its still not working. what am I missing? http://ukairsoftwiki.co.uk --Redeye 10:29, 17 October 2010 (UTC)

PostgreSQL
This extension doesn't work with Postgres. Is it supposed to? Castelobranco 18:09, 18 October 2010 (UTC)


 * PostgreSQL schemas exist now; thank Greg for that. As I noted in the comment section for r75436, there are (too) many instances of raw SQL usage in SocialProfile which most likely will cause this extension not to work properly on PostgreSQL. If you want to help out and you're familiar with PostgreSQL, feel free to read through Extension:SocialProfile/For developers and apply for commit access &mdash; help is always wanted and needed! --Jack Phoenix (Contact) 14:08, 23 November 2010 (UTC)

UserStats
Great Extension! I applaud you for all your work. Had a question regarding the possibility of using only one component of the extension, just the UserStats. Is that possible?--to.rmine 18:39, 1 November 2010 (UTC)


 * If you hack the extension, then maybe...but otherwise certainly no. The different components of SocialProfile, like UserBoard, UserProfile and so on are very interdependent. --Jack Phoenix (Contact) 14:08, 23 November 2010 (UTC)

Avatar problems...still
I cant upload avatars or award images? I have the folders set to 777 and i have the correct path for my converter but it woont upload anything. I have contacted Jack but he could not help me. Real shame as I really like this extension. Redeye 08:26, 6 November 2010 (UTC) Gave up waiting for support and just moved to a new server lol Redeye 01:13, 9 November 2010 (UTC)

Populate Awards
How do i make a cron job to run the Special:PopulateAwards page every day?

I'm guessing the code is something like 0 * * * * /Special:PopulateAwards Or something like that but where do I put that code to make it work and is that the right code?

Redeye 02:56, 17 November 2010 (UTC)

I have found a way around this probelm by adding a link to the Admin links but would still like a automated way of doing it. Redeye 04:35, 2 December 2010 (UTC)

Board functionality on Windows
I have installed SocialProfile 1.5 on MediaWiki 1.16 and several things will not work on a Windows installation.


 * Board shows up in profile but no ability to edit
 * Thanks for the feedback Jack. Maybe this is pilot error but when I view the profile page I see edit links for Custom, Other and Personal information.  I do not see an edit link for the Board though it is displayed with no messages.  Special:UserBoard just says "no messages".  Maybe the question is how do you create messages and UserBlasts?
 * To create messages, go to the user's social profile page. For example, if you would want to message User:Foo, you'd go to User:Foo or User profile:Foo (depending if User:Foo has chosen to use social profile page or normal wiki userpage) and write your message in the textarea, below the "Board" header; there you can also choose whether the message will be public or private. As for board blasts, once someone has messaged you (in other words, when you have board messages on your board), a "Send board blast" link will appear on your profile. You can also go to Special:SendBoardBlast (which is where the link will take you to) to send a board blast. If I recall correctly, you can send board blasts only to people on your friend/foe list. --Jack Phoenix (Contact) 19:57, 24 November 2010 (UTC)
 * I am having the same problem. There is nothing under the board header, there is no text area to write a message, nothing to choose whether to make it public or private. My board and other boards literally have nothing in them to do anything with. Do you know why this is not working? Thanks. 81.159.151.41 23:41, 26 November 2010 (UTC)
 * Disregard last message. Everything (so far) is working fine. Thanks. 81.159.151.41 16:53, 27 November 2010 (UTC)
 * Since I first wrote I tested avatar uploads and the upload succeeds but does no display.
 * Windows...I haven't even gotten normal file uploads working on Windows. --Jack Phoenix (Contact) 19:57, 24 November 2010 (UTC)
 * Is there a Social Profile Administration manual?
 * No. The best you have is the extension page, this talk page and its archives. Feel free to write one, though &mdash; this is a wiki after all. :-) --Jack Phoenix (Contact) 19:57, 24 November 2010 (UTC)
 * When trying to give a gift I get "Woops - you made a wrong turn" —The preceding unsigned comment was added by 148.188.152.50 (talk • contribs) . Please sign your posts with ~ !


 * What do you mean by "no ability to edit"? To edit what?


 * As for the GiveGifts special page issue, you need to create at least one gift before you can use Special:GiveGift. --Jack Phoenix (Contact) 14:08, 23 November 2010 (UTC)

Did not find alias for special page 'GiveGift'. Perhaps no page aliases are defined for it? [Called from SpecialPage::getLocalName in E:\www\mediawiki\includes\SpecialPage.php at line 725] Did not find alias for special page 'GiveGift'. Perhaps no page aliases are defined for it? [Called from SpecialPage::getTitleFor in E:\www\mediawiki\includes\SpecialPage.php at line 626]
 * Tried this and received the following error in the logs

mkolb


 * That's irrelevant, it's an i18n issue rather than any kind of a bug in the code. --Jack Phoenix (Contact) 19:57, 24 November 2010 (UTC)

Page Cache
I was just over at Halopedia playing with the Social Profile and noticed that edits made to profile and message system do not update properly. Every time a change is made you have to either log out to see it or perform a hard refresh via ctrl+f5. Is there any work around for this problem without disabling cache for the entire site?

EbonAsura


 * Halopedia uses FileCache. AFAIK with memcached (etc.) there's no such problem. --Jack Phoenix (Contact) 19:57, 24 November 2010 (UTC)

Invite Friends
When I look at my friends list at the top it says "Want more friends? Invite them." with a link to a special page that is not there! How do i get this invite page and if possible make it work with the awards system? -- Redeye 01:02, 25 December 2010 (UTC)


 * Yes, it's not there because it's a separate extension. Feel free to remove the link there. I'll try to get it ready eventually, but since no-one's paying me, everything depends on the developers' interests, and currently I'm the only one actively developing SocialProfile and I have other, more important projects than fixing the mess that the InviteContacts extension is. --Jack Phoenix (Contact) 19:34, 6 January 2011 (UTC)

Fatal error
After adding the appropriate lines to LocalSettings.php, and creating the tables, I encounter a blank page when accessing a user profile. After enabling PHP debug, the following Fatal Error is displayed on the user profile page:

Any information on how to resolve this?

--Enterprise user 18:02, 6 January 2011 (UTC)


 * Mark suggested me to make SocialProfile user that function in code review for r75007 and I committed the change in r77339. iAlex introduced unixTimestamp function in r77231. Reedy noted on the comment section for r77231 that the unixTimestamp function has been superseded by the querypage-work2 branch, which was merged to trunk in r78786. Roan removed the unixTimestamp functions in r79345.


 * I've reverted my r77339 in r79748; please update to that revision to fix this issue. Thank you for reporting this, this issue went unnoticed for quite a long time... --Jack Phoenix (Contact) 19:34, 6 January 2011 (UTC)


 * Your change seems to of corrected the issue. SocialProfile seems to be working fine now, although I haven't extensively tested all of its features. Note that my SVN update was to 79753 not 79748. Thanks for the timely response. --Enterprise user 21:06, 6 January 2011 (UTC)

Remove/Disable either the 'Friend' or 'Foe' Feature
Is there a way to disable or remove either the 'Friend' or 'Foe' feature? Thanks --Enterprise user 22:36, 7 January 2011 (UTC)


 * There is a global called $wgFriendingEnabled</tt> for enabling friending, it's set to true</tt> on SocialProfile.php, but as the doc comment notes, you shouldn't rely on it. Maybe one day I'll fix it or remove it entirely. I personally don't see why someone would want to disable either friending or foeing or both, but I do know some sites that do this nevertheless. Safest option at the moment is to hack SocialProfile, unfortunately. --Jack Phoenix (Contact) 00:21, 28 January 2011 (UTC)

Namespace Corruption
I recently noticed that my properties created by Semantic Tasks are being associated with the userprofile namespace. For example, when display a list of past and recently created properties, they're displayed as userprofile:foo instead of property:foo. Is there a way to resolve this without disabling SocialProfile? --Enterprise user 22:59, 24 January 2011 (UTC)


 * I don't know, I've never used any of the Semantic extensions, sorry. :-( --Jack Phoenix (Contact) 00:21, 28 January 2011 (UTC)

Link to main user profile page (Special:MyPage)
I want to add the text "View your updated profile" to the confirmation message you get when you save updates to your profile. I tried using a link to Special:MyPage (which works when I use it in various MediaWiki system messages) but when I click the link from within Social Profile it opens a new tab and takes me to a page for my logged out IP address, even if I'm logged in.

To clarify, I have tried adding an html link to the full domain.com/index.php/Special:MyPage and also tried using the wikitext formatting. The html link took me to a logged out, IP address profile page, the wikitext one simply rendered as normal text.

How can I provide a link back to the user's main profile page?

SpecialUploadAvatar broken
When the height is larger as width from the source picture the picture rendered wrong. Then it change the width to the 50px and not the height.

Regards 84.173.117.112 15:30, 2 February 2011 (UTC)

Errors on the page
I am getting this error when i am trying to leave message on users Board: Warning: Invalid argument supplied for foreach in C:\wamp\www\MyWiki\extensions\SocialProfile\UserStats\UserStatsClass.php on line 517

When the users doesn't input his age into the profile, this Notice is displayed at the top of the page. Notice: Undefined variable: birthday_date in C:\wamp\www\MyWiki\extensions\SocialProfile\UserProfile\SpecialUpdateProfile.php on line 234

I get this notice when I am on this page localhost/MyWiki/index.php/Special:TopUsers Notice: Undefined variable: last_level in C:\wamp\www\WikiError\extensions\SocialProfile\UserStats\TopUsers.php on line 117 I only have there 2 users, both have 1000 points.

When I am trying to upload image to a gift i get this Notice Notice: Undefined variable: type in C:\wamp\www\WyWiki\extensions\SocialProfile\SystemGifts\SpecialSystemGiftManagerLogo.php on line 331 From this page localhost/MyWiki/index.php?title=Special:SystemGiftManagerLogo&gift_id=1

Any suggestions on how to fix this?

Friends and Foes feature not appearing on MW1.15
Running PHP5.2.8 and MW 1.15.1 and downloaded the 1.15.X version of SocialProfile extension. This seems to be called Version 1.3. It all appears to be functioning currently with the exception of Frieds/Foes feature which does not appear at all. I tried the suggestions of other posters to these talk pages including the extensive changes to LocalSettings.php, Common.css and Common.js on one of the other posts, but to no avail. The Friends and Foes feature just does not appear.

Has anyone else noticed this and do they have a work-around?

I do have two additional special pages called "View Relationships" and "View Relationship Requests", however when I run these they first say I have 0 relationships and that I should "invite some". However, when I press this link I get an error saying that I have requested an Invalid Page. It seems it is looking for a page called "SpecialPage:InviteContacts" which doesn't exist on my wiki.

My production wiki is running MW1.16 but I am reluctant to try and install it there, until I can test the features in MW1.15.

Also, the Message Board is displayed but I have no way of making a post.

Brett Tyson 6 February 2011


 * Just read an earlier post about InviteContacts which is apparently another extension. I am assuming that I do not need this extension in addition to SocialProfile? Am I correct, or are these extensions only not required in V1.4 of the SocialProfile extension.
 * Brett Tyson 6 February 2011

Why use ImageMagic?
ImageMagic (IM) takes up to 15M in space, and the only feature of IM we are using in this extension is image resize, I don't see the point of using IM. Isn't there other much much smaller in size softwares/extensions that will do the same thing? But, if that was the only problem, with IM we also must check if host provider willing to install IM on their servers, especially it would be a lot of the paint if I had to move to another hosting that offers a good deal, but doesn't want or can't install IM.

Getting an error while adding table through phpMyAdmin
I added tables other including this one, but while I was adding this one I got error. Table still got added, but I don't know if it did with out errors in it? This is the code: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SocialProfile/UserBoard/user_board.sql?view=markup

Here is the copy of the error: Error SQL query:

CREATE INDEX /*i*/ub_user_id ON /*_*/user_board(

ub_user_id ), CREATE INDEX /*i*/ub_user_id_from ON /*_*/user_board( ub_user_id_from ), CREATE INDEX /*i*/ub_type ON /*_*/user_board( ub_type ) MySQL said:

CREATE INDEX ub_user_id_from ON user_board (ub_user_id_from), CREATE INDEX ub' at line 1
 * 1) 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '