Code: Select all
if ($avatar_img == '')
{
//
// Set up style
//
if ( !$board_config['override_user_style'] )
{
if ( $userdata['user_id'] != ANONYMOUS && $userdata['user_style'] > 0 )
{
$template_name = get_template_name($board_config['default_style']);
$avatar_img = '<img src="'. $phpbb_root_path . 'templates/' . $template_name . '/images/whosonline.gif" >';
}
}
else
{
$avatar_img = '<img src="templates/subSilver/images/whosonline.gif" >';
}
}
Code: Select all
if ($avatar_img == '')
{
//
// Set up style
//
if ( !$board_config['override_user_style'] )
{
if ( $userdata['user_id'] != ANONYMOUS && $userdata['user_style'] > 0 )
{
$template_name = get_template_name($userdata['user_style']);
$avatar_img = '<img src="'. $phpbb_root_path . 'templates/' . $template_name . '/images/whosonline.gif" >';
}
else
{
$template_name = get_template_name($board_config['default_style']);
$avatar_img = '<img src="'. $phpbb_root_path . 'templates/' . $template_name . '/images/whosonline.gif" >';
}
}
else
{
$template_name = get_template_name($board_config['default_style']);
$avatar_img = '<img src="'. $phpbb_root_path . 'templates/' . $template_name . '/images/whosonline.gif" >';
}
}
at the top of my pages. Although to the best of my knowledge (aka memory) neither of these files were edited when I installed this mod, everthing was fine before.Warning: Cannot modify header information - headers already sent by (output started at /home/waywards/public_html/forums/includes/functions.php:816) in /home/waywards/public_html/forums/includes/sessions.php on line 188
Warning: Cannot modify header information - headers already sent by (output started at /home/waywards/public_html/forums/includes/functions.php:816) in /home/waywards/public_html/forums/includes/sessions.php on line 189
Warning: Cannot modify header information - headers already sent by (output started at /home/waywards/public_html/forums/includes/functions.php:816) in /home/waywards/public_html/forums/includes/page_header.php on line 477
Warning: Cannot modify header information - headers already sent by (output started at /home/waywards/public_html/forums/includes/functions.php:816) in /home/waywards/public_html/forums/includes/page_header.php on line 479
Warning: Cannot modify header information - headers already sent by (output started at /home/waywards/public_html/forums/includes/functions.php:816) in /home/waywards/public_html/forums/includes/page_header.php on line 480
Warning: Cannot modify header information - headers already sent by (output started at /home/zetor200/public_html/purno/language/lang_english/lang_main.php:1035) in /home/zetor200/public_html/purno/includes/page_header.php on line 475
Warning: Cannot modify header information - headers already sent by (output started at /home/zetor200/public_html/purno/language/lang_english/lang_main.php:1035) in /home/zetor200/public_html/purno/includes/page_header.php on line 477
Warning: Cannot modify header information - headers already sent by (output started at /home/zetor200/public_html/purno/language/lang_english/lang_main.php:1035) in /home/zetor200/public_html/purno/includes/page_header.php on line 478