The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#9
|
|||
|
|||
![]()
Well, I did something called a dump, which shows you all the data inside the array. You need to replace this:
Code:
while ($thread = $vbulletin->db->fetch_array($threads)) { // display data is in $thread } Code:
while ($thread = $vbulletin->db->fetch_array($threads)) { echo "<pre>";var_dump($thread);die; } For me, I needed to gather the Title of the thread and the persons name who posted the thread, so it was in the format "Thread Title!" - By UsernameHere The two variables for that are ['title'] and ['postusername']. Once you have the variables you need, You can gather them by using an echo function: Code:
while ($thread = $vbulletin->db->fetch_array($threads)) { echo $thread['title']." - By ".$thread['postusername']."<br>"; } Code:
{ echo $thread['title'] } |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|