View Full Version : Giveaway key codes addon?
metrika
02-25-2014, 05:36 PM
Hi guys,
Im looking for some addon to do giveaways key codes in our websites, I cant find none.
Did you know if there are something like WP Keys Giveaway (http://wordpress.org/plugins/wp-keys-giveaway/) for vbulletin?
Thanks in advance :)
fallen1087
03-02-2014, 03:43 PM
ye this mod will be nice if someone make it... :/
tbworld
03-02-2014, 09:23 PM
I really cannot tell what that plugin does. Can't you just post the keys in a sticky post or are these serialized; time sensitive keys that are generated?
BBNZowner
03-03-2014, 04:35 AM
From what I can see it fetches/generates a code for users from a database of codes available
Simon Lloyd
03-03-2014, 06:26 AM
Generating a key at a user request and storing it against their name would be fairly simple, you issue would come when you firstly want to check from your gaming software for the validity of a key generated in the forum, check that the users are the same (i.e no key sharing), check that it is valid (so checking if there are time or date constraints (i.e is it an expiring key)......etc
Anyway, you could create a plugin for a button in the users profile to create a random number and insert it in to a new column in the user table, a way of generating a unique key would be to use:
$key = md5(microtime().rand());
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.