![]() |
It saves the eval(template). eval() is kind of "bad", because it can't be cached by a PHP cache.
|
I'm coming back to post that this hack has sped up my site sooo much faster! Thanks ORban
|
Quote:
|
Uhm, you can add templates to product.xmls?
Also you might have modified the templates so the str_replace doesn't even work anymore. |
Quote:
|
Code:
$vbulletin->templatecache['search_forums'] = str_replace('$navbar', '$navbar' . ' $last15searches', $vbulletin->templatecache['search_forums']); |
Quote:
|
Why not add $last15searches to the navbar template?
Like $vbulletin->templatecache['navbar'] = $vbulletin->templatecache['navbar'].'.$last15searches'; or something, because would work with the template cache too. |
Quote:
|
No you don't? That's PHP code to be run in the plugin, instead of your str_replace.
|
All times are GMT. The time now is 12:56 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:
|