| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
|  php header includes etc 
			
			Just wondering if there is a definitive guide for including php files and code in vb4.x or if someone can explain. Right now I am trying to include a php header file. I have followed the instructions here https://www.vbulletin.com/docs/html/..._externalfiles but can't get it working. Here's what I have tried in plugins under the global_start hook; PHP Code: 
			PHP Code: 
			I have also tried PHP Code: 
			Any advice would be greatly appreciated! | 
| 
			 
			#2  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			I think you want this: PHP Code: 
			Then {vb:raw includedphp} should work in the template. | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Thank you very much for that. It now works.
		 | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |