Author Topic: SMF Lottery Mod  (Read 91264 times)

Offline Geolion1

Re: SMF Lottery Mod
« Reply #45 on: May 24, 2008, 04:24:02 am »
I just registered in your site but can post.
I have a question, do I need to set up a cron job for 1.0.1?
Thanks, and if I do am I supposed to do it daily or weekly?
Thanks again.

Offline dico

Re: SMF Lottery Mod
« Reply #46 on: June 28, 2008, 11:57:40 am »
i dont see any of this:

Special page within main shop for the lottery
-Allows users to see the tickets they have entered for the current drawing
-Allows users to see their previously entered tickets and whether they have won or not
-Allows users to see previous drawings and the winners


^its not showing on my 1.1.5


Offline damo3933

Re: SMF Lottery Mod
« Reply #47 on: July 22, 2008, 07:48:56 am »
Ok people,  a n00b at forum stuff, so i was wandering if anyone could help me set up when the lottery drawings are ... i dont have a clue how to do this!

any help is appreciated, many thanks

damo3933

Offline darkacex

Re: SMF Lottery Mod
« Reply #48 on: July 26, 2008, 09:46:50 am »
lol the website got shutdown. any1 have 1.01?

Offline Toups

Re: SMF Lottery Mod
« Reply #49 on: July 27, 2008, 06:26:37 am »
lottery drawing balls are going in numeric order.. if someone picks balls 5,3,6,2 it will take it as 2,3,5,6.  Same thing for the winning balls.. if it was actually 8,5,9,2 it would set the winning balls as 2,5,8,9... any way to fix this?

Offline bocco

Re: SMF Lottery Mod
« Reply #50 on: July 30, 2008, 08:02:32 am »
why does it matter, the person will still win.... its something that should not matter...


Offline Toups

Re: SMF Lottery Mod
« Reply #51 on: July 30, 2008, 08:34:59 am »
why does it matter, the person will still win.... its something that should not matter...



Umm... because it's not going in the order that they pick them in.. nor is it going in the order it is drawn in = not like a lottery at all..

Offline bocco

Re: SMF Lottery Mod
« Reply #52 on: July 30, 2008, 11:48:12 am »
why does it matter, the person will still win.... its something that should not matter...



Umm... because it's not going in the order that they pick them in.. nor is it going in the order it is drawn in = not like a lottery at all..

I understand what you are saying, but i thinks  its something that should not matter, maybe its cause of the array... So from what i can understand about PHP
Look for this

// Sort array
array_multisort($winning,SORT_ASC);

and do this

// Sort array
//array_multisort($winning,SORT_ASC);

----------------------
that above code will cancel out the sort.  I have not tested this yet.

Offline Nascar

Re: SMF Lottery Mod
« Reply #53 on: August 04, 2008, 12:51:06 am »
Stupid question:

Where do I start the drawing?

Offline bocco

Re: SMF Lottery Mod
« Reply #54 on: August 05, 2008, 06:45:43 am »
must use a crons job

Offline bocco

Re: SMF Lottery Mod
« Reply #55 on: August 05, 2008, 06:51:47 am »
Is there a way to make it so that there is a winner all the time.

something like if there is no winner, then draw again till winner appears

Offline Riey

Re: SMF Lottery Mod
« Reply #56 on: August 22, 2008, 09:28:24 am »
when the lottery and has just one member receives the credits?

Offline Riey

Re: SMF Lottery Mod
« Reply #57 on: August 22, 2008, 09:40:16 pm »
eu gostava de saber quando a lotaria acaba! e há um vencedor! Estou a testar ma não vejo maneira de ela acabar e eleger um vencedor! obrigado!




I wonder just when the lottery! and there is a winner! I do not see the test ma way to stop it and elect a winner! thanks!



« Last Edit: August 22, 2008, 10:46:33 pm by Riey »

Offline Riey

Re: SMF Lottery Mod
« Reply #58 on: August 26, 2008, 07:24:17 am »
I wonder just when the lottery! and there is a winner! I do not see the test ma way to stop it and elect a winner! thanks!


 :-X

Offline MeowMommy

Re: SMF Lottery Mod
« Reply #59 on: January 05, 2009, 09:39:32 pm »
for the drawing, you would setup a cron or manually run the file to complete the lottery

Could someone tell me how to manually run the file?

Thanks!  :)