Quote:
Originally posted by trainer
ok have a question... my site has over 10k members and about 1/2 are not active. is there a way to pick a winny out of the tickets sold rather then from all the members. couple be weeks before someone wins.
also how does this stop people from creating bogus accounts just to buy another ticket?
great idea just thinking aloud...
|
1. Find this part in storeadmin.php:
PHP Code:
$findus=$DB_site->query_first("SELECT * FROM user ORDER BY RAND() desc LIMIT 1");
And change it to:
PHP Code:
$findus=$DB_site->query_first("SELECT * FROM storelottery WHERE lotnumber=2 ORDER BY RAND() desc LIMIT 1");
2. Tell them this:
https://vborg.vbsupport.ru/showthrea...594#post263594