To fix the "Contents" block edit
vault/special_functions_postbit.php. Find:
Code:
'#\<h[1-7]\>\<span class="top_link"\>.*\<\/h[1-7]\>#siU',
Replace with:
Code:
'#\<h[1-7] class="vw-head"\>\<span class="top_link"\>.*\<\/h[1-7]\>#siU',
To fix the footnotes problem, in
vault/special_class_bbcode.php, find:
Code:
parent::append_custom_tags();
Replace with:
Code:
if ($this->custom_fetched == true)
{
return;
}
$tag_list = $this->tag_list;
unset($this->tag_list);
parent::append_custom_tags();
if (!empty($this->tag_list))
{
$vault->misc['tag_options'] = array();
foreach ($this->tag_list AS $option => $bbcodes)
{
foreach ($bbcodes AS $name => $bbcode)
{
// don't overwrite actual bbcodes with database dummies
if (!isset($tag_list["$option"]["$name"]))
{
$tag_list["$option"]["$name"] = $bbcode;
}
$vault->misc['tag_options']["$name"] = $bbcode['wikioptions'];
}
}
}
$this->tag_list = $tag_list;