Extension talk:SocialProfile/Archive 3

Archived discussion: 1 | 2

''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!''

Avatars
Is this possible to show user avatars in their signatures? or show avatars of a certain username in a wiki page? Vietbio 12:49, 8 August 2008 (UTC)


 * I'm interested in the answer to this as well. Is there, or could there be a template or the like to insert a user's avatar? - Ivolucien 02:40, 10 August 2008 (UTC)


 * To put it simply: no. However, you can write a parser hook that uses the wAvatar class and shows the user's avatar, e.g. or something. See Manual:Tag extensions for more info. -- Sayuri 12:11, 10 August 2008 (UTC)

Code Contributions
Is there a way to contribute to the coding effort? I'd appreciate the opportunity to help out with the project, in particular to help generalize and modularize it. I'll be doing serious work on the extension for my project; if I can't submit changes, I'll either have to branch from your ongoing efforts or spending extra time merging my changes with yours, with all the pain and bug potential implied. Is there any practical way to get svn commit access, and/or who can I send proposed patches to? Thank you kindly. - Ivolucien 02:49, 10 August 2008 (UTC)


 * You can request commit access by sending an email to Brion with your public SSH key attached and the reason why you're requesting it. Please be aware that I'll be doing the occasional code merge from Wikia codebase every now and then &mdash; hopefully I'll be able to release SocialProfile version 1.2. as soon as possible. But it'd be very nice to have your patches applied. :-) -- Sayuri 12:11, 10 August 2008 (UTC)
 * Second option to contribute is by providing patches to . Cheers! Siebrand 05:58, 12 August 2008 (UTC)
 * Thank you both, I'll take a look at those options and make a decision when I get to the next milestone that includes work on SocialProfile. (within a few weeks)
 * Also, is there a forum or list where folks coordinate what they're working on? I'd hate to step on anyone's toes. - Ivolucien 17:26, 12 August 2008 (UTC)
 * Regarding SocialProfile work? No, not really, except this talk page. I'm currently working on SocialProfile v. 1.2 that will include SystemGifts and UserGifts integration from Wikia codebase. -- Sayuri 17:37, 12 August 2008 (UTC)

Execute install from the command line?
http://sharnyl.net/wiki/index.php/Main_Page
 * MediaWiki: 1.11.0
 * PHP: 5.2.5 (apache)
 * MySQL: 5.0.51a-community

I'm trying to install the | Social Profile extension at my mediawiki, but I've run into a couple of issues. It says I have to run the install.php file from the command line but I have no idea what that means. What command line? Where do I do this at? Shouldn't I just be able to navigate to the maintenance directory and click the install file from there? Also, I'm getting an error message:

Notice: Undefined variable: output in /home/xxxxx/public_html/xxxx/extensions/SocialProfile/UserProfile/UserProfilePage.php on line 601

Notice: Undefined variable: output in /home/xxxxx/public_html/xxxx/extensions/SocialProfile/UserProfile/UserProfilePage.php on line 601

Notice: Undefined variable: output in /home/xxxxx/public_html/xxxx/extensions/SocialProfile/UserProfile/UserProfilePage.php on line 148

Notice: Undefined variable: output in /home/xxxxx/public_html/xxxx/extensions/SocialProfile/UserProfile/UserProfilePage.php on line 629

Why do I need to connect through an SSH? I can access everything on my domain. Is there some place to get the SQL query so I can just do it manually through phpMyAdmin? I looked at the file and it's not written in a way I'm use to seeing.

97.115.181.238 15:25, 18 August 2008 (UTC)


 * I've answered the first half of your questions here.


 * You need to connect through SSH because that's simply how maintenance scripts, such as SocialProfile's installer script, work.


 * You can get the required SQL files from SVN, they're stored there like all other SocialProfile's files. See extensions/SocialProfile/UserBoard/user_board.sql, extensions/SocialProfile/UserProfile/user_profile.sql, extensions/SocialProfile/UserRelationship/user_relationship.sql and extensions/SocialProfile/UserStats/user_stats.sql. -- Sayuri 18:22, 18 August 2008 (UTC)

Thank you for all your help. I'm afraid I won't be using this extension. It's much easier to just copy/paste the SQL queries for installations into my phpMyAdmin than it is to try to connect using something called PuTTY which I've never used before. But this is a really nice extension and if it were easier to run the install.php file, I'd definitely be using it. ^_^

97.115.181.238 22:51, 18 August 2008 (UTC)


 * It is no different from using other maintenance scripts, such as update.php, for example. After all, whenever you upgrade your MediaWiki from a major version to a newer major version, you need to run update.php from the command line in order to ensure that all schema changes will be applied properly. If you don't run update.php whenever upgrading your MediaWiki, you will likely get errors.


 * But anyway, see my post above for links to the SQL files. Copy the required SQL queries from the four files, paste them into the "SQL" prompt in phpMyAdmin and execute the queries. -- Sayuri 14:02, 19 August 2008 (UTC)

Searching Social Profile
For some reason when I go to search for a social profile, or content within the profile, I get no results. I do have the UserWiki box checked. Is there something I'm missing?

Also, is there a way to customize what is viewed in the personal information? I'd like the email to show and a few other things.

Thanks jltitus 17:04, 27 August 2008


 * Maybe your search index hasn't updated yet, I don't know really.


 * There's no built-in way to display the email on the public social profile and quite honestly, I have no idea why you'd want to do such a thing. The user's real name, if s/he has given it, will be displayed on their profile and some users consider even this an invasion of privacy, despite that it can be accessed i.e. through &action=credits, for example. -- Sayuri 14:10, 6 September 2008 (UTC)

Using wgNamespacesForEditPoints
Can anyone tell me how I would add images along with main space edits to wgNamespacesForEditPoints? --24.176.16.143 13:33, 6 September 2008 (UTC)


 * $wgNamespacesForEditPoints = array( 0, 6 );
 * -- Sayuri 14:10, 6 September 2008 (UTC)

Banned User Bug
It appears that users that have been banned can still post board messages on other users boards. Is this intended? Rodeoclash 03:47, 7 September 2008 (UTC)


 * No, this shouldn't happen. The file extensions/SocialProfile/UserBoard/SpecialUserBoard.php has a comment regarding blocked users that states "only let them post to admins" but granted, the code does look odd. I'll try to dig into this after I'm done with the release of the next major version of SocialProfile extension. -- Sayuri 13:11, 7 September 2008 (UTC)
 * The user was an admin so the code is correct. Rodeoclash 02:08, 8 September 2008 (UTC)

Problems with Avatars
I'm having problems trying to upload an avatar, it comes up with the error message below. I'm currently trialling this extension on MW 1.13 - this couldn't be anything to do with it could it?

Could not copy file "C:\xampp\tmp\php49.tmp" to ""

Thanks --sas daniels 14:07, 9 September 2008 (UTC)


 * Make sure that the file/folder permissions are correct. That works, at least for Unix-like systems. You're running in on Windows, which really qualifies as a Bad Idea&trade; in my opinion. But in most cases, this has been an issue with insufficient file/folder permissions (e.g. apache user couldn't write to avatars directory or something like that). -- Sayuri 15:30, 9 September 2008 (UTC)

Many thanks for getting back to me so quickly, although i've managed to work out what i missed out for the install. In the Social Profile folder under extensions, there's an avatar folder that i copied to my wiki image directory. Tried uploading an avatar and this solved everything. --sas daniels 15:44, 9 September 2008 (UTC)