The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
heloo every one ..
i have i small code .. and i dont now where i can put it .. (hook) i build a littel Hack ANd i Hava a littel repalce in some template see my Code : PHP Code:
|
|
#2
|
||||
|
||||
|
What does the code actually do?
|
|
#3
|
|||
|
|||
|
this code to add buttons in tool box .. in posts and new threads and replays ..
and sing edit .. |
|
#4
|
||||
|
||||
|
Try using the parse_templates or global_start hooks.
|
|
#5
|
|||
|
|||
|
Not work ..
in global_start , parse_templates , global_complete and cache_templates what can i do ? |
|
#6
|
||||
|
||||
|
I didn't mention cache_templates or global_complete, I wouldn't expect it to work in them. I see no obvious reason it wouldn't work in the others, are you sure the code actually works at all ? (looking at what you are trying to replace, I doubt it does, you certainly cannot search for </if> in cached templates).
BTW, Why don't you just edit your templates ? |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|