The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Quote:
Then $userinfo is an array that has all the user info such as username, $userinfo['username'], etc. |
#12
|
||||
|
||||
You are the king! Thanks again!
|
#13
|
||||
|
||||
Hello again!
I am currently trying to pull users from a specific usergroup out of the database. How would I go about doing that? This is the query I have. It only pulls one user out of the database. PHP Code:
|
#14
|
||||
|
||||
Using the query_first only gets the first result; use query instead, but then you need to use $DB_site->fetch_array($user); in a while statement.
|
#15
|
||||
|
||||
Hey,
I appreciate all the help, Gary W. But I am comfused on the while statement. I can't seem to figure out how you make one pretty much. I've looked through the PHP Manual, vBulletin Manual, searched several PHP sites and I am still baffled. I understand a little part I belive. PHP Code:
|
#16
|
||||
|
||||
Try something like
PHP Code:
|
#17
|
||||
|
||||
Thanks man! Though I still don't see where I went wrong at though. Could've it have actually been the template where I forgot the <br /> tag?
Edit: The <br /> kind of messed up the layout. So I removed it and it still works. . Edit again: NEvermind. I missed a . in the eval part in the while query! But thank you so much! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|