Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthormightymango
    • CommentTimeApr 17th 2008 edited
     # 1
    Automatically provide an icon for those users who have not set an account icon.

    Using your own icon
    It is possible to upload your own graphics from the DefaultIcon settings page.

    Default Icon on the search page
    To display a default icon on the search pages requires a small change to one of the
    Vanilla files. I have requested a new 'delegate' which will hopefully be available
    in the next version of Vanilla.

    In the meantime it will be necessary to insert the following lines into the
    /library/Vanilla/Vanilla.Control.SearchForm.php file at line 217:

    $this->DelegateParameters['User'] = &$u;
    $this->CallDelegate('PreRenderUserSearch');

    NB If you are not happy about doing this, Default Icon will still function but
    the default icon will not appear when searching for users.

    An edited version of this file is included in: DefaultIcon/libary/Vanilla

    Remove the Default Icon or Account Picture
    The current version does not include an option to remove an icon or picture that you have uploaded. If you wish to remove one or both just set either or both of the following (in yourforum/conf/settings.php) to an empty string:
    $Configuration['DEFAULT_ICON_ICON'] = '';
    $Configuration['DEFAULT_ICON_PICTURE'] = '';


    Samples
    The 'Samples' folder contains sample default icons and account pictures. It is not necessary
    to upload this folder to the DefaultIcons folder.

    Things I'm working on:
    - Different default icons for guests and members
    - Method of removing an icon or picture

    Thanks
    Thanks to Neverender for the idea of a Default Icon extension.

    Donations
    If you find this extension useful please consider making a donation. Then at least I would have something to show my wife for all the hours I spend writing Vanilla Extensions!

  1.  # 2
    Uploaded version 0.1 Beta of Default Icon.
  2.  # 3
    Uploaded version 0.2 Beta of Default Icon.
    •  
      CommentAuthorWanderer
    • CommentTimeApr 17th 2008
     # 4
    Ripper mate, this one is a personal favorite of mine, I hacked one but it was an ugly piece of code.

    Thanks.
    •  
      CommentAuthorHamed
    • CommentTimeApr 17th 2008
     # 5
    pretty nice!
    ^_^
  3.  # 6
    Uploaded version 0.3 Beta of Default Icon.
    •  
      CommentAuthorlipa
    • CommentTimeMay 5th 2008
     # 7
    How to change the place where the Icon is displayed in a theme?
Add your comments
    Username Password
  • Format comments as