The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
DB & Templates
Well, I finally got around to try my hands on converting a module I originally wrote for phpNuke to vBulletin 3.5.1.
I want to start by converting the roster system : http://www.usvn.net/modules.php?name=navpers&sw=roster including a nice ACP integration and more. Big plans so to speak. However Im currently stuck at the point on how to display the results I generate in my PHP file properly in the forum. Anybody has a nice Step-by-Step tutorial or hints on how to do that? So basically I have a DB call in a PHP file and how can I make it appear within vBulletin? I looked over the available Tutorials here and found most of the steps, however there is something im apparently missing, so hopefully somebody can help me along. Cheers OS c'mon guys (and gals) I really need some help here - I'm going ape. PHP Code:
Again any help, even if it was "Hey dummy look at this and this thread, this question has been asked a hundred times already" would be ok. As long as I get some answers. Thanks in Advance OS |
#2
|
|||
|
|||
If you use query_first (as opposed to query_read), $result will alsready contain the row data, not need for a fetch anymore.
Just use $result['callsign'] in your PHP or your template. |
#3
|
|||
|
|||
Thanks, that did the trick.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|