The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Not outputting top buyers?
I've wanted to have a custom bit of PHP on my custom template for a while now, and just decided to look up the plugin feature for vBulletin. I've wrote a small bit of PHP, and set it to hook to global_start. It is activated.
Plugin objective: Load a custom PHP page I have that displays the top 10 buyers. Plugin code: Code:
$ch = curl_init('topbuyers.php'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $topbuyers = curl_exec($ch); curl_close($ch); Code:
{vb:raw topbuyers} If necessary, here's the custom PHP file topbuyers.php: http://paste2.org/gmBKetZ9 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|