![]() |
[Solved] Add Code On Beginning Template newpost_attachment
Hello ,
I try to add code on Beginning Template newpost_attachment by this Hook : global_start PHP Code:
i want add code only on Beginning this template thnx ... |
On the left side, you use:
$vbulletin->templatecache['newpost_attachment'] On the right side, you use: $templatecache['newpost_attachment'] I would guess the left side is correct and you need to use it in both places. |
Quote:
PHP Code:
Variable $code Shows but the template does not exist THNX ! |
Try the parse_templates hook.
|
Quote:
thnx . |
What page are you doing this on (the exact php page url)?
|
Quote:
i want add code above attachment , it already add but attachment template not exist --------------- Added [DATE]1367858696[/DATE] at [TIME]1367858696[/TIME] --------------- Any one have solutions ? |
i solved it by another way
PHP Code:
|
All times are GMT. The time now is 06:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|