vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Raffle Hack (https://vborg.vbsupport.ru/showthread.php?t=97254)

evil kev 09-29-2005 10:00 PM

Raffle Hack
 
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

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

evil kev 10-06-2005 12:34 PM

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.

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

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


All times are GMT. The time now is 07:29 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01008 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete