[high]Copyright:[/high] You may use this modification at your own risk. I cannot and will not be held responsible for any damage you may cause to your forums during installation or thereafter. You may not distribute this modification in whole or parts and anyone found doing so faces risk of prosecution. All my modifications are released at vBulletin.org and anyone found releasing them elsewhere also faces risk of prosecution. You may not translate this modification without my prior permission.
[high]Donations:[/high] I release my modifications for free. If you wish to donate please contact me and I will give you my details. All donations are graciously appreciated.
[high]Credits:[/high] I would like to thank the following people who contributed to the making of this modification.
ChrisBaktis - requested the modification
What does this modification do?
This modification adds a new link to the admincp where you can select a random user. Simple as that!
Installation
1/
Add the following phrases:
Phrase Type: Control Panel User Management
Varname: random_user_picker
Text: Random User Picker
Phrase Type: Control Panel Global
Varname: pick_random_user
Text: Pick Random User
Upload the attached user_random.php to your /admincp/ directory.
Please Click Install!
If you installed this modifcation please click the install button. It'll help you keep up to date with future releases and important bugfixes, security updates.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I don't know, I did a search after seeing the request and there wasn't a modification that randomnly selects a user from the whole board So here it is.
I'm lost now granted I am a ultra newbie coder, but Jolten your hack (very good I might add) is doing it in the global.php. Where as Dean C is doing it via a phrase with a call to user_random.php.
I want to make sure that I understand how he stole your code because they appear to be two different things.
Well you'll have to excuse me because I may be wrong here, but last time I checked there was only one way to run a MySQL query to gain a random record from a table? I don't see what the big deal is here? Do you want credits in my first post or something?
I wrote that query without even looking at your post buddy so
Dean did not steal that code as you can see he missed the WHERE and the code isn't that difficult. That's the first way anyone would probably think of to grab a random user from the user table.
The WHERE which, by the way, I think should be put in so you don't grab banned members or members with no posts. If not, maybe an option to select WHERE clauses.
last time I checked there was only one way to run a MySQL query to gain a random record from a table? I don't see what the big deal is here? Do you want credits in my first post or something?
We could be in the wrong here. It is possible he invented MySQL and as such came up with the command. If so I suppose he would be entitled to a thank you.