The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Porting Member Info to Other Systems
I'm helping build a membership database for our project, and I'd like to have the vBulletin DB be the system of record for users. Eventually we are going to have to port the numbers and names out to some kind of card system.
I wanted to create a custom field assigning numbers to users in a sequence, but there didn't seem to be a built-in way (or plugin) to accomplish that, so I edited the MEMBERINFO template to add "(Member # $userinfo[userid])". For exporting member info to another system, has anyone else developed a process, or even a basic script? I know enough SQL to get my self in trouble so I'd love to see feedback from someone who has been down this path before. |
#2
|
|||
|
|||
[sql]SELECT * FROM user;[/sql]
|
#3
|
|||
|
|||
Quote:
Code:
SELECT user.userid, user.username, userfield.field17, userfield.field18, userfield.field19, user.joindate, user.email from user, userfield order by user.userid, joindate; |
#4
|
|||
|
|||
Well that query will not only list the first user, it will list every user, PLUS for every user all the userfield rows of all users.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|