Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Jujubins Lottery Details »
Jujubins Lottery
Mod Version: 2.1.3, by jujubins (Member) jujubins is offline
Developer Last Online: Jun 2013 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (5 votes - 4.20 average) Installs: 71
Released: 11 Jan 2009 Last Update: 30 Oct 2009 Downloads: 548
Not Supported DB Changes Uses Plugins Template Edits Auto-Template Additional Files Translations  

Coder(s): jujubins (Nando)

Compatibility: 3.6.x, 3.7.x, 3.8.x

Product Info:
Files to upload - 2
Files to import - 1
Templates - 8
Plugins - 2
Phrases - 33

Languages:

English
Portuguese

Purpose:
Drawn awards for your forum users or if you want, just to one usergroup.

How it works:
The users whom have permission to participate, those who have more than "x" posts, registered before "y" and members of "z" group, can take one ticket for day, until the day you set your scheduled tasks of your forum to close the lottery and drawn. As soon as drawn, there will be a congratulation message to the winner and disseminating him.


Demo: http://forum.glords.com/lottery.php

Installing:
  1. Upload the files in the forum folder to your vBulletin root.
  2. Import the product_jlottery.xml via Product Manager system.
Upgrading:
  1. Upload the files in the forum folder to your vBulletin root.
  2. Import the product_jlottery.xml via Product Manager system.
Setting:
Go to Admin CP > vBulletin Options > Jujubins Lottery and type in the fields:
  • Enable: Set this option to yes to enable Jujubins Lottery.
  • Topic: Topic ID with details of the lottery.
  • Members Allowed: This option prevent new users to participate in the lottery. Only users before the date chosen could participate. Use Unix time.
  • Posts Required: Number of posts required to participate.
  • Usergroups Allowed: Usergroups allowed to participate. Separate with comma the usergroups.
  • Round tickets:Example:
    14 tickets will appear 20 tickets.
    34 tickets will appear 40 tickets.
  • Moderators: Now you can choose the moderator's group to reset in the lottery's page
  • Post the winner? Automatically post the winner in thread.
  • Poster userid: The userid that will post the congratulations.
  • Post message: Post message.
    Variables: {winner}, {ticket}, {hour} and {date}
To change the date of the lottery go to Admin CP> Scheduled Taks> Scheduled Task Manager> Jujubins Lottery and modify the fields of the Day of month, Hour and Minute.


Requirements:
PHP 4.3.3 and MySQL 4.0.16 or later.

History:
v0.5.0 - Dec 29. 2008
First Release
v0.7.0 - Dec 31. 2008
Added Phrases
Added option to reset when repeated the scheduled task
v0.7.1 - Jan 01. 2009
Correction in the variables of phrases
Correction in pharses
Added language in Portuguese
v0.8.0 - Jan 10. 2009
Added option to choose which usergroups can participate
Compatible with version 3.8.0
v1.0.0 - Jan 11. 2009
Added auto-link in the quick links, pop-up of community and navbar
Added option of types of drawn, "per day", "per drawn", "without limits"
v1.1.0 - Jan 12. 2009
Fixed: SQL table prefix
v1.2.0 - Jan 12. 2009
Added "see all" tickets link
Added option to enable link to see all tickets
v1.2.5 - Feb 1. 2009
Fixed: Show winners
v1.2.6 - Feb 6. 2009
Fixed: Winner link (member.php)
v1.2.6 - Feb 6. 2009
Fixed: Winner link (member.php)
v2.0.0 - Out 27. 2009
Re-writted the mod's intire code
Simplified code
SQL with fewer fields
2 new settings: Round tickets and moderators
Now you reset in lottery's page
Fixed: All known bugs
v2.1.0 - Out 29. 2009
Added: Automatic congratulations post in the thread (editable) (thanks paul41598)
Fixed: Some insignificant bugs
v2.1.1 - Out 30. 2009
Fixed: Posts limit (thanks pipibunny)
v2.1.3 - Out 30. 2009
Fixed: Usergroups colors in "See all" (thanks kalisekj)
Fixed: Links in menu (thanks kalisekj)
Fixed: Reset link to moderators (thanks kalisekj)
Fixed: Update version 2.0.0 to above will not reset your lottery (thanks kalisekj)

Quick support in english/portuguese: http://forum.glords.com/showthread.php?t=8927


Originally Posted by jujubins View Post
I apologize to everybody who have donwloaded and waited for the Jujubins Lottery's updates. Today, I've re-writted the mod's intire code, making it simplier and with an easy lecture. I've tested it and no bug was found, I ask for help for everyone of you to make it better.
I promise that, starting from today, I'll be giving support about the mod.

The version 2.0.0 have been lauched, and it's in the topic.


Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	taketicket.jpg
Views:	552
Size:	54.8 KB
ID:	105742   Click image for larger version

Name:	newticket.jpg
Views:	539
Size:	73.5 KB
ID:	105743   Click image for larger version

Name:	alltickets.jpg
Views:	579
Size:	39.6 KB
ID:	105744   Click image for larger version

Name:	tickets.jpg
Views:	612
Size:	75.8 KB
ID:	105745  

Click image for larger version

Name:	reset.jpg
Views:	504
Size:	55.0 KB
ID:	105746  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #46  
Old 02 Apr 2009, 19:15
kaderith kaderith is offline
 
Join Date: Jun 2004
Originally Posted by Rob Hephner View Post
I can't figure out how to clear tickets from the previous lottery, it seems they just stay.

How can I make it start with a clean slate each time.

Thanks

The only way I've been able to clear the tickets from previous drawings is to use phpMyAdmin and manually empty the 'jlottery' table which holds the tickets. Its a little bit of a pain but, since we wanted to offer bi-monthly and sometimes weekly drawings with prizes for our group members this was the best way to do it and not have to worry about someone accusing the moderators and administrative staff of picking "favorites" for the winners.

I am still having the problem with the "Number of posts required to participate." option, in that even though its set for 0 posts, it members have to post at least once in order to be able to get a ticket for the current drawing. I think that what is happening is that its set so that it thinks members must have more than X number of posts, so if you set it for 0 thinking you're effectively disabling the minimum number of posts required what is happening is the thing is viewing it as "must have more than X posts" to participate so its still going to give the 'You are not allowed to participate' message until someone posts once. (It is operating I think, with the parameter set to require more than X number of posts, so if you put in 0 its telling the script users must have more than 0 posts (ie at least 1) in order to take part).

Which is fine, except for those members of our group (which is a crafting/crochet/knitting group) who are too special to read the instructions posted regularly at our YahooGroups mailing list, and which are posted on the board itself.. don't bother to read any of the information there and just complain that they can't get it to work. :P

If there's someone out there who knows how to write the code, can look at the information in the php files and figure out how to change that section so that it works as it should that would be great. I've tried, but I have a way to go and each time I tried to modify the code all I did was break it and have to revert back to the backup copy to get things working again.

I'm willing to just leave it with members having to post at least once in order to take part. What I would really like to be able to do is run more than one drawing at the same time. If there was a way to be able to offer more than one drawing running concurrently that would be a huge plus for our group.

Last edited by kaderith; 02 Apr 2009 at 19:31.
Reply With Quote
  #47  
Old 19 Jun 2009, 01:24
ragarcia87's Avatar
ragarcia87 ragarcia87 is offline
 
Join Date: Jun 2009
Real name: Ryn Garcia
Thank you. Insalled

Last edited by ragarcia87; 19 Jun 2009 at 01:39.
Reply With Quote
  #48  
Old 09 Jul 2009, 07:18
Jhonnydc Jhonnydc is offline
 
Join Date: Oct 2008
problem...

One question... i have installed this mod but i see the error in attach...

How can resolve it???

Attached Images
File Type: jpg Immagine.jpg (64.2 KB, 218 views)
Reply With Quote
  #49  
Old 10 Jul 2009, 02:19
Silver740 Silver740 is offline
 
Join Date: Jan 2003
Very promising. Will reserve this until problems are fixed.
Reply With Quote
  #50  
Old 10 Jul 2009, 07:08
Jhonnydc Jhonnydc is offline
 
Join Date: Oct 2008
Ok.. thanks... another question for this problem...
The permission of the files in ftp...
I have 755 for all files and folders that i have upload... is it correct???
Reply With Quote
  #51  
Old 10 Jul 2009, 14:55
ragarcia87's Avatar
ragarcia87 ragarcia87 is offline
 
Join Date: Jun 2009
Real name: Ryn Garcia
I've moved my website to a different server and now when I go to /lottery.php all I see is a white page. Any help would be appreciated.
Reply With Quote
  #52  
Old 26 Jul 2009, 23:25
LilPimp's Avatar
LilPimp LilPimp is offline
 
Join Date: Dec 2003
awsome ive been looking for this for awhile .. you are the man.
__________________
The Greatest Orlando Magic Fan Website in the World!!!!! Magic Videos, Wallpapers, News, Bios, Forum, even an orlando Magic store!

http://www.orlandomagicfans.net
Reply With Quote
  #53  
Old 09 Sep 2009, 08:12
Jhonnydc Jhonnydc is offline
 
Join Date: Oct 2008
news???
Reply With Quote
  #54  
Old 09 Sep 2009, 14:52
JTS2005 JTS2005 is offline
 
Join Date: Aug 2007
anyway to incorporate paypal system so that we can charge per # of tickets bought? I think this would be a great idea for those that need a way to sell lottery tickets.
Reply With Quote
  #55  
Old 22 Sep 2009, 04:17
kaderith kaderith is offline
 
Join Date: Jun 2004
So...did the developer for this just.. I dunno die or what?

This script has issues...like..now.. after upgrading to the 3.8 version of vBulletin..

It doesn't work anymore. It won't pick a winner.

Is the developer for this going to address any of the many questions posted or .. should we all just uninstall and consider this a lesson learned?
Reply With Quote
  #56  
Old 25 Sep 2009, 18:00
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
I'd like to pick this up and work on it if the author doesn't mind. I've already solved a few issues

Last edited by paul41598; 25 Sep 2009 at 18:32.
Reply With Quote
  #57  
Old 25 Sep 2009, 19:10
TheChaosFactor TheChaosFactor is offline
 
Join Date: Sep 2009
Originally Posted by paul41598 View Post
I'd like to pick this up and work on it if the author doesn't mind. I've already solved a few issues
That'd be awesome. I have so many uses for this, but I'm not installing an unsupported piece of software that obviously doesn't work right already. My forum is too new to be introducing features that don't even work right. Especially when I'm considering using it for cash prizes.

Talk about back lash.
Reply With Quote
  #58  
Old 12 Oct 2009, 18:05
kalisekj kalisekj is offline
 
Join Date: Dec 2006
Paul Please Do Since the author has been MIA for over 8 months. My First Lottery will end on the 30th and I'd hate to run into some of these issues listed. Thank You!
Reply With Quote
  #59  
Old 17 Oct 2009, 09:55
mhackl mhackl is offline
 
Join Date: Sep 2006
Can't wait to see this one up and running. This could be very useful this Christmas.
__________________
vBulletin® Version 4.0.1 | PHP version 5.2.2 | Mysql version 5.0.24a | Netfirms "Enterprise One" Hosting
Reply With Quote
  #60  
Old 26 Oct 2009, 16:16
kaderith kaderith is offline
 
Join Date: Jun 2004
Originally Posted by paul41598 View Post
I'd like to pick this up and work on it if the author doesn't mind. I've already solved a few issues
Definitely! Please do.. I'd love to have this working with less bugs on my board.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 09:30.

Layout Options | Width: Wide Color: