Package Description
This version fixes bug in avatar.url output filter
Usage/Installation Instructions
Snippet: avatar.upload
With this snippet your users can upload avatars for the profile
@property textfield defavatar: the url to the default avatar.
@property textfield maxwidth: the maximum width of the avatar.
@property textfield maxheight: the maximum height of the avatar.
Snippet sets the placeholders:
uploadavatar.update_error: 1 if there is an error 0 if successfully updated
uploadavatar.error: error text
uploadavatar.avatarurl: url to the avatar. You can use this url in the img src
Output Filter: avatar.url
This Output Filter can be used to show the user avatar
Usage:
<img src="[[+createdby:avatar.url=`assets/images/defavatar.png`]]">
input string is the default avatar url.
Details
- Developer(s)
- kobets
- Released
- 2011-06-22
- First seen
- 2011-06-15
- License
- GPLv2
- Supported databases
- MySQL
- Minimum MODX Requirement
- 2
Avatar Releases
Vendor | Signature | Released on |
---|---|---|
MODX.com | 1.1.0-pl1 | 2011-06-22 (13 years ago) |