The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello Everybody,
I am trying to create an automatic template edit, I have done this before for two previous modifications but I cant get it to work this time and cant see anything wrong. I have the following code: Code:
if ($vbulletin->options['helpcenter_enable']==1 AND $vbulletin->options['helpcenter_automatic_navbar']==1) {
$vbulletin->templatecache['navbar'] = str_replace($vbulletin->options['ate_search'],
$vbulletin->options['ate_search'].$vbulletin->templatecache['hcenter_navbar'],$vbulletin->templatecache['navbar']);
}
Thanks, Paul. --------------- Added [DATE]1208477518[/DATE] at [TIME]1208477518[/TIME] --------------- Its ok, I managed to work out what I was doing wrong. The template wasnt being made global. Thanks, Paul. |
![]() |
|
|