PDA

View Full Version : Raffle Hack


evil kev
09-29-2005, 10:00 PM
what this hack does:
this hack is a raffle addition to a forum, it was created to a specifaction as a service request, and is now being released publicly, which may make it a little prohibiting to users trying to use it outside of its intended use. raffle tickets are earnt by users posting a certain amount of posts, if that user was referred by another user the user that referred them will gain the same number of tickets. raffle details are shown publicly by posts by a user specified to be the raffle bot, and by the number of raffle tickets a user has shown in their profile. raffles are set and edited in the admincp panel. a raffle can ended prematurely postponed or aborted. usergroups can be excluded from raffles aswell as forums. the templates that posts appear as can be edited too. postponed raffles will automatically add tickets into new raffles. aborted raffles tickets are destroyed and never drawn.

what is changed when this hack is installed?
there will be three new database tables. a number of new files need to be uploaded. 3 files and 2 templates need to be edited. each time a page with a postbit template is ran there will be 2 extra queries for the raffle system. the raffle is updated by the cron, which should be run once in a day minimum, but once an hour idealy, this can vary from 1 query to about 15+ if there are postponed raffles.

how to install
please see enclosed text file

software limitations
no uninstall is included.
software does not automatically edit files you must do it.
tested only on 3.0.8 and 3.0.7
raffle's can be theoretically edited unlimited times but will seem to appear unedited if max characters for a post are reached no more will be added.

credits:

programming - evil kev
design - sketch42 and evil kev

limited support provided. vb3.5 compatibility not currently planned

xug
10-01-2005, 02:42 PM
Hello, I hope you will convert it to vB 3.5, especially since vB went gold and most will step over as this is probably also a highly wanted addition, at least I want it so bad for my vB3.5 board.

sketch42
10-01-2005, 10:38 PM
Hello, I hope you will convert it to vB 3.5, especially since vB went gold and most will step over as this is probably also a highly wanted addition, at least I want it so bad for my vB3.5 board.

i have this installed on my board as i requested and everything is working tip top excellent hack

evil kev
10-06-2005, 12:34 PM
Hello, I hope you will convert it to vB 3.5, especially since vB went gold and most will step over as this is probably also a highly wanted addition, at least I want it so bad for my vB3.5 board.

currently i have very little time as i've got to do a lot of work to get my board running on 3.5. i might update this to 3.5 if i find myself with free time but i'm getting a lot of jobs at the mo and they have to take priority.

lazyseller
11-04-2005, 01:35 PM
Yeah been waiting for something like this for a while

WreckRman2
11-07-2005, 01:50 AM
The file edits need some work but nice hack... I had to manually look for all the code because my find program couldn't find it the way you have them listed.

jzewatsky
02-09-2006, 10:22 PM
Thank you so much! This is just what my board needed.

Wondering where I can view the top 10, 5, or 15 that is set up in the r_config.php file.

Thanks again!

skokarl
02-10-2006, 03:17 AM
sorry, i am from german ...

I don't understand what the hack do ... can anyone help me ?
picture ? tell it in german ?

thanks

paul41598
02-12-2006, 01:37 PM
sorry, i am from german ...

I don't understand what the hack do ... can anyone help me ?
picture ? tell it in german ?

thanks

Yah I don't understand what the point is of this hack. Need a more descriptive synopsis