Needs work
Project:
User Pic Kit Extras!
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Jun 2013 at 09:48 UTC
Updated:
15 Nov 2013 at 11:30 UTC
Jump to comment: Most recent
Comments
Comment #1
kulvik commentedI got the same problem. Just had a look at the code and it's not just a simple bug, the functionality just isn't finished :) I'll see if I can do something about the minecraft code and post the necessary changes here.
-Thomas
Comment #2
kulvik commentedSo the problem was that the code where you tell the module what field it should get the minecraft username from isn't finished and the url for fetching the image is hard coded to EvilSeph. Like this:
I had to get this working asap so I just "hacked" this to make it work with one of my custom user profile fields.
So basically replace this:
'uri' => 'http://minecraft.net/skin/EvilSeph.png',With (in my case) this:
'uri' => 'http://minecraft.net/skin/'.$account->field_minecraft_brukernavn['und'][0]['value'].'.png',You will need to adjust the field name to get the correct value. This is ugly code of course, but i'll have to do it properly later, finish the admin-settings form and submit a patch. If the original author don't get to it before I can ;)
--Thomas
Comment #3
alexpsfti commentedThank you, Thomas, I can't wait for your patch now :p
Comment #4
alexpsfti commented