HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

UserGifts 0.8 Beta

Allows a user to send a gift to another member.

This is a role based feature. Just check 'Can give a gift to a user' on the 'Roles & Permissions' page for those roles you wish to be able to give gifts. 'Give a gift' will appear as a link on the 'Account Options' side panel menu list.

Sending a gift
A 'gift' link will appear next to each comment. Click on the link to send a gift to the author.
It is also possible to send a gift by using the link on the 'side bar' when viewing a user's account profile.

Compatability with UserAward
Version 1.0.2 or later of UserAward should be used if this extension is to be used at the same time as UserGifts.

User Preferences
Users can select how their gifts are displayed from the Account|Forum Preferences form.

Included Gifts
NB For copyright reasons, the included gifts must not be used in a commercial site.

Important
The format of the 'gifts.php' file will change to cope with gift levels etc. (see below) so only upload your own gifts if you are using a test site.

If you have created your own gifts do not upload the gifts folder and gifts.php to your server.

Version History
Version 0.8b
- Fixed unexpected & error

Version 0.7b
- Fixed error on sign-in
- Fixed error where gifts icon not appearing on account page

Version 0.6b
- Fixed error message when deleting gift type

Version 0.4b
- Sorted problem with repeated sorting of the awards.
- Fixed problem with deleting award types and then adding a new award type which resulted in the incorrect gift being displayed.
- Removed need to override image cache. Each gift image is now unique.
- Can now delete all gift types

Version 0.3b
- Added 'Do not accept gifts' and 'Make gifts I receive visible to all' settings to the forum preferences form
- Only show Real Name if user has enabled the option to make their name visible
- Fixed problem where not entering a gift message was returning to the wrong user
- No longer necessary to include a message
- Removed settings page (not needed for the time being)
- Added simple pagination - show 3 newest gifts

Version 0.2b
- Minor code changes

Version 0.1b
- First beta release

Things I'm working on:
- Send an automatic email when a gift is sent.
- Users to qualify for different levels of gifts depending on the number of posts made.
- Improve pagination to include multiple pages.
- A way of limiting the number of gifts a user can send.

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!

Questions