Userpoints Market System

I have been working on integrating the Market plugin with the ElggXUserpoints Plugin. I decided I could show my work so far in case anybody was aiming to do something similar.

I have changed the "Private message" button to a "Buy this" button and linked it to an exchange userpoints plugin that iionly made for me a while back.

The Market Post:

image

The send userpoints:

image
The URL for send userpoints:

exchange_userpoints/exchange_userpoints?to=35&setamount=true&amount=2&setdesc=true&desc=Test (Ignore this)


All the info about the market is in the url. Then, the user is notified and the user's job is to send the product.