aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/icon.php
AgeCommit message (Collapse)Author
2008-11-10Content length on imagesmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2435 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-08Default icon overrides.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2226 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-08Simple hook to allow for default user and entity icons.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2225 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-08Closes #301: Profile icons now use getIcon() API. Overrides now possible:marcus
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) && ($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
2008-08-15Caching enhancementsben
git-svn-id: https://code.elgg.org/elgg/trunk@1949 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-08Adjusted contributors file.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1806 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-01Toolbar -> topbar in profile iconsben
git-svn-id: https://code.elgg.org/elgg/trunk@1233 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-01Added toolbar size for the iconsben
git-svn-id: https://code.elgg.org/elgg/trunk@1232 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-23Added master icon size (part 2)ben
git-svn-id: https://code.elgg.org/elgg/trunk@1058 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-11Fixed icon cache issue.ben
git-svn-id: https://code.elgg.org/elgg/trunk@862 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-23Introducing the 'tiny' profile icon sizeben
git-svn-id: https://code.elgg.org/elgg/trunk@692 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-21Assorted profile icon fixesben
git-svn-id: https://code.elgg.org/elgg/trunk@668 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-29Introducing profile icons.ben
git-svn-id: https://code.elgg.org/elgg/trunk@564 36083f99-b078-4883-b0ff-0f9b5a30f544