Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - YamiKaitou

Pages: 1 [2]
16
Modifications / Re: SMF Lottery Mod
« on: October 27, 2007, 01:15:02 am »
The hell is the cron job? I won't download this because i don't wanna do that. Pitty i really liked the look of this mod too.

Then do it the same way that you do your shops interest. The file is Sources/shop/LotteryDraw.php

17
Modifications / SMF Lottery Mod
« on: October 25, 2007, 10:41:09 am »
Information
Project Name: SMF Lottery System
Author: Yami Kaitou
Version: 1.0.1


Features

Adds a Lottery feature to SMF Shop 3.0
Shop Admin can set the following variables dealing with the tickets
-Amount of tickets per user
-Percentage of cost of ticket to be added to jackpot
-Range of the balls (example 1-10)
-User the winner PM comes from (0 will be a special guest)
Jackpot will always have a minimum of 1000
To win the lottery, a user must match all 4 balls
By default, drawings can only happen once every 6 days
Drawings can either be done by a cron or by manually going to the script (see FAQ for details)
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

Bug Fixes

Jackpot resetting back to 1000 when nobody won.
Jackpot not resetting when someone did win.

FAQ
http://forums.projectyami.com/showthread.php?t=4

Website
http://forums.projectyami.com/forumdisplay.php?f=17



NOTE
I will prefer if you report bugs and feature requests at the website as I want to keep track of my progress, and the fact that I check there more often than here. Also, the attached file may not always be the latest version. So, make sure you check the site for updates as well. I will try to keep this topic up-to-date, but I can't be certain that it always will be.



To Upgrade to 1.0.1 from 1.0.0
Look here, simple and easy way to upgrade without having to install the new package.

18
Items / Re: Item request: Lotery
« on: October 25, 2007, 04:40:56 am »
Yeah, true. I will post it there. Everything that I wanted for it is done (for the most part), but I am allowing people to request new features to be added to the mod. I think I was going to post it there earlier and just forgot about it, lol

19
Items / Re: Item request: Lotery
« on: October 23, 2007, 03:28:12 am »
Well, you can always use the one that I completed last week. You can find it at http://projectyami.com/forums/index.php?board=3.0

20
Bugs / Re: Not getting Intrests
« on: October 22, 2007, 02:29:43 pm »
Did you create a cron to run the interest script? Have you tried manually running the interest script?

21
General SMFShop Discussion / Re: Cron Error
« on: December 18, 2006, 02:10:50 pm »
Okay, that worked. Thanks

22
General SMFShop Discussion / Re: Cron Error
« on: December 15, 2006, 02:06:18 pm »
Nope, same email. The file does exist in the correct place. Maybe the file permissions? It was set to 644, just changed it to 755, will have to wait 23 hours before it attempts it again

23
General SMFShop Discussion / Cron Error
« on: December 12, 2006, 02:59:11 pm »
I have everything set up correctly for the bank interest and I have it set to email the main account and this is what the email contains

Subject: Cron <yamik@ciroc> /usr/bin/php -q /home/yamik/public_html/forums/Sources/shop/dointerest.php > /home/yamik/public_html/fourms/interest_log.htm
Body: /bin/sh: /home/yamik/public_html/fourms/interest_log.htm: No such file or directory

Pages: 1 [2]