The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Function and query problems =(
I searched and searched. Mayby i searched the wrong thing dont know.
Lets say if i wanna create a new page away from vbulletin like a mainsite. In that page i want to show users online last topics and stuff like that. How do i write a query to the database ? If i make a totaly new page do i have to require the mainfile or something like that. Or will it do with yust a query to the database to get the info ? I know i can get some portals and stuff but i dont want that. And im sure you have posted about this somewhere before to. If so could you point me in the correct direction ? Any help would be nice. |
#2
|
||||
|
||||
of course you can jsut run the needed queries if you connect to the DB in your new script.
the easiest way is to require the global.php so u can use the DB_site commandos |
#3
|
|||
|
|||
How do i make a require the global script ?
Can i yust add it to the top of the page and then make what kind of page i want ? PHP Code:
|
#4
|
||||
|
||||
yes
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|