![]() |
User Profiles - Users with No Visitor Messages
I have a question regarding the Statistic area of the Information (About Me) tab.
I noticed that if a user has one or more user notes, it looks like this: Quote:
Quote:
Quote:
Quote:
|
Bump.
|
Bump.
|
Did you try just editing the memberinfo_block_statistics template?
|
Quote:
Thanks for the response. :) |
I'd put a condition around the stuff you don't want shown based on whether $prepared['vm_total'] is greater than 0.
|
Quote:
|
A condition.
<vb:if condition="$prepared['vm_total']">code you only want to show if there are VMs</vb:if> |
Quote:
Code:
{vb:raw prepared.vm_total} ...to this? Code:
<vb:if condition="$prepared['vm_total']">{vb:raw prepared.vm_total}</vb:if> |
I can't see the text on the screenshot, but you want to put the condition around the full html you don't want to be shown.
|
Quote:
http://i101.photobucket.com/albums/m...edLastVM-1.jpg So I would make that this? <vb:if condition="$prepared['vm_total']"><dd> {vb:raw prepared.vm_total}</dd></vb:if> |
No, I can't see that better. Images are resized here. But, try what you wrote on your test site and see if it is what you want.
|
Quote:
http://i101.photobucket.com/albums/m...Garcia/VMs.png Original Code: Code:
<dt>{vb:rawphrase total_messages}</dt> Code:
<vb:if condition="$prepared['vm_total']"><dt>{vb:rawphrase total_messages}</dt></vb:if> |
All times are GMT. The time now is 09:40 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|