Quote:
Originally Posted by boo.3
is there away to make it show up in posts also ? below avatar?
|
Yes, I just found out the way!
First off, you'll need to create a phrase, in detail:
Phrase Type: GLOBAL
Varname: X
Text: XX
Now, the X = whatever you want your profile to be, so if you have multiple custom fields, you can name them whichever they are (ex. anime, console, book, movie, etc.)
The XX = whatever you want it to say before it shows what the user has typed in for their custom profile (ex. Fav. Anime, Fav. Console, Fav. Book, Fav. Movie, etc.)
The phrase depends on how many custom fields you have and what you want them to say under the avatar.
Now, onto the template editing..
Go into the Style Manager, and click the dropdown box for whatever style you want to use this on, and select "Edit Templates." Then go to Postbit Templates >> postbit OR postbit_legacy
Ok, now on to the templates, First is the legacy version of postbit, and then the horizontal version.
*postbit_legacy*
Search around in here until you find this:
Code:
<div class="postbit" align="left"">
<span style="color: #8B9DB0;
font-weight: bold">$vbphrase[posts]:</span> $post[posts]</div>
Under that, add this:
Code:
<if condition="$post['X']"><div class="postbit" align="left"><span style="color: #8B9DB0; font-weight: bold">$vbphrase[xx]:</span> $post[XXX]</div></if>
Edit the X, XX, and XXX Before you add this line though..
X = field # (it'll say this when you go to the "User Profile Field Manager" option on the right towards the dropdown box, ex. field6, field7, field9, etc.)
XX = the varname of the vbphrase you added first (movie, anime, book, etc.)
XXX = same as X
*postbit*
This is pretty much the same, but search around for this code:
Code:
<div>
$vbphrase[posts]: $post[posts]
</div>
Under this, add the following code:
Code:
<if condition="$post['X']"><div>$vbphrase[XX]: $post[XXX]</div></if>
X = Field Number
XX = Phrase varname
XXX = same as X
The location of the added code might not look perfect to you, so just move it around and customize it for your forum's style or whatnot.
And there you have it! Should be working for everyone, but if you need more help, just reply! ^_^