Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
Raffle Hack Details »»
Raffle Hack
Version: 1.00, by evil kev evil kev is offline
Developer Last Online: Mar 2018 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 09-29-2005 Last Update: Never Installs: 3
DB Changes Template Edits
Code Changes Additional Files  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-01-2005, 02:42 PM
xug xug is offline
 
Join Date: Oct 2001
Location: The Grand Strand, SC
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 10-01-2005, 10:38 PM
sketch42's Avatar
sketch42 sketch42 is offline
 
Join Date: May 2004
Location: Brooklyn, NY
Posts: 361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xug
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
Reply With Quote
  #4  
Old 10-06-2005, 12:34 PM
evil kev evil kev is offline
 
Join Date: May 2004
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xug
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.
Reply With Quote
  #5  
Old 11-04-2005, 01:35 PM
lazyseller lazyseller is offline
 
Join Date: Oct 2003
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah been waiting for something like this for a while
Reply With Quote
  #6  
Old 11-07-2005, 01:50 AM
WreckRman2 WreckRman2 is offline
 
Join Date: Dec 2001
Location: Indianapolis, IN
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 02-09-2006, 10:22 PM
jzewatsky jzewatsky is offline
 
Join Date: Nov 2004
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #8  
Old 02-10-2006, 03:17 AM
skokarl skokarl is offline
 
Join Date: Apr 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry, i am from german ...

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

thanks
Reply With Quote
  #9  
Old 02-12-2006, 01:37 PM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by skokarl
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
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 08:02 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04494 seconds
  • Memory Usage 2,273KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete