PDA

View Full Version : Pick Random User


filburt1
04-19-2003, 10:00 PM
This hack lets you pick a random user given a minimum number of posts and by usergroup. This is helpful for forums with raffles and other similar features.

filburt1
04-20-2003, 07:25 PM
Screenshot:

filburt1
04-20-2003, 07:25 PM
randomuser.php:

N9ne
04-20-2003, 07:26 PM
Nice, keep em comin', this is yet another good one...:)

Dean C
04-20-2003, 08:06 PM
Very good idea burty :p!

- miSt

Xyphen
04-20-2003, 10:11 PM
yay!! Nice, i'll start a online Lottery now, lol

Red Blaze
04-20-2003, 10:44 PM
Alright, this is cool, I could use this to make a member of the month now. XD

Xyphen
04-20-2003, 10:59 PM
You can use the hack called Member of the Week or Moment or Month to do that, rofl.

ULTIMATESSJ
04-20-2003, 11:33 PM
could this be added into the mod cp, so that mods could do this

filburt1
04-20-2003, 11:34 PM
Just upload the file there.

Logik
04-22-2003, 12:55 AM
Nice hack. This can eventually be put into alot of other hacks.

subu1
04-22-2003, 06:22 AM
04-20-03 at 08:24 PM filburt1 said this in Post #1 (https://vborg.vbsupport.ru/showthread.php?postid=384738#post384738)
with raffles and other similar features.

hi filburt1, i am from Germany and i don't understand you. What is raffles :(

gr??e subu1

ryancooper
04-22-2003, 06:18 PM
This was too easy to pass up!! Installed Thanks.

Hey BTW any way we cna do it so it only picks from the users that posted in the last X days?

MUG
04-22-2003, 06:34 PM
Today at 02:22 AM subu1 said this in Post #12 (https://vborg.vbsupport.ru/showthread.php?postid=385432#post385432)
hi filburt1, i am from Germany and i don't understand you. What is raffles :(

gr??e subu1

A raffle is like a lottery, where people buy a chance to win a prize.

Buffalo
04-22-2003, 07:18 PM
Is there a way to "weight" certain users???

either percentage or amount or both, whatever

SVTBlackLight01
04-26-2003, 10:23 AM
04-22-03 at 09:18 PM Buffalo said this in Post #15 (https://vborg.vbsupport.ru/showthread.php?postid=385637#post385637)
Is there a way to "weight" certain users???

either percentage or amount or both, whatever

I would like to see something like this too, but this is still a great hack. :D

Sufian
04-30-2003, 02:52 AM
Cool :) Thanks.

filburt1
04-30-2003, 02:53 AM
There's no simple way that I know of, but then again it wouldn't be random, now would it?

wolfman
05-07-2003, 03:33 PM
Well I am going to install this nice hack some time soon, time permitting :) The only thing I would not mind seeing also is to add user has posted since a certain date or certain number of days. I know many admin just never delete accounts that are not being used just to have a large number of users :) I remove mine and do not display how many users are registered.

Stu
05-24-2003, 11:41 AM
05-07-03 at 05:33 PM wolfman said this in Post #19 (https://vborg.vbsupport.ru/showthread.php?postid=392744#post392744)
The only thing I would not mind seeing also is to add user has posted since a certain date or certain number of days.
Yes this would be great, as I have members going away for weeks at a time and it would be great to only include members active in the last week or so.

Looking Good :classic:

chrisvonc
04-09-2004, 12:08 PM
Nice! I was just asked if I could run a give-away for one of my vendors. Can this be set to pick users from a certain thread?

sean289855
04-24-2004, 04:10 AM
I would be very interested in something like that. OR how about members that have posted that month.

tHe Rk
05-03-2004, 07:57 PM
This hack lets you pick a random user given a minimum number of posts and by usergroup. This is helpful for forums with raffles and other similar features.

Very nice Super easy hack :)

Nokia Tech
05-12-2004, 07:20 PM
I am new to all this side of things, And starting to learn, from the basics

Could someone tell me if this is 100% compatible with Vb3.01

Thanks in advance,

Pheonix
06-05-2004, 06:54 AM
Could someone alter this hack to make it run in 3.0.0 Release Candidate 4

TIA

-Phoenix

Pheonix
06-05-2004, 01:38 PM
In admincp/index.php find:
THis
construct_nav_option($vbphrase['generate_mailing_list'], 'email.php?do=genlist', '<br />');

Under that add this:
construct_nav_option($vbphrase['pick_random'],'randomuser.php?', '<br />');

Upload the file randomuser.php to your admincp/ dir
--------------------------------

In admincp add a new phrase:

Varname - random_user
Text - Pick Random User
--------------------------------

All done!.

Enjoy :)

-Pheonix

Nokia Tech
06-06-2004, 03:08 PM
Could not get this to work, I am using VB3.0.1