vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Raffle for forums members (https://vborg.vbsupport.ru/showthread.php?t=48511)

SVTBlackLight01 02-04-2003 11:55 AM

Raffle for forums members
 
I did a search, but coudn't find anything.

Is there a hack that would allow a random drawing from the member database so that forum members can win prizes?

I want to set up a system where my members can win gift certificates etc. from some of my sponsers.

filburt1 02-04-2003 02:01 PM

It's really simple so I don't know if you even want a hack. Just try this query:
[sql]
SELECT userid, username FROM user ORDER BY RAND() LIMIT 1
[/sql]

SVTBlackLight01 02-04-2003 08:41 PM

That was too easy.

Here is a challenge. How would you make it so that the "odds of winning" would increase by post count?

SVTBlackLight01 02-12-2003 02:40 AM

Come on!! Nobody wants to give it a try? I think this would be cool. :cool:

EchoHype.com 02-12-2003 05:27 PM

Hey SVT

I am working on a custom mod for my boards which will take into account(and increase their chances of being pulled) by: referrals, posts, threads started, activeness on the boards, etc. It will also deduct a percentage for spamming, warnings, problems, etc.

So if I decide to release it publicly I"ll let you know!

SVTBlackLight01 02-12-2003 09:35 PM

That sounds great! Exactly what I was looking for. Let me know when you get it working. :banana:

SVTBlackLight01 04-17-2003 10:15 PM

Quote:

02-12-03 at 07:27 PM EchoHype.com said this in Post #5
Hey SVT

I am working on a custom mod for my boards which will take into account(and increase their chances of being pulled) by: referrals, posts, threads started, activeness on the boards, etc. It will also deduct a percentage for spamming, warnings, problems, etc.

So if I decide to release it publicly I"ll let you know!

Any update on this? :)

Alien 04-19-2003 11:23 PM

I'd love to see this too. :)


All times are GMT. The time now is 04:42 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.02371 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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