Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
MMLotto System Details »»
MMLotto System
Version: 1.00, by micheal332001 micheal332001 is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.5.5 Rating:
Released: 08-24-2006 Last Update: Never Installs: 7
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

Downloads for this modification have been removed according to Official Policy: When Security Vulnerabilities in Hacks are Found

MMlotto is a lotto system.

This lotto system will let your members choose 5 numbers for the lotto.
The cron job will randomly choose 5 numbers and find all the winners for matching 3, 4 and 5 numbers.
matching 5 numbers is the jackpot.

This lotto system uses ucash, vbplaza and any other points system.

ADMINCP

Lotto Settings

Lotto On/Off?
Site URL
Cash System To Use
Cost Per Game
How Many Lotto Tickets

users tickets
Lotto Rules
Add New Rule
Lotto Menu
Add New Menu Link
Lotto Results

USERS

Buy Lotto Ticket
Lotto Ticket List
Lotto Jackpot Winners List
Lotto Match 4 Number Winners List
Lotto Match 3 Number Winners List
lotto Rules

When you have installed the product.xml file it will add the cron job this can be changed by going to your
Scheduled Tasks
Scheduled Task Manager
and look for the MM Lotto Results
and change it to the time and date you want the job to run the lotto resultes.

Will add more here very soon.

There is no read me files at this time but will be added.

To install this mod just goto your Plugins & Products
Manage Products
And select the product-mmlotto1.xml file
Allow Overwrite set to no

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-26-2006, 08:21 AM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #13  
Old 08-26-2006, 01:07 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can the author give us any ideas as to what further additions he`s got in the pipeline for this?

id have this as hack of the month if we could vote for it!!
  #14  
Old 08-26-2006, 08:21 PM
Mysticales's Avatar
Mysticales Mysticales is offline
 
Join Date: Oct 2005
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Btw it doesnt confirm with vbbux to ensure the user HAS enough points. It makes them go into the negative.
  #15  
Old 08-26-2006, 11:48 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mysticales
Btw it doesnt confirm with vbbux to ensure the user HAS enough points. It makes them go into the negative.
noticed that while testing it this morning, i ended up with -32k points....lol
  #16  
Old 08-27-2006, 04:54 AM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gizmo5h1t3
noticed that while testing it this morning, i ended up with -32k points....lol
I will have alook into this and sort out a fix for it.
  #17  
Old 08-27-2006, 04:56 AM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gizmo5h1t3
can the author give us any ideas as to what further additions he`s got in the pipeline for this?

id have this as hack of the month if we could vote for it!!
Im not sure what i will be adding into this as yet but if you have any ideas please post them here.
  #18  
Old 08-27-2006, 08:11 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

id be happy just to have the 3.5 version follow the development of the 3.6 version.....

noticed an update in the 3.6 for admin cp options, percentages etc??

nice work man, this is a seriously good hack
  #19  
Old 09-02-2006, 08:23 AM
Foxsake Foxsake is offline
 
Join Date: Apr 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im a bit new to all of this, and need a little guidance if you can please.
I have installed this, and

i cant get it to show in the nav bar? - i can only see it if i type www.mysite/forum/mmlotto.php
secondly i want it to work using vbookie cash - i have set the setting to use vcash but say i have none?

this may be a really simple fix and seem simple but to me its bang head really hard at the brick wall time.

if anyone can help, thank you very much in advance

Cheers

Foxsake
  #20  
Old 09-02-2006, 11:30 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi in navbar template
Find:
Code:
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
add this code either above or below
Code:
<td class="vbmenu_control"><a 
href="http://www.yoursite.com/forum/mmlotto.php$session[sessionurl]"><b>Lotto</a></td>
where the your site is highlighted replace with the link to your board.

As for vCash it doesnt seem to work so you will have to install another cash system eg: qccash,vbbux,or ucash
  #21  
Old 09-02-2006, 04:47 PM
Foxsake Foxsake is offline
 
Join Date: Apr 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for trying to help Rickie, i have sussed it though and its all working with vbookie - the cash system is vbookie_cash not vcash

Thanks for all your help
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07773 seconds
  • Memory Usage 2,307KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete