| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
|  Multiple Page Conditional? 
			
			I am working on learning how to do conditionals and have hit a road block and searches haven't really helped me out a lot. I have a sidebar and I have figured out how to make it only show on the index but I would like it to also show on the forumdisplay and the showthread and can't figure out how to get it to work with all three. Thanks in advance!!
		 | 
| 
			 
			#2  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			what if conditional are you using for it to show on only the index page?
		 | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			<if condition="THIS_SCRIPT == 'index'">
		 | 
| 
			 
			#4  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Have you tried HTML Code: <if condition="THIS_SCRIPT == 'index,showthread,forumdisplay'"> | 
| 
			 
			#5  
			
			
			
			
			
		 | |||
| 
 | |||
|   Quote: 
 PHP Code: 
			 | 
| 
			 
			#6  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			I have a similar need for such a setup and this is what I use (and it works perfectly fine): Code: <if condition="THIS_SCRIPT == 'index' OR 'forumdisplay' OR 'showthread'"> | 
| 
			 
			#7  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Thank you very much, worked like a charm!! I was so close in my other attempts..lol
		 | 
| 
			 
			#8  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			This helped me show my attraction poster scroller only on the forumhome as I cheated and used the under navbar ad location for the code   Thanks! :up: | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |