(11-01-2016, 09:32 AM)MyBBHacks Wrote: Probably because that plugin's language file is no longer loaded?That would be my guess.
function gallery_header(){ global $headerinclude, $context, $header, $templates, $lang; $lang->load("unreadPosts"); eval("\$unreadPosts .= \"" . $templates->get("unreadPosts_link") . "\";"); $header = str_replace('<!-- UNREADPOSTS_LINK -->', $unreadPosts, $header); if (isset($context['linktree'])) foreach($context['linktree'] as $linktree) { add_breadcrumb($linktree['name'], $linktree['url']); } echo parse_page('<html><head><title>' . $context['page_title'] .'</title>' . $headerinclude . '' . $context['html_headers'] . '</head><body>' . $header);}