The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
You have the condition in here twice:
Code:
if ($vbulletin->options['ie6fix_onoff']){ $ie6fix = '<vb:if condition="$vboptions['ie6fix_onoff']"> {vb:rawphrase ie6fix_english} </vb:if>'; $find = '<div class="above_body">'; $add_before = "$ie6fix". PHP_EOL; $output = str_replace($find,$add_before.$find, $output); } Code:
if ($vbulletin->options['ie6fix_onoff']){ $ie6fix = '$vbphrase[ie6fix_english]'; $find = '<div class="above_body">'; $add_before = "$ie6fix". PHP_EOL; $vbulletin->templatecache['templatename'] = str_replace($find,$add_before.$find, $vbulletin->templatecache['templatename']); } |
#12
|
|||
|
|||
Quote:
thank so far so good, however its not showing yet, my mistake i hope i am using global_start hook in the plugin, i may have this wrong please help |
#13
|
||||
|
||||
If something isn't working, then you need to post the exact code you are using (and the exact hook location).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|