The Arcive of vBulletin Modifications Site. | 
    |
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			Hello. 
		
		
		
		
		
		
		
		
	
	So I need to add a value to datastore, so it will be available as style variable. I need to do the same, as the function that displays username (in post, etc), so it will be available via $postinfo, like $postinfo['myvariable'] and other places within vbulletin. So I guess it will be a low-level function of vB and probably I have to add my own hook there as there will not be any. I'm writing a plugin to replace shown usernames with display names set by user. Logging in, etc still with username. Any ideas on how to achieve that?  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			https://vborg.vbsupport.ru/showthread.php?t=228078 
		
		
		
		
		
		
		
		
	
	Try this? Any why not just add it as a profile field and pull it from the users table fieldx? vB4 tutorial vB5 Tutorial  | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			I don't know if you're still paying attention to this thread.  But I have done some research for something I am working on and have some more information for you. 
		
		
		
		
		
		
		
		
	
	fetch_musername is the function & hook that creates the html marked up username. This is what allows you to colour names based on usergroup and such. Now, near as I can tell, to achieve what you desire you will need to do the following: 
 It's a bit of a PITA the second way. And probably someone better at me with php and vBulletin will be able to offer you better direction. But since no one spoke up, I thought I'd share the information I had.  | 
![]()  | 
	
	
		
  | 
	
		
  | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
						
  | 
				|
  More Information | 
				|
| 
						 Template Usage: 
						
 Phrase Groups Available: 
						
  | 
					
						 Included Files: 
						
 Hooks Called: 
						
  |