Abrir:
Código: Seleccionar todo
raíz/aos_notifications.phpCódigo: Seleccionar todo
$aos = new aos_notifications();Código: Seleccionar todo
// Hack for phpBB3 Social Network MOD - Start
if (class_exists('hookSocialNet'))
{
	$aos = new aos_notifications();
	$aos->obtain_config();
	
	$start = request_var('start', '');
	$anm_pagination_url = append_sid("{$phpbb_root_path}aos_notifications.$phpEx");
	$total_topics = ($aos->config['only_post_unread']) ? $aos->post_unread_count() :  $aos->total_topics();
	
	page_header($user->lang['AOS_N_NOTIFICATIONS']);
	$template->assign_vars(array(
		'ANM_PAGINATION' => generate_pagination($anm_pagination_url, $total_topics, $aos->config['noty_limit_large'], $start),
		'PAGE_NUMBER' => on_page($total_topics, $aos->config['noty_limit_large'], $start),
	));
	$template->set_filenames(array(
		'body' => 'aos_notifications_more.html',
	));
	page_footer();
}
// Hack for phpBB3 Social Network MOD - EndAclaro que a pesar de fervientemente creer que el error está en el SN, el parche lo hago en el AOS notifications debido a que conozco mejor su funcionamiento y también a que es un MOD muchísimo mas fácil que el otro, por ello sorry Alorse por toquetear tu MOD

