The Arcive of vBulletin Modifications Site. | 
    |
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			I code a Plugin a few month ago, and after servercrach i have to reinstall everything. But, one of my plugins, i cant use, becourse, i don't know, how to include it, into the template. 
		
		
		
		
		
		
		
		
	
	this is the plugin-code-snipped: PHP Code: 
	
			
	PHP Code: 
	
			
	![]() i hope, anybody can help me. greetings Pirate  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			It looks like your plugin tries to add it to the navbar template. It sets $template_hook['navtab_done'], but that template hook doesn't appear to exist. So, you can insert $template_hook['navtab_done'] in any template, or use {vb:raw treuhand} in the navbar template.
		 
		
		
		
		
		
		
		
		
	
	 | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			if i would add it to the forum-home? 
		
		
		
		
		
		
		
		
	
	what should i change. the plugin-hook is "global_start", if i see the lpugin-list. greetings  | 
| 
		 
			 
			#4  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			If you want to add it to the FORUMHOME template, then you could use hook forumhome_complete.  If you want it to be in the navbar template but only appear on the forum home page, then use hook parse_template, and enclose your plugin code in an if statement like: 
		
		
		
		
		
		
		
		
	
	Code: 
	if (THIS_SCRIPT == 'index')
{
// existing code here
}
 | 
| Благодарность от: | ||
| PirateTinman | ||
| 
		 
			 
			#5  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			oay, everythinks works perfect. 
		
		
		
		
		
		
		
		
	
	Thank you very much for your quick and helpful answers. where can i find some infos about acp-plugins and how to code plugins for acp? greetings  | 
![]()  | 
	
	
		
  | 
	
		
  | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
						
  | 
				|
  More Information | 
				|
| 
						 Template Usage: 
						
 Phrase Groups Available: 
						
  | 
					
						 Included Files: 
						
 Hooks Called: 
						
  |