The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Contest Hack -- Points hack addon Details »» | |||||||||||||||||||||||||
This is basically a hack addon to the points hack that allows users to use their points, similar to the lottery hack by Lesane for the store hack, to purchase tickets that can be used in random (or rigged.) drawings.
It has a decent admin cp interface, letting you edit/modify/delete contests, etc. and also has the option to pick a random winner. Here's install instructions... 1. Run these SQL statements: Code:
CREATE TABLE `contest_contests` ( `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` TEXT NOT NULL, `price` TEXT NOT NULL, `open` TEXT NOT NULL, `winner` TEXT NOT NULL, INDEX (`id`) ); CREATE TABLE `contest_entries` ( `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY, `userid` TEXT NOT NULL, `contestid` TEXT NOT NULL, INDEX (`id`) ); 3. Extract contest.php to your forum directory. 4. In admin/index.php: Find: Code:
makenavoption("New Posts","../mod/moderate.php?action=posts","<br>"); makenavoption("New Attachments","../mod/moderate.php?action=attachments"); makenavselect("Moderation","<hr>"); Code:
// ************************************************* makenavoption("Add","../mod/points.php?action=newcontest","|"); makenavoption("Modify","../mod/points.php?action=modifycontest", "|"); makenavoption("Draw","../mod/points.php?action=drawwinners", "|"); makenavoption("Past Winners","../mod/points.php?action=viewwinners"); makenavselect("Contests"); P.S.: This originally started as a hack I custom-wrote for a forum, but after some consideration, I decided to release it here to everybody. Links and Donations are greatly appreciated. P.P.S.: This is my first hack that's released here, so if you see problems, be sure to let me know. If you want each user to be able to only have one entry, view post number 19 Show Your Support
|
Comments |
#22
|
|||
|
|||
I have some questions. No where does it say who actually one on the forums. Only the admin area tells you. Wouldn't it be cool if the whole board new. No where does it say who one. That would be a great update if you could add that.
|
#23
|
||||
|
||||
If everyone knew who was in a contest, it would spoil the part where the user decides if the risk is big enough for him/her to risk the points on.
Also, for announcing the winner, that's your job. |
#24
|
|||
|
|||
but wait a sec i am lost. Can u explain how this hack works in description. What is there is there 100 winners? lol. Or am i thinking this hack does something else.
|
#25
|
||||
|
||||
This is a contest hack. It allows you to create contests that your members can enter in.
You may have multiple contests, but each contest can only have one winner. |
#26
|
|||
|
|||
I am so tired hahah. Can you give me an example of a contest. Like name a contest and the question. Thanks haha. Because I odn't no how to use this hack.
|
#27
|
||||
|
||||
Do you know what a contest is? It has nothing to do with questions.
Please go to http://www.dictionary.com to look it up. Thanks, Alex |
#28
|
|||
|
|||
so then how is this hack any different than the lotto hack?
|
#29
|
||||
|
||||
omg... if you don't want to use this hack, nobody's forcing you to. If you want to complain about work that others have made and have worked hard on, then complain to your psychiatrist, please.
Thanks, Alex |
#30
|
|||
|
|||
No i am not complaining at all. I never complain about someones hard work. I am trying to simply ask how this hack works and if i can have an example of how one of you guys use it because I have no clue how to use it and how to impliment it in my board to have other people t use it. I want to use it so i am trying to ask how to work this. Thanks. Sorry if i sounded mean or anything. I wasn't.
|
#31
|
|||
|
|||
Ok i get it now. I was thinking really hard and now i feel dumb haha. This is a great hack and I am using it now. Thanks so much. All I was doing is trying ti figure out how to get it done thanks.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|