The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I have a custom field in my user data table that I want to be displayed on the welcome panel. There will be two users who will always be shown on the welcome panel and I want to have the amount in the field to be displayed next to their name.
I can get the field to display in a post ($post['money']) however I am unsure how to get it to be displayed in the welcome panel. --------------- Added [DATE]1260130511[/DATE] at [TIME]1260130511[/TIME] --------------- I've been reading this article and found some great examples. I put the following code in my template, but have not been able to echo anything out. What could I be doing wrong? Code:
<?php
$result = $db->query_read("SELECT money FROM user where userid = '285'");
$aurormoney = $db->fetch_field($result);
echo $aurormoney;
?>
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|