| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | ||||
| 
 | ||||
|  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: 
 | 
| 
			 
			#2  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Bump.
		 | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Bump.
		 | 
| 
			 
			#4  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Did you try just editing the memberinfo_block_statistics template?
		 | 
| 
			 
			#5  
			
			
			
			
			
		 | |||
| 
 | |||
|   Quote: 
 Thanks for the response.   | 
| 
			 
			#6  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			I'd put a condition around the stuff you don't want shown based on whether $prepared['vm_total'] is greater than 0.
		 | 
| 
			 
			#7  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Sorry, kind of a newb question here, since this is the first time I've seen something like that said / typed, but what's this whole prepared VM and greater than zero stuff about?
		 | 
| 
			 
			#8  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			A condition. <vb:if condition="$prepared['vm_total']">code you only want to show if there are VMs</vb:if> | 
| 
			 
			#9  
			
			
			
			
			
		 | |||
| 
 | |||
|   Quote: 
 Code: {vb:raw prepared.vm_total} ...to this? Code: <vb:if condition="$prepared['vm_total']">{vb:raw prepared.vm_total}</vb:if> | 
| 
			 
			#10  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			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.
		 | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |