Jump to content

Topic on Extension talk:SemanticComments

Using User pictures if availabe

3
178.190.75.68 (talkcontribs)

It would be a great feature if user pictures/icons would be displayed if available instead of the standard icon.

There is a similar extension: http://www.mediawiki.org/wiki/Extension:WikiTweet unfortunately it is quite unmaintained. Maybe you can borrow some code from there. For the icons, it just looks for username.png (or .jpg) file and displays it if available.

Hypergrove (talkcontribs)

i agree - and it should come from Semantic Social Profile foaf:image property. However I'm noticing that right now, even when one is logged on, an IP address is shown, which needs to be fixed.

Krabina (talkcontribs)

I figured that it's in the code, I added it in the usage section. If the user page contains the property "User image::" and it is set to a image file, the image gets displayed.

Reply to "Using User pictures if availabe"