The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Dynamically Replace {vb:raw navbar}
Hi,
What I want to do is dynamically replace certain default vb:raw variables from all templates. That is for example wherever {vb:raw footer} is present, I want to replace with {vb:raw navbar}{vb:raw footer} I first thought this would be simple with replacement variables, but replacement is not working. So I figured I could probably intercept when the template is queried from the database and before it's parsed and put in the template cache. So far i haven't got around to figuring it out so any suggestion, directions would be much appreciated. I don't mind editing the php files directly if required. Thanks --------------- Added [DATE]1299213676[/DATE] at [TIME]1299213676[/TIME] --------------- OK , temporarily solved this by modifying the return value of fetch_template. For anyone interested, in file class_core.php, find the function definition, PHP Code:
PHP Code:
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|