| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = UserPicturesPlugin = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | Adds user picture icons (avatars) to Trac. |
| 8 | |
| 9 | Screenshots of the plugin in action can be found at https://github.com/boldprogressives/trac-UserPicturesPlugin/wiki/Screenshots |
| 10 | |
| 11 | Credit goes to Michael Bayer for the idea -- and most of the code -- in https://bitbucket.org/zzzeek/tracvatar |
| 12 | |
| 13 | == Bugs/Feature Requests == |
| 14 | |
| 15 | Existing bugs and feature requests for UserPicturesPlugin are |
| 16 | [report:9?COMPONENT=UserPicturesPlugin here]. |
| 17 | |
| 18 | If you have any issues, create a |
| 19 | [http://trac-hacks.org/newticket?component=UserPicturesPlugin&owner=ejucovy new ticket]. |
| 20 | |
| 21 | == Download == |
| 22 | |
| 23 | Download the zipped source from [download:userpicturesplugin here]. |
| 24 | |
| 25 | == Source == |
| 26 | |
| 27 | You can check out UserPicturesPlugin from [http://trac-hacks.org/svn/userpicturesplugin here] using Subversion, or [source:userpicturesplugin browse the source] with Trac. |
| 28 | |
| 29 | == Example == |
| 30 | |
| 31 | Install the plugin in your favorite way (python setup.py develop, uploading an egg, etc) and then enable its components in trac.ini like so: |
| 32 | |
| 33 | {{{ |
| 34 | #!ini |
| 35 | [components] |
| 36 | userpictures.* = enabled |
| 37 | }}} |
| 38 | |
| 39 | You should then choose your preferred avatar engine. For Gravatar: |
| 40 | |
| 41 | {{{ |
| 42 | #!ini |
| 43 | [userpictures] |
| 44 | pictures_provider = UserPicturesGravatarProvider |
| 45 | }}} |
| 46 | |
| 47 | For UserManager, ensure that the UserManager plugin is installed and enabled, and then: |
| 48 | |
| 49 | {{{ |
| 50 | #! |
| 51 | [userpictures] |
| 52 | pictures_provider = UserPicturesUserManagerProvider |
| 53 | }}} |
| 54 | |
| 55 | If you do not explicitly select either engine, a default provider is used which displays a blank silhouette for every user. |
| 56 | |
| 57 | == Recent Changes == |
| 58 | |
| 59 | [[ChangeLog(userpicturesplugin, 3)]] |
| 60 | |
| 61 | == Author/Contributors == |
| 62 | |
| 63 | '''Author:''' [wiki:ejucovy] [[BR]] |
| 64 | '''Maintainer:''' [wiki:ejucovy] [[BR]] |
| 65 | '''Contributors:''' |