The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I want to know the query that I can give me how many users are in a specific usergroup.
so i can limit user registration, adding this code on register.php Code:
$useregn = mysql_query("The query")
$reguser = fetch_mysql_assoc("useregn")
if ($reguser > "2000")
die('Limit user reach')
|
|
#2
|
||||
|
||||
|
Feel free to use this:
PHP Code:
|
|
#3
|
|||
|
|||
|
Thank You!
|
|
#4
|
||||
|
||||
|
Except you don't want to use vb_number_format() as you will break comparisons.
|
|
#5
|
|||
|
|||
|
If I insert this on my register.php it will work?
PHP Code:
|
|
#6
|
||||
|
||||
|
If you put this code in the correct place in register.php it will work:
PHP Code:
|
|
#7
|
|||
|
|||
|
Oh thank you! I would love that! ^^
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|