The Arcive of vBulletin Modifications Site. | 
    |
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			Heya Guys, i was wondering how to go about adding a gradient to the postbit like ZT has here. 
		
		
		
			basically i'd like different gradients depending on the rank of the member, so for admins i might have a black gradient, for smods a white maybe and so on. what should i do to achieve this result? may thanks in advance to the people who remedy my answer.  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			https://vborg.vbsupport.ru/showthread.php?t=141272 
		
		
		
		
		
		
		
		
	
	So, in postbit_legacy, you find Code: 
	<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> Code: 
	<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px; background-image: url ();"> Code: 
	url (<if condition="is_member_of($post, 6)">admin_image.jpg<else /><if condition="is_member_of($post, 5, 7)">mod_image.jpg<else />regular_image.jpg</if>) Oh, and you should use background instead of background-image if you want to use things like "no-repeat" or "center" Code: 
	background:url(stuff from last step) no-repeat top left; Code: 
	<td align="center"  | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			thanks for the responce, 'll give this ago when i've got my net back up and running at home. 
		
		
		
		
		
		
		
		
	
	thanks again thats a real help ^_^  | 
![]()  | 
	
	
		
  | 
	
		
  | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
						
  | 
				|
  More Information | 
				|
| 
						 Template Usage: 
						
 Phrase Groups Available: 
						
  | 
					
						 Included Files: 
						
 Hooks Called: 
						
  |