From c13fcc4cb41adc83a70b5f01490b5b91c48f7004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=E2t?= Date: Sun, 3 Jul 2011 17:35:11 +0200 Subject: Config default tweak to enable default notification People disliking being spammed will have to opt out :-/ See https://bugs.mageia.org/show_bug.cgi?id=1188 --- phpBB/includes/functions_user.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index f2c80705ba..3f4203c554 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -213,7 +213,10 @@ function user_add($user_row, $cp_data = false) 'user_full_folder' => PRIVMSGS_NO_BOX, 'user_emailtime' => 0, - 'user_notify' => 0, + // Mageia Config tweak [ https://bugs.mageia.org/show_bug.cgi?id=1188 ] + 'user_notify' => 1, + // Mageia Config tweak + 'user_notify_pm' => 1, 'user_notify_type' => NOTIFY_EMAIL, 'user_allow_pm' => 1, @@ -3602,4 +3605,4 @@ function remove_newly_registered($user_id, $user_data = false) return $user_data['group_id']; } -?> \ No newline at end of file +?> -- cgit v1.2.1 From 9819e01a1ef4cd1cb91e4de0463016638252b5e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=E2t?= Date: Sun, 3 Jul 2011 18:28:13 +0200 Subject: Adding favicon --- phpBB/favicon.ico | Bin 0 -> 1184 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 phpBB/favicon.ico diff --git a/phpBB/favicon.ico b/phpBB/favicon.ico new file mode 100644 index 0000000000..5868d96b8d Binary files /dev/null and b/phpBB/favicon.ico differ -- cgit v1.2.1 From 0044d68532f515df792d5bc821c9037ba604b90c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=E2t?= Date: Tue, 26 Jul 2011 09:14:21 +0200 Subject: Adding "Mark forums read" patch according to https://forums.mageia.org/en/viewtopic.php?f=18&t=470 --- phpBB/search.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/phpBB/search.php b/phpBB/search.php index 2a13e20477..25fec96153 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -47,6 +47,14 @@ $sort_dir = request_var('sd', 'd'); $return_chars = request_var('ch', ($topic_id) ? -1 : 300); $search_forum = request_var('fid', array(0)); +// <---Start "U_MARK_FORUMS"---> +$template->assign_vars( + array( + 'U_MARK_FORUMS' => ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'hash=' . generate_link_hash('global') . '&mark=forums') : '') + ); +// <---End---> + + // We put login boxes for the case if search_id is egosearch or unreadposts // because a guest should be able to log in even if guests search is not permitted @@ -1199,4 +1207,4 @@ make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx")); page_footer(); -?> \ No newline at end of file +?> -- cgit v1.2.1 From eab99984b741e91ae9aa99a88ddbeb1bd78dd179 Mon Sep 17 00:00:00 2001 From: Maat Date: Tue, 26 Jul 2011 09:14:21 +0200 Subject: Adding "Mark forums read" patch according to https://forums.mageia.org/en/viewtopic.php?f=18&t=470 --- phpBB/search.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/phpBB/search.php b/phpBB/search.php index 2a13e20477..25fec96153 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -47,6 +47,14 @@ $sort_dir = request_var('sd', 'd'); $return_chars = request_var('ch', ($topic_id) ? -1 : 300); $search_forum = request_var('fid', array(0)); +// <---Start "U_MARK_FORUMS"---> +$template->assign_vars( + array( + 'U_MARK_FORUMS' => ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'hash=' . generate_link_hash('global') . '&mark=forums') : '') + ); +// <---End---> + + // We put login boxes for the case if search_id is egosearch or unreadposts // because a guest should be able to log in even if guests search is not permitted @@ -1199,4 +1207,4 @@ make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx")); page_footer(); -?> \ No newline at end of file +?> -- cgit v1.2.1