Version: 1.00, by Lesane
Developer Last Online: Oct 2004
Version: 2.2.x
Rating:
Released: 06-18-2002
Last Update: Never
Installs: 119
No support by the author.
Info:
This addon for the store hack gives you the ability to add a Lottery on your store. A lottery with the same principles as a normal lottery. Users buy a lottery ticket in the store and after the specified enddate you or any other admin execute the lottery script in the admincp wich search for a random user from the database and checks if the user bought a ticket and if so then he will receive the jackpot if not then the lottery stays online.
The jackpot will be increased with the amount of the lottery ticket everytime when a new member buy's a ticket.
What to do:
2 Query's: 1 new table, 1 new row.
3 File Edit's: Admin/Index.php, Store.php & Storeadmin.php
1 Template Edit: Store_bit
2 New Templates: store_lottery_error & store_lottery_updated
Some Features:
- A new action on the store: Lottery
- Winner will be picked randomly
- Winner will be pm'ed with a winner's message
- Losers will be pm'ed with a loser's message
- Define Start Date of the lottery
- Define End Date of the lottery
- Define title of the lottery
- Define the amount of a ticket
- Maximum of 1 Ticket Per User
- And more....
This lottery addon will only work with the latest version of the store hack and is compatible with any Vbulletin 2.*.* version.
Have fun with the addon,
Lesane.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
No, one of the admins need to do that in the admincp.
Make this automatically please... In my board ~200 members, and when i click "Pick winner" i see winner, but this member don't buy lottery ticket... Help me please with this...
Originally posted by inetd
[B]yes.
Lesane, help me please:
Make this automatically please... In my board ~200 members, and when i click "Pick winner" i see winner, but this member don't buy lottery ticket... Help me please with this...
Important:
I'm not be able to give support anymore till August, 2. I'm going on vacation to Turkey for 2 weeks and once back in Holland i prepair for my 2nd vacation to Greece for 2 weeks.
On my board...When lottery ends and no winner is chosen the people formerly in the lottery are still included in the lottery. shouldn't the users be reset when the lottery ends i.e. the ticket expires?
will it be possible to setup Multiple Lottery like, 1 lottery for each day, my members like this alot and having the set the lottery every time one ends is ok, but I rather have a lottery schedule set up
Originally posted by Limpkinw On my board...When lottery ends and no winner is chosen the people formerly in the lottery are still included in the lottery. shouldn't the users be reset when the lottery ends i.e. the ticket expires?
Thanks.
Lesane stated a few posts back that the winner is NOT automatically chosen. An admin must go in to the Lottery options within the control panel and pick the winner.
Quote:
quote:
Originally posted by Mist
does it automatically pick the winner on the day u set to end the lottery???
Quote:
Originally posted by Lesane:
No, one of the admins need to do that in the admincp.
This will reset all the values of the lottery and remove it from the Store view.