The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Tutorial for database access???
I am working on a map of my membership and events by county. I have added the needed custom fields to the calendar and the user profiles. Now all I need to do is populate the HTML from queries made to the vBulletin database.
Is there a tutorial somewhere on what is needed to query the database from PHP? Fieldnames, format, etc.? I need to access calendars (title, thread number, customfields) and membership list (username, user number, customfields). Thanks! |
#2
|
|||
|
|||
Have a look at this. Querying in vBulletin is different from querying in PHP - vBulletin wraps all queries within a database object so that it's possible in the future to allow multiple database types (though there are still reasons why they haven't implemented it now, mainly MySQL-only functions they've used I think).
The basic query for SELECT statements is: PHP Code:
|
#3
|
|||
|
|||
Thanks for the help!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|