| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
|  Adding custom html code (adsense, ads...) after first post (postbit) 
			
			Adding custom html code (adsense, ads...) after first post (postbit) How to do this in vb 3.5.0? I need to add custom code after first post on every thread page, but it only custom html only appears at first page. | 
| 
			 
			#2  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Try: Code: <if condition="$post[postcount] == 1">whatever</if> | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Thanks, but with code like this, custom html is shown only after first post on first page. At Page 2, Page 3 ... isn't shown because postcount != 1.
		 | 
| 
			 
			#4  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			This was a thread on vBulletin.com yesterday... http://www.vbulletin.com/forum/showthread.php?p=812388 http://www.vbulletin.com/forum/showthread.php?t=144577 Satan | 
| 
			 
			#5  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   Quote: 
 | 
| 
			 
			#6  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			still no way...
		 | 
| 
			 
			#7  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Hmm, try HTML Code: <if condition="!$GLOBALS['FIRSTPOSTID']"> <!-- Adsense here --> </if> | 
| 
			 
			#8  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			great, with that conditional ! is working ok!    | 
| 
			 
			#9  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			No worky for me in RC1.   Am I doing something wrong? | 
| 
			 
			#10  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |