
08-26-2006, 08:21 AM
|
 |
|
|
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Mysticales
Fyi, If you wanna start "higher" for your lottery. Do this, Uninstall your mmlotto product.
Then edit the xml file.
Find in the code
Code:
$db->query_write("INSERT INTO ".TABLE_PREFIX."mmlotto_payouts VALUES
and change to
Code:
$db->query_write("INSERT INTO ".TABLE_PREFIX."mmlotto_payouts VALUES (X, Y, Z)");
X = 5 Match
Y = 4 Match
Z = 3 Match.
Then in your cron job php file, you need to edit those values to match the ones in the xl you set. Using the info from this post https://vborg.vbsupport.ru/showpost....40&postcount=4
Then install the product, when you get to the main mmlotto page now, your fields for payout will be setup correctly for the 1st time use, and if someone wins, it will reset to the values again.
I would like to add, that making a option in the AdminCP to "reset lottery" to reset the values should be added, shouldnt be too hard, same time make a field for "3 matches, 4 matches, 5 matches" to have in admincp a way to define the payouts, then when you did reset, it would change the SQL Table to match. Then all one had to do is figure out how to avoid the cron job dependancy to reset the values.
|
thanks for the info, did as you stated, and it worked fine....
again....thanks.
michael, this hack is a cracker mate...much better than the vbplaza standard lottery
|