2010-11-02, 10:18 PM
Hello. Thanks for the quick reply. Ive done the following below but It seems ive run into the following error. (Ive add a few lines above and below instead of the whole file this time). Anyways, ive tried all kinds of bracket combination's and even removing them. But no matter what I do Board Statistics don't show. Any ideas?
onlinetoday.php
forumdisplay.php
Quote:Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\MyBB\forumdisplay.php on line 1213
onlinetoday.php
Quote:if(!defined("IN_MYBB"))
{
die("This file cannot be accessed directly.");
}
$plugins->add_hook('index_start', 'add_onlinetoday', 1000000);
$plugins->add_hook('forumdisplay_start', 'add_onlinetoday', 1000000);
function onlinetoday_info()
{
forumdisplay.php
Quote:$plugins->run_hooks("forumdisplay_end");
$foruminfo['name'] = strip_tags($foruminfo['name']);
eval("\$forums = \"".$templates->get("forumdisplay")."\";");
output_page($forums);
{$online_today} <- This is Line 1213 btw
?>