PDA

View Full Version : custom info in postbit


kdog316
11-27-2011, 06:03 AM
How can I get information people fill out when they register (or edit later in there user cp) to appear in the postbit area. Basically where it shows there join date and post count. Like this forum

https://vborg.vbsupport.ru/external/2011/11/10.jpg

Hellsoap is his character name. Undead Warrior is his race. Elitist Jerks is his guild and Mal'Ganis is his server. All of those questions you fill out in your user cp. If its already been listed I apologize because I did try to search for something like it.

Simon Lloyd
11-27-2011, 08:18 AM
Yes, you'd need to add a user profile field and set it as required (i.e Required at registration...etc) then in your postbit template place this where needed.

Right under this
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>

Add this (where X is the field number)
<if condition="$post['fieldX']"><div class="smallfont">MS Office Version: $post[fieldX]</div></if>

Lynne
11-27-2011, 04:13 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=250418" target="_blank">Using your User Profile Fields in your postbit templates (w/ all plugin method)</a>

kdog316
11-27-2011, 05:26 PM
Thank you lynne :). Your articles are very helpful.