Vcize
Customer
I run the occasional contest/giveaway (for real physical goods) on my forum. I would like to allow users to buy entries to the contest with credits through vbshop.
For the entries, I have a table that stores the userid, date, and contest name each time they make an entry. As such, I'd like to create an item that runs a simple SQL query (to insert an entry into that table) whenever a user purchases it.
Is this possible? I see that I can create custom items but I don't see any way to tie it to custom functionality like a sql query.
For the entries, I have a table that stores the userid, date, and contest name each time they make an entry. As such, I'd like to create an item that runs a simple SQL query (to insert an entry into that table) whenever a user purchases it.
Is this possible? I see that I can create custom items but I don't see any way to tie it to custom functionality like a sql query.