Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MYPS Lottery v1.0
License is GNU/GPL attached inside extras folder.

Plugin Name: MYPS Lottery
Plugin Author: Jesse Labrocca
Plugin Website:
Plugin Version: 1.0
Plugin Mybb Compatibility: 1.2
Plugin File Edits: None
Plugin File Uploads: 9 (4 php,5 images)
Plugin Description: This plugin adds a lottery that is MYPS compatible to your mybb site.

Members can create their own lotteries
Admin can allow/disallow the house or the owner of a lottery to take a cut
PM notification to the winner at lottery completion
Group exemption setting
Can display ticket entries


1. Upload the files from the zip

2. Login to your admincp and ACTIVATE the plugin (MYPS Lottery) in the plugin manager.

3. You should set the options in admincp for the Lottery.

Screenshots are all available inside the extras folder.

This has FULL language support. If you wish to use non-english simply copy the lottery.lang.php to your language folder and change accordingly.


I can be reached at either as username LABROCCA

Thank you.
Jesse Labrocca

Attached Files
.zip   Less than 1 minute ago"> (Size: 181.58 KB / Downloads: 66)
Installed and in testing status. Big Grin

I did want to point out one thing I felt a bit odd. After you start a lottery or buy a ticket, you're given a response but you no longer can see the lotteries. In order to go back in you have to go back to the toplinks and click the link. Is there a way to have the response about buying a ticket or starting a lottery placed above the lottery itself? Just feels strange that after creating a lottery, you can't see it without having to go back into it. Just a possible suggestion for improved navigation. Big Grin

Also, there's no place in the lottery that you can tell how many MYPS points you have to know how many lottery tickets you can buy. Any thought of adding that to the plugin?
Yeah I will probably add a link to "return" to view the lottery you just entered or created. That will be easy to do.
First: Great plugin! Thanks a lot!

But one question. Wouldn't it be also nice to set a free end time( e.g. dec 24, 18.00 h) not only 1 day, 1 week etc..?

I also translated the lottery.lang.php in german-informal. If you want to use it?

Greets, lenkradschloss

Attached Files
.php   Less than 1 minute ago">lottery_german_du.lang.php (Size: 2.45 KB / Downloads: 2)
Yeah, i will try it.

On first look it seems like to be great.
tried it, and it works really fine, I´d like to have the redirection link too, and second I´d like to have the option to set a forum id in which after closing the bet a post will be generated " User X has won the lottery "lotteryname" and got the prize X. It would be the same like the feature in MyBet.

Would it be possible to use the standard date and time format from the forum for the "end time" format?

Would be great (especially for german users ;-) ). Thanks!

Yes just change the file /root/lottery.php.

Search for this:

"M j, Y g:i a"

Replace with this:

$mybb->settings['dateformat'] . " ". $mybb->settings['timeformat']

I will update the download file too.
Works great. Thanks!

I can't get it to show up in other themes besides the default.
and when i disable it the image thing doesn't seem to disapear

Possibly Related Threads...
Thread Author Replies Views Last Post
  Attachments issue related to MyPS Xtreme2damax 3 4,036 Aug 02, 2008, 03:49 AM
Last Post: labrocca
  Help for MYPS ! indiansword 2 3,366 May 04, 2008, 07:15 PM
Last Post: indiansword
  MYPS Slots Add-on labrocca 22 16,353 Mar 09, 2008, 03:40 PM
Last Post: NiCk Newman
  Game Add-on for MYPS cgc 2 2,882 Jan 08, 2008, 04:40 PM
Last Post: cgc
  myps Lottery (request) spikescot2005 3 3,321 Oct 20, 2007, 06:21 PM
Last Post: labrocca

Forum Jump:

Users browsing this thread: 1 Guest(s)