The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
append after <head> in all templates?
This turned out to be a global replace that is very handy if you know how to use it, you can find the solution begining in post 18(for vb4) and 20 (for vb3)
So I know if I was going to add something after <head> to one template I could do it something like: Code:
$find = '<head>'; $add = '<something>'; $vbulletin->templatecache['FORUMHOME'] = str_replace($find,$find.$add,$vbulletin->templatecache['FORUMHOME']); Tried this and a few other combinations with no luck: Code:
$find = '<head>'; $add = '<something>'; $find = str_replace($find,$find.$add,$find); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|