The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Profile Field in Postbit - Displaying as #
Hello -
I included code in my postbit template to display a profile field in the postbit. Code:
<div class="smallfont"> <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if> <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> <div> $vbphrase[posts]: $post[posts] </div> <if condition="$post[field7]"><div class="smallfont">Affiliation: $post[field7]</div></if> $template_hook[postbit_userinfo_right_after_posts] <if condition="$show['infraction']"><div>$vbphrase[infractions]: It is listed as field7, so I'm guessing I have the field right. It's a multiple-selection menu with 24 options, and a maximum of one can be selected. It's not private, it's not searchable but it does display on the Member's list. The problem I'm experiencing is that the text Affiliation: shows up fine, but the text displayed isn't what I want. I'm looking for words - as those are the selections, but instead I'm getting numbers. At first I selected the second option, and it displayed as a 2. Then I selected the last option, and it's displaying as 8388608. Does anyone know what the problem could be? |
#2
|
|||
|
|||
What are the options here? I recently post on my blog. A modification for vBulletin Country Flags and you can see in my install how I have done it.
PHP Code:
Quote:
How To Add A Profile Field To The Postbit |
#3
|
|||
|
|||
Quote:
See the 2nd post of the link given above (How To Add A Profile Field To The Postbit) |
#4
|
|||
|
|||
Quote:
That's way to difficult to understand; I guess I'll allow users to input their own choices. |
#5
|
|||
|
|||
You do not need to follow the binary operators. Mine works the same way and does not follow the operator erand..
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|