The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Random Usergroup On Registration
I have a hack installed on my board that randomly places a new user in one of 6 groups upon registration. The problem is that I did not install the hack, it was my previous admin and he is now gone. I need to upgrade my board but can't seem to find the code for this hack to re-install it after I upgrade.
I have searched the board and cannot find it. Does someone know what it is or where I could find it? I am not sure if the hack I had does this or not, but I would like it if it could somehow know how many people are in each of the 6 groups and place the new one in the group that has the less users in it. If someone could write that for me or point me to a place where I could find this I would be forever grateful Thanks! |
#2
|
||||
|
||||
hmm, i found this old answer by me for a register in a random group:
https://vborg.vbsupport.ru/showthrea...m+register.php no, it doesn't find out in which group are the less.. people, because if it does, it wouldn't be random anymore |
#3
|
||||
|
||||
oops sorry ... thanks ... I think I was looking in the full release forum and the hack database and it didnt find it. Though I could swear I use the search box on top too ... either way ... thanks a million for finding it for me I'll be sure to save it this time
|
#4
|
||||
|
||||
you're welcome Remeber sometimes the best hacks can be found in the requestforum |
#5
|
||||
|
||||
Quote:
We'll beat Full Releases soon.. :rambo: |
#6
|
||||
|
||||
I bet we'll do, pal
|
#7
|
||||
|
||||
PHP Code:
For example, if I wanted them to be sorted randomly into groups 8, 10 and 11. Any ideas? |
#8
|
||||
|
||||
use this way:
PHP Code:
|
#9
|
||||
|
||||
Thanks so much. So I can put as many numbers I want in the array list right?
|
#10
|
||||
|
||||
yes, put as many numbers as you want in it, but don't forget to increase th second value of the rand function for every added number
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|