The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Query another DB for Info in Vbulletin 3.0.7
I have a database which differs from my vb database that I want to query for info and show a link in the users postbit if the row exists. Can this be done inside the vbulleting template system or would this have to go into the showthread.php file? I would rather avoid the file mod if possible.
The query would be simply: PHP Code:
|
#2
|
|||
|
|||
It would save you a lot of headaches if you didn't put that info in a seperate database.
You can not put PHP in a template, you will have to modify php files for that. After you queried the data in the script, you can use $loglink in your template. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|