<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lorea/elgg/_graphics/icons, branch master</title>
<subtitle>Social Networking Engine</subtitle>
<id>https://cgit.fluxo.info/lorea/elgg/atom?h=master</id>
<link rel='self' href='https://cgit.fluxo.info/lorea/elgg/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/lorea/elgg/'/>
<updated>2010-12-25T23:21:21+00:00</updated>
<entry>
<title>moved default profile icons into core</title>
<updated>2010-12-25T23:21:21+00:00</updated>
<author>
<name>cash</name>
<email>cash@36083f99-b078-4883-b0ff-0f9b5a30f544</email>
</author>
<published>2010-12-25T23:21:21+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/lorea/elgg/commit/?id=07a1585f3eee1211aeaf55ea436135f637520102'/>
<id>urn:sha1:07a1585f3eee1211aeaf55ea436135f637520102</id>
<content type='text'>
git-svn-id: http://code.elgg.org/elgg/trunk@7722 36083f99-b078-4883-b0ff-0f9b5a30f544
</content>
</entry>
<entry>
<title>fixes #1324 - default topbar icon now exists</title>
<updated>2009-11-07T17:38:33+00:00</updated>
<author>
<name>cash</name>
<email>cash@36083f99-b078-4883-b0ff-0f9b5a30f544</email>
</author>
<published>2009-11-07T17:38:33+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/lorea/elgg/commit/?id=7e448c5a4977976b64293e4d60fef7600b3dd18b'/>
<id>urn:sha1:7e448c5a4977976b64293e4d60fef7600b3dd18b</id>
<content type='text'>
git-svn-id: http://code.elgg.org/elgg/trunk@3631 36083f99-b078-4883-b0ff-0f9b5a30f544
</content>
</entry>
<entry>
<title>default theme changed</title>
<updated>2009-02-27T17:20:25+00:00</updated>
<author>
<name>pete</name>
<email>pete@36083f99-b078-4883-b0ff-0f9b5a30f544</email>
</author>
<published>2009-02-27T17:20:25+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/lorea/elgg/commit/?id=e3ecf46f78df19c34382f0873f7574fbbab5cd10'/>
<id>urn:sha1:e3ecf46f78df19c34382f0873f7574fbbab5cd10</id>
<content type='text'>
git-svn-id: https://code.elgg.org/elgg/trunk@2988 36083f99-b078-4883-b0ff-0f9b5a30f544
</content>
</entry>
<entry>
<title>Closes #301: Profile icons now use getIcon() API. Overrides now possible:</title>
<updated>2008-10-08T11:27:00+00:00</updated>
<author>
<name>marcus</name>
<email>marcus@36083f99-b078-4883-b0ff-0f9b5a30f544</email>
</author>
<published>2008-10-08T11:27:00+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/lorea/elgg/commit/?id=939ce5e44c049b0897899c8c7a79544068d2e3b3'/>
<id>urn:sha1:939ce5e44c049b0897899c8c7a79544068d2e3b3</id>
<content type='text'>
For themes to override, create a plugin hook listening to 'entity:icon:url' and object 'user'.

In the hook return a different url.

To replace default user icons in a plugin one might create a hook:

function profile_usericon_hook($hook, $entity_type, $returnvalue, $params)
{
	if ((!$returnvalue) &amp;&amp; ($params['entity'] instanceof ElggUser))
	{
		// return your default graphic here.
	}
}

And set it to priority 900 (lower priority than the code that displays a pretty icon for users but higher than the default object display code in entities.php)

git-svn-id: https://code.elgg.org/elgg/trunk@2221 36083f99-b078-4883-b0ff-0f9b5a30f544
</content>
</entry>
<entry>
<title>new default entity icons</title>
<updated>2008-08-12T18:03:39+00:00</updated>
<author>
<name>pete</name>
<email>pete@36083f99-b078-4883-b0ff-0f9b5a30f544</email>
</author>
<published>2008-08-12T18:03:39+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/lorea/elgg/commit/?id=49d2af620116bdb98695d35159df235547293977'/>
<id>urn:sha1:49d2af620116bdb98695d35159df235547293977</id>
<content type='text'>
git-svn-id: https://code.elgg.org/elgg/trunk@1861 36083f99-b078-4883-b0ff-0f9b5a30f544
</content>
</entry>
<entry>
<title>Closes #151: Introducing getIcon($size)</title>
<updated>2008-07-31T13:51:57+00:00</updated>
<author>
<name>marcus</name>
<email>marcus@36083f99-b078-4883-b0ff-0f9b5a30f544</email>
</author>
<published>2008-07-31T13:51:57+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/lorea/elgg/commit/?id=c42862e15c82d0ffbb45d3bdc2bcfcea2d0c75f6'/>
<id>urn:sha1:c42862e15c82d0ffbb45d3bdc2bcfcea2d0c75f6</id>
<content type='text'>
git-svn-id: https://code.elgg.org/elgg/trunk@1629 36083f99-b078-4883-b0ff-0f9b5a30f544
</content>
</entry>
</feed>
