Overview

The Node Gift module provides an ability for users to "buy" nodes for each one if they have enough Userpoints.

The idea is simple. You have community on your website. Users receiving virtual moneys (Userpoints) during the activity (writing articles, uploading images, commenting, etc). How to motivate them to be more active on your site? This is why Node Gift module was created! With Node Gift you can create unlimited number of gift nodes and every user can "buy" node for another. Gifts are displayed on user profile page under Gifts tab.
Node gift list

Requirements

User Points module

Installation

Copy module into the sites/all/modules folder then go to the modules page and enable it.

Pre-Configuration

Make sure that the "buyer" have enough userpoints.

Configuration

Module provides his own node type - Gift, but you may use any node content type if it contains at least one field of Number Integer type. This field will be used to specify the price for "gift".

Permissions

Module adds 2 permissions: "Access node gift form" and "Administer node gift settings". "Access node gift form" is required to see Buy button. Usually authenticated users should have this permission. "Administer node gift settings" is required for administrators. Make sure to set these permissions properly.

Configure Gift node type

Edit Gift node type (or any other type). Expand Node Gift fieldset and set settings for this Gift type.
Node Gift Settings
Save. Add some nodes.

Buying gifts from node page

Login as "buyer" and open the node you want to "buy". If you have a permission "Access node gift form" and have enough Userpoints you will be able to see Buy Me button. See attached screenshot.
Node Gift page
Click on Buy me button, enter username for gift receiver, enter the comment, send. You'll be redirected to the list of gifts on the receiver's account.
Node gift form

Buying gifts from user page

Open any account. Click on Buy Gifts for this user button.
Node Gift from user account
On the next page choose the gift you want to buy.
Node gift choose gifts
On the last page add Gift comment and you're done!