| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
|  Uppercase (first char only) anything. 
			
			i am using profile field entries in postbit_legacy but i want to set all of the firts characters Uppercase. in this case, i want to try mb_convert_case or anything with PHP code but i dont know how to use php code on my postbit_legacy below with this code: <vb:if condition="$post['field11']"> {vb:raw post.field11} <<<<< i want to change this entry's first character to uppercase. </vb:if> {vb:raw post.field11} output: umut mehmet g?rler i want to change: Umut Mehmet G?rler note; i am going to use mb_convert_case because of the non-UTF8 chars. lookin forward to anyone for response. thank you very much. umut. --------------- Added [DATE]1261569527[/DATE] at [TIME]1261569527[/TIME] --------------- <vb:if condition="$post['field11']"> $post['field11'] = mb_convert_encoding($post['field11'], "UTF-8", "UTF-8, ISO-8859-9, windows-1254, ascii"); {vb:raw post.field11} <<<<< i want to change this entry's first character to uppercase. </vb:if> does it work ? | 
| 
			 
			#2  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			You cant do it in a template. You have to put your php code in a plugin and the template code in the template.
		 | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			can you please explain me how can i do it ?
		 | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |