The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Showing data from 2 tables
I need help with some code. I have a special usergroup that only they can access a certain page. I want to set it up so that when they login, it displays their info from the USER table, and a custom table I created called TEST. Here's what I have so far:
PHP Code:
Thanks. |
#2
|
||||
|
||||
I've left out the user table as this info is already available in $vbulletin->userinfo, so the JOIN is avoided -> lighter query.
PHP Code:
PHP Code:
|
#3
|
|||
|
|||
Beautiful! It works great now. Thanks.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|