The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
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 ... |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
||||
|
||||
|
Quote:
PHP Code:
Variable $code Shows but the template does not exist THNX ! |
|
#5
|
||||
|
||||
|
Already i try it and global_start too ... it's same
thnx . |
|
#6
|
||||
|
||||
|
What page are you doing this on (the exact php page url)?
|
|
#7
|
||||
|
||||
|
on newreply.php
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 ? |
|
#8
|
||||
|
||||
|
i solved it by another way
PHP Code:
|
| Благодарность от: | ||
| Lynne | ||
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|