The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I created a new field in my DB called orig_username. How can I get that info into the MEMBERINFO template?
|
|
#2
|
||||
|
||||
|
Whivh table?
|
|
#3
|
|||
|
|||
|
It's in the user table
|
|
#4
|
||||
|
||||
|
$userinfo['orig_username']
|
|
#5
|
|||
|
|||
|
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING That didn't work, but I really want to thank you Kirby for all the hard work you put in here helping us idiots. I owe you a Christmas gift or something. |
|
#6
|
||||
|
||||
|
Well, if you want to use it in the Template (and not in a Template Conditional) it's
$userinfo[orig_username] |
|
#7
|
|||
|
|||
|
Quote:
Code:
<div class="fieldset"> <div style="padding:$stylevar[formspacer]px"> Original Username: <strong>$userinfo['orig_username']</strong> </div> </div> |
|
#8
|
||||
|
||||
|
Code:
<div class="fieldset"> <div style="padding:$stylevar[formspacer]px"> Original Username: <strong>$userinfo[orig_username]</strong> </div> </div>
|
|
#9
|
|||
|
|||
|
Quote:
Apparently, I can grab anything from the user table with $userinfo?
|
|
#10
|
||||
|
||||
|
Yep.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|