Quote:
Originally Posted by dpetersman
This is great!
one question tho. Is there any way for it to display the contents of multiple fields instead of just one?
I have 2 seperate profile fields for my users real names. First name & last name.
something like:
Code:
if ($post['field7,8'])
thanks again 
|
Not the way you have done it.
You will need something like this, to show if just the first name entered or the first and last names entered:
PHP Code:
if ($post['field7'])
{
$template_hook['postbit_userinfo_right_after_posts'] .= '<div>' . $vbphrase['real_name'] . ': ' . $post['field7'] . ' ' . $post['field8'] . '</div>';
}
That is just an unofficial pointer in the right direction. It should work, but if it does not, then you will have to experiment with the code until it does, as I do not support custom code changes to my hacks.