User talk:Jack Phoenix/archive 2

I am looking to partner with a developer to create a website using the Mediawiki engine. Can you or someone recommend such a person(s) or company? —The preceding unsigned comment was added by 205.159.86.10 (talk • contribs). Please sign your posts with ~ !

SUL Merging
Hi, sorry to disturb you, but i would know if you can merge Myst account on mediawiki with the Myst SUL account, thanks. 86.194.245.102 21:55, 12 February 2009 (UTC)


 * Hi there, sorry about the delayed reply. I'm afraid that I cannot merge accounts; only Wikimedia stewards are able to do that. I can, however, rename local accounts out of the way. Let me know if you need the "Myst" account renamed on this wiki. --Jack Phoenix (Contact) 13:01, 16 February 2009 (UTC)

User:Sunstar NW XP
Since you seem to be an active admin right now, could I ask you to block User:Sunstar NW XP? he's a known sock of User:Sunholm who is, essentially, banned across all wikis for constant disruption. He is currently blocked on several wikis, and makes claims on others (such as here) that those accounts on other wikis are not his (despite the single login). Thanks in advance, Either way 14:50, 2 March 2009 (UTC)

WhosOnline $wgDBPrefix
Hi, I'm going to try your trick of getting WhosOnline to work. In the whosonline.sql, do I have to remove '/*$wgDBPrefix*/' with my prefix mw_ or do I leave the /* */ too? Thanks Fader 23:54, 26 March 2009 (UTC)


 * Replace /*$wgDBprefix*/ with mw_ since that is your database table prefix. --Jack Phoenix (Contact) 10:33, 27 March 2009 (UTC)

--LainieH 14:16, 27 March 2009 (UTC)
Hi.. I am interested in your Social Profile extension. It shows compatible with Mediawiki 1.13. Will it also work in Mediawiki 1.14? (that is what I have).. thanks


 * Unless I'm mistaken, the current trunk version not only works with, but requires MW 1.14. So yes, it should definitely work. Let me know if you need any help in installing or using it. --Jack Phoenix (Contact) 14:20, 27 March 2009 (UTC)

Suomen Wikia
Hei, Suomen Wikiasassa ei ole tällä hetkellä juuri ketään aktiivista ylläpitäjää.Käyttäjä Runescapewikipedia spämmää siellä. Saisinko siellä ylläpitäjän oikeudet? Olen käyttäjä Wappedia Keskustelusivuni. Kiitos. --88.113.38.202 13:09, 2 April 2009 (UTC)


 * Olen poistanut spämmiä jonkun verran siellä. --88.113.38.202 13:13, 2 April 2009 (UTC)


 * Wikia on minulle taaksejäänyttä elämää. Pahoittelen, etten voi auttaa. --Jack Phoenix (Contact) 13:45, 2 April 2009 (UTC)
 * Jaa, no mistähän voisin kysyä asiasta?--88.113.38.202 13:52, 2 April 2009 (UTC)


 * Wikiasta kenties? --Jack Phoenix (Contact) 14:05, 2 April 2009 (UTC)


 * Joltain Staffin jäseneltäkö?--88.113.38.202 14:10, 2 April 2009 (UTC)


 * Sinähän olet ainoa byrokraatti tuolla.--88.113.38.202 14:47, 2 April 2009 (UTC)
 * Tuo punainen ilmoitus tämän sivun ylälaidassa kertoneekin kaiken oleellisen. --Jack Phoenix (Contact) 15:17, 2 April 2009 (UTC)
 * Jaa.Kiitos paljon avustasi.--88.113.38.202 15:45, 2 April 2009 (UTC)

CentralNotice Edits
Am a bit curious about why you removed a lot of the detail from the CentralNotice extension page. The majority of the detail I had was due to actual questions being asked relative to those topics. Did you feel that the level of detail was too much? If so can you recommend a better place to put it? --Tfinc 23:00, 21 April 2009 (UTC)


 * Do you mean this edit? I fixed a typo (central-auth -> CentralNotice), fixed Trevor's username and removed excess spacing (i.e. == Design == &rarr; ==Design==) because it's relatively pointless - output is a &lt;h2&gt; in both cases. :) I'm quite sure that I didn't remove any actual information - at least not intentionally. But it's a wiki, feel free to revert. --Jack Phoenix (Contact) 11:55, 22 April 2009 (UTC)

Running a Script
Hello Jack, Im trying to install the SocialProfile extension in my wiki, but I can't run any command line in my hosted server, can I do it by another way. ( Sorry for my broken english ) --Andaluciars 11:27, 30 April 2009 (UTC)


 * Hi, I don't think that your English is that broken at all. :-)


 * Anyway, do you have access to phpMyAdmin? If so, to create the tables, you'd just need to copy the SQL code from systemgifts.sql, user_board.sql, usergifts.sqluser_profile.sql, user_relationship.sql and user_stats.sql to your phpMyAdmin's SQL query prompt. You will also need to replace /* $wgDBprefix */ with the value of $wgDBprefix if it's not null.


 * Let me know if you need any further assistance. --Jack Phoenix (Contact) 13:39, 30 April 2009 (UTC)

Replace SocialProfile Avatars
well I am interested in using this extension called 'socialprofile' because it seems really great but is there a way to replace 'avatar' with another word like 'photo' for example. for instance, can i make it so that on the user profile page it show 'upload picture' instead of 'upload avatar' - do i have to edit more than its worth to do this or is there a a quick and easy way? thanks for you time- Gordon Mac 1 16:56, 12 May 2009 (UTC)


 * It can be done by editing the appropriate system messages. The messages you want to edit are:

user-upload-avatar user-profile-section-picture update_profile_nav removeavatar avatarupload-removeavatar avatarupload-currentavatar avatarupload-removesuccess avatarlogpage avatarlogpagetext user-profile-picture-log user-profile-picture-log-entry user-profile-picture-log-delete-entry right-avatarremove
 * --Jack Phoenix (Contact) 17:45, 12 May 2009 (UTC)


 * THANKS- that was alot easier than I thought. By the way, is there any information on user the extension called "random users with avatars"? I would like to show a list of users and their information on the main page or on another page.  I have tried to figure it out from the listed install documentation but it has got me stumped.  Any help would be great - thanks again. Gordon Mac 1 23:08, 12 May 2009 (UTC)


 * Yep, it's a separate extension (with dependency on SocialProfile, heh) &mdash; see Extension:RandomUsersWithAvatars. --Jack Phoenix (Contact) 11:32, 13 May 2009 (UTC)

SocialProfile - Overall, I can't upload a avatar because I don't know where to put the folder called 'avatar'
Sachein 22:18, 19 May 2009 (UTC)


 * I put the folder (Avatar) in the folder called 'images'...but it is still not working. Sachein 08:43, 20 May 2009 (UTC)
 * Also, I can't add people as my friends. example: http://www.tamileelamonline.com/en/User:Sachein


 * The avatars folder should be in your wiki's $wgUploadDirectory (which, by default, is the images folder). Make sure that file permissions are set correctly - webserver user (apache/nobody/www-data/whatever it's called in your OS) needs to be able to write to avatars directory.


 * What's the deal with friending? It should work if you're logged in to the wiki and $wgFriendingEnabled is set to true</tt> (it is by default on SocialProfile.php). Do note that you can't add yourself as a friend, or add a current foe of yours as a friend. --Jack Phoenix (Contact) 12:28, 20 May 2009 (UTC)


 * Hi, sorry to disturb you, but when my I tried to add my friend it didn't work . He added me and when I tried to confirm, by clicking 'accept', nothing happened. Also when I try and post something, nothing happened. The page stays put.

When I set $wgUploadDirectory to true. My website pictures go blank. when I upload a avatar, it goes to the stage where you chose a file and select 'upload file' then it goes blank (Special:UploadAvatar) Sachein 15:30, 20 May 2009 (UTC)


 * First of all, do not set $wgUploadDirectory (or if you do, set it to a proper value &mdash; it's supposed to be a string and not a boolean).


 * The friending problem sounds like an AJAX issue to me. Do you happen to use Firefox as your web browser? If so, I'd recommend getting the Firebug plugin for Firefox (unless you have it already) and checking what the POSTed AJAX request returns &mdash; if anything at all.


 * Blank page is a rather common problem. If possible, you should check your webserver's and PHP's error logs to see what might be causing it. --Jack Phoenix (Contact) 15:52, 20 May 2009 (UTC)

Hi, I used firefox/firebug. This is an image of the problem. Something about line 196 or something. Sachein 15:39, 21 May 2009 (UTC)

This is what I got for writing on people's wall.

send_message is not defined onclick(click clientX=624, clientY=578)TAC8BOrF...jlQ%3D%3D (line 3) [Break on this error] send_message;

This is what I get for adding people as a my friend.'

requestResponse is not defined onclick(click clientX=201, clientY=211)wmNG4taR...bfw%3D%3D (line 3) [Break on this error] requestResponse(1, 1);

Sorry for annoying you so badly. Sachein 15:45, 21 May 2009 (UTC)


 * The 195 there is the value of $wgStyleVersion, MediaWiki's "cache buster" variable. :)


 * Anyway, you seem to be having some path issues there. SocialProfile attemps to include http://www.tamileelamonline.com/en/extensions/SocialProfile/YUI/yui.js but that URL seems to be taking to a wiki page called "Extensions/SocialProfile/YUI/yui.js". Same goes for the file SocialProfile/UserProfile/UserProfilePage.js. Adjusting the value of $wgUserProfileScripts</tt> might fix the issue with UserProfilePage.js, but it won't fix YUI though, because YUI.php always tries to include the file $wgScriptPath/extensions/SocialProfile/YUI/yui.js</tt>.


 * And you're not annoying me, not at all. I'm a software developer, it's my "job" to answer people's questions about the software I've written. --Jack Phoenix (Contact) 15:55, 21 May 2009 (UTC)


 * What do you mean by adjusting the $wgUserProfileScripts</tt>. Do you mean setting it to true or false? Sachein 17:43, 21 May 2009 (UTC)


 * No, it's not a boolean variable. By adjusting I mean setting it to a path that works for your configuration...the default is $wgScriptPath/extensions/SocialProfile/UserProfile</tt> but that doesn't seem to be working for you. --Jack Phoenix (Contact) 18:08, 21 May 2009 (UTC)


 * Will this work, by having these extensions: AddHTML or Secured PHP and put the file content there because you said it goes to a wiki page. Sachein 18:31, 21 May 2009 (UTC)


 * No. Fix your paths/rewrite rules rather than trying to hack around the issue. --Jack Phoenix (Contact) 19:07, 21 May 2009 (UTC)

What Can I say...
Social Profile works! I am so stupid. When I uploaded it using FileZilla, I didn't check the files. The files for example: filename.js were uploaded as filename.js.txt. When I changed it, it worked like a charm. But there is one problem, I can't upload images. How do I make the image folder writeable? In the Avatar folder, two files appeared: Archive' and thumb'', automatically. Sachein 10:12, 24 May 2009 (UTC)
 * OK, now there is another problem. Special:AllMessages isn't working. Sachein 11:12, 24 May 2009 (UTC)


 * My avatars</tt> folder has the permissions drwxrwx---</tt> (this is on a Ubuntu box) and it works well. Assuming you're using a Unix box, you could try using the chown</tt> and chmod</tt> commands to change folder owner and permissions, respectively. chown -hR www-data:www-data avatars</tt> has worked for me (my webserver user is called 'www-data').


 * I really don't know why Special:AllMessages breaks, but I've definitely seen and experienced it in the past. I have a wiki running the newest version of SocialProfile and the issue isn't present there, so I really can't help you. It could be related to PHP's memory_limit setting though. MediaWiki requires at least 20M of memory, sometimes even more and Special:AllMessages is one of the most server-intensive special pages that there is. --Jack Phoenix (Contact) 11:48, 24 May 2009 (UTC)


 * I am using Core FTP, but I don't know how to make it writeable. I also have filezilla. When I right click on the folder Avatar what do I have to go on. Sachein 14:10, 24 May 2009 (UTC)
 * I changed the image folder to 777. Same with Avatar and Awards. Nothing is working Sachein 14:39, 24 May 2009 (UTC)


 * They should be named avatars and awards (note casing). Anyway, it's been a fair while since I used Filezilla, so I dunno. Maybe check FZ's manuals and website? --Jack Phoenix (Contact) 11:39, 27 May 2009 (UTC)


 * I forget to tell you that my system version is 1.14.0. Will that matter? Sachein 16:34, 25 May 2009 (UTC)
 * No, I have a wiki running newest trunk of SocialProfile and MediaWiki 1.14.0 and it works well. --Jack Phoenix (Contact) 11:38, 27 May 2009 (UTC)


 * I have noticed that Special:InviteEmail doesn't exist on my wiki. I downloaded it from Subversion. The snapshot didn't work. Sachein 10:46, 27 May 2009 (UTC)
 * You're absolutely correct, Special:InviteEmail is provided by InviteContacts extension, which is separate from SocialProfile. It is also a Wikia extension and I might consider fixing it in the future; it's not very high on my to-do list though. You probably should edit the appropriate system message to remove references to Special:InviteEmail. --Jack Phoenix (Contact) 11:38, 27 May 2009 (UTC)

Social Profile is like a temptation.
In my LocalSetting this is what it has:

$wgEnableUploads      = true;
 * 1) To enable image uploads, make sure the 'images' directory
 * 2) is writable, then set this to true:
 * 1) $wgUseImageMagick = true;
 * 2) $wgImageMagickConvertCommand = "/usr/bin/convert";


 * 1) If you use ImageMagick (or any other shell command) on a
 * 2) Linux server, this will need to be set to the name of an
 * 3) available UTF-8 locale
 * 4) $wgShellLocale = "en_US.UTF-8";

$wgHashedUploadDirectory = false;
 * 1) If you want to use image uploads under safe mode,
 * 2) create the directories images/archive, images/thumb and
 * 3) images/temp, and make them all writable. Then uncomment
 * 4) this, if it's not already uncommented:

$wgUseTeX          = false;
 * 1) If you have the appropriate support software installed
 * 2) you can enable inline LaTeX equations:

A few miles down I have this (I installed a lot of extensions)

require_once("$IP/extensions/SocialProfile/SocialProfile.php"); $wgExtraNamespaces[NS_USER_PROFILE] = 'User_profile'; $wgExtraNamespaces[NS_USER_WIKI] = 'UserWiki'; $wgUserBoard = true; $wgUserProfileDisplay['board'] = true; $wgUploadAvatarInRecentChanges = false; $wgUpdateProfileInRecentChanges = false;

What should I add and change. Also when I did put 'false' for add as foe it still appears. The folder Avatars and Awards are lower case. Sachein 13:44, 27 May 2009 (UTC)


 * What do you use for image thumbnailing, GD or something else than ImageMagick? Because if you use ImageMagick, $wgUseImageMagick and $wgImageMagickConvertCommand probably shouldn't be commented out there. Foeing is quite hard to disable without hacking the source code IIRC. Make sure that the folders have proper permissions and that your webserver user can read (&write) to them. I'm afraid that's all I can say about this; I've never had any bigger issues regarding avatars and awards and I've installed SocialProfile on quite a few (Linux) boxes. --Jack Phoenix (Contact) 19:30, 3 June 2009 (UTC)

RandomUsersWithAvatars
HI Again - Here's my newest wiki-dilemma. I am working with social profiles and 'randomuserwithavatar' both are working most appropriately except there is one drawback: IS IT Possible to have the 'random users with avatar' show not only the avatar, but also a user name when on a page? This would function like the "relationships" section shows up on the userprofile page which shows an avatar and also a user name. —The preceding unsigned comment was added by Gordonmac (talk • contribs). Please sign your posts with ~ !

' . $user_name. '</a>'; </tt> ? I didn't test that though, but it looks like it should work. --Jack Phoenix (Contact) 19:30, 3 June 2009 (UTC)
 * Maybe change the line  $output .= '<a href="' . $user_link->escapeFullURL . '" rel="nofollow">' . $avatar->getAvatarURL . '</a>'; </tt> to something like  $output .= '<a href="' . $user_link->escapeFullURL . '" rel="nofollow">' . $avatar->getAvatarURL . '

wow this seems to be working just fine except for one little detail: the username function places the username on the right side of the img. even with the line break for some reason the username is still in the same line as the img. im going to keep working on this. thanks for the help if you have anymore ideas i will see if i can get it working. Gordonmac 23:25, 3 June 2009 (UTC)

FCKeditor
I have updated Extension:FCKeditor_(Official), trying to sort out old, pre-1.16 and current code. I believe the new version for 1.16 DOES come with the FCKeditor itself. Please check my revision of the extension documentation whether it is now correct. (In our case, installation first did not work because inside a mediawiki extension/FCKeditor checkout I had a manual fckeditor checkout; it worked after deleting the entire extension/FCKeditor and checking out fresh. Uncertain of course, whether other things were wrong as well.)

Furthermore: Is the Extension:FCKeditor (Official) the version that is talked about here and here? If not where is it? The developer meeting notes: "Templates are shown as placeholders so it is not full WYSIWYG. When clicking on a template placeholder, you see a preview of the template and have the option of editing the templates parameters. Reference tags and signatures are also shown as placeholders." I cannot find an "option of editing the templates parameters". If Extension:FCKeditor (Official) is not the wikia version, where can that version be found?

The placeholder symbols are currently preventing us to use the extension. Any template information is uniformly hidden in a cryptic "T" symbol. This breaks the use case of making editing simpler to new users - they are very likely to either go away, or simply delete such extraneous symbols. And users understanding this are still unable to use it, because they are not even informed which "placeholder" is what.

Our ideal would be, instead of new cryptic placeholders, to put wiki-text areas into the FCK-functionality. That is, whenever an html comment, template etc. is encountered, the editor displays inline something like. Ideally this would be editable. This would fullfill the advanced user use-case (users who understand templates, but are still bothered by hand-editing e.g. tables) as well as the newcomer use case (the wikiformat would signal: there is substantial information here, do not delete it, do not be confused because the rest makes no sense).

--G.Hagedorn 08:28, 7 June 2009 (UTC)


 * Current trunk version of FCKeditor (the one from svn.wikimedia.org) comes with FCKeditor (the actual editor). However, the FCKeditor extension available on svn.wikimedia.org is not the Wikia version but rather the one written by FCKeditor team (and with patches from the community). Wikia's version can be found on their SVN. As much as I myself like it, it just doesn't seem to be working. It uses a fair bunch of YUI JavaScript functions and Wikia-specific PHP functions plus it requires a lot of core hacks (that, at least on my test environment, messed up my MediaWiki). You could try checking out the newest copy of Wikia software and then grepping for wgWysiwygParserEnabled</tt> to see what parts of MW core they've hacked. --Jack Phoenix (Contact) 14:24, 7 June 2009 (UTC)


 * Many thanks for the information and clarification! --G.Hagedorn 08:35, 10 June 2009 (UTC)

SocialProfile 1.3 / MW 1.4 - lots of undefined variables
Hey there, I have installed SocialProfile 1.3 into MW 1.4. Install was straight forward, but using the special pages returns lots and lots of notices about undefined variables. Are you able to assist? I posted all of the notices and their special pages I could find over here. I didn't create a MediaWiki.org account until now, so they are signed with my IP. --Ganiman 20:12, 25 June 2009 (UTC)


 * Hi Ganiman, I hope you meant MW 1.14 as 1.4 is rather old and probably no modern extension works under that. ;-) Heh, that being said, your problem is that you're using an old version of SocialProfile instead of trunk version. These notices shouldn't be present in the current trunk version of SocialProfile (1.4). For example, notices regarding Special:TopAwards were fixed in r49174 (I later partially reverted that revision, but those bugfixes weren't reverted). The only E_NOTICEs that should be present in trunk are the notice about $birthday_date on Special:UpdateProfile, notice about $per_page and $page in Special:GiftManager and the one regarding $last_level variable on Special:TopUsers.


 * That being said, I'll try to get those fixed in future releases of SocialProfile, but they aren't the highest priority regarding SocialProfile &mdash; they're just notices after all, not warnings. --Jack Phoenix (Contact) 10:03, 26 June 2009 (UTC)


 * Thanks Jack. It finally dawned on me to check for a conflicting extension, and a quick grep of my extension folder revealed another extension which had altered error_reporting.  I've got all the notices cleaned up now, but I'm having an issue uploading avatars and gifts.  The extension doesn't seem to be creating a temporary image in /tmp, and when it tries to copy it from /tmp to the avatar or gift folders it errors out.  Permissions are set properly (if they weren't, you would get a warning saying wgupload isn't writeable instead).  I'm not sure what the extension uses to handle uploads or resizing.  --Ganiman 13:03, 26 June 2009 (UTC)

Search function doesn't work in social profile
I was searching for text which was in the social profile fields. Even with a search in the profile namespaces and all namespaces it didn't pop up. Same thing on the example site (Halopedia): any text in the fields of the social profile will not be found by the search engine. Can you help me out, because this is a showstopper for my use: a social profile that cannot be found.- Bert


 * Social user profiles aren't ordinary articles (like normal user pages), so I'm not that surprised that you cannot search for them. --Jack Phoenix (Contact) 13:10, 27 June 2009 (UTC)

Image Thumbnailing
Well ImageMagick is not supported, my website host said. GD is what I use.

Do I have remove this then:


 * 1) $wgUseImageMagick = true;
 * 2) $wgImageMagickConvertCommand = "/usr/bin/convert";

Sachein 16:03, 28 June 2009 (UTC)


 * You can either remove them, or comment the variables out. --Jack Phoenix (Contact) 16:05, 28 June 2009 (UTC)

Can you do me a favour. If I give you my username and pass, can you do it for me. Sachein 16:18, 28 June 2009 (UTC)


 * No, I simply don't have time for that. --Jack Phoenix (Contact) 10:04, 29 June 2009 (UTC)

Thanks, but a little late...
I read your comment on the Project Support Desk Databases but after an upgrade, the error has been fixed. Nsgaeverine 05:01, 14 July 2009 (UTC)

Problem with Ajax Login
I am receiving this error once in stalled:

Warning: require(xxxxxxxxxxxxxxxxxxxxxx/html/iwikig/extensions/Collection/AjaxLogin.i18n.php) [function.require]: failed to open stream: No such file or directory in xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/html/includes/MessageCache.php on line 808

Any thoughts?

MySQL 5.2 MediaWiki 15.0 PHP 5.2 mediawiki --iWiki 23:16, 4 August 2009 (UTC)


 * Why is the "warning" line referring to a directory called "Collection"? Download the extension, put the files in $IP/extensions/AjaxLogin and then add require_once("$IP/extensions/AjaxLogin/AjaxLogin.php"); to your wiki's LocalSettings.php. AjaxLogin admittedly is one big of a hack, but the last time I tested it certainly didn't throw out fatals. --Jack Phoenix (Contact) 23:46, 4 August 2009 (UTC)

Change the language
I need to change the language of SocialProfile, is there a file I can translate?

Thanks,--Stefano Delle Monache 01:22, 8 September 2009 (UTC)


 * SocialProfile already supports many languages. Please note that some texts are shown in content language instead of your preferred language. Each component (SystemGifts, UserGifts etc.) has its own .i18n.php file where translations for said component are fetched. --Jack Phoenix (Contact) 12:27, 8 September 2009 (UTC)


 * Thanks, User:Jack Phoenix, I was able to locate the .i18n.php files, but how can I make a language default for all users? It seems that the language cannot be changed in the profile preferences. --Stefano Delle Monache 01:06, 16 October 2009 (UTC)


 * Interface language can be changed through Special:Preferences, as always. SocialProfile pages, like Special:UpdateProfile, mostly use the user's interface language (i.e. if site language is French but user's language is English, the pages are shown in English), with some exceptions. --Jack Phoenix (Contact) 11:29, 16 October 2009 (UTC)

Avatar problem
Avatarproblem still exists. See below: (The extension doesn't seem to be creating a temporary image in /tmp, and when it tries to copy it from /tmp to the avatar or gift folders it errors out. Permissions are set properly .) Any idea?? --NandaJansen 07:12, 16 October 2009 (UTC)


 * Make sure that your apache user is able to create new folders too (something like chown -R www-data:www-data /path/to/your/wiki/images</tt> might work). If that doesn't help and all permissions are set properly, I'm afraid I have no idea. --Jack Phoenix (Contact) 11:29, 16 October 2009 (UTC)


 * Jack, problem solved. The problem is that Mediawiki works with the GD-lib. Installed ImageMagick and escaped in LocalStetings: $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert";

--NandaJansen 18:33, 16 October 2009 (UTC)