vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Pick Random User (https://vborg.vbsupport.ru/showthread.php?t=51894)

filburt1 04-19-2003 10:00 PM

Pick Random User
 
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

Quote:

04-20-03 at 08:24 PM filburt1 said this in Post #1
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

Quote:

Today at 02:22 AM subu1 said this in Post #12
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

Quote:

04-22-03 at 09:18 PM Buffalo said this in Post #15
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

Quote:

05-07-03 at 05:33 PM wolfman said this in Post #19
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

Quote:

Originally Posted by filburt1
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


All times are GMT. The time now is 02:22 PM.

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.01300 seconds
  • Memory Usage 1,762KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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