aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-03-04 11:22:55 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-03-05 21:38:57 +0100
commit2e5106aae1bfe83ad8b2336a6d519da5aabc59d2 (patch)
treeece483e4a0e00f08e426570bb51140273b39f03b /phpBB/includes/ucp
parent71354ef185e003319cdc9031928054fdb2f0b970 (diff)
downloadforums-2e5106aae1bfe83ad8b2336a6d519da5aabc59d2.tar
forums-2e5106aae1bfe83ad8b2336a6d519da5aabc59d2.tar.gz
forums-2e5106aae1bfe83ad8b2336a6d519da5aabc59d2.tar.bz2
forums-2e5106aae1bfe83ad8b2336a6d519da5aabc59d2.tar.xz
forums-2e5106aae1bfe83ad8b2336a6d519da5aabc59d2.zip
[ticket/12237] Convert yahoo messanger to custom profile field
PHPBB3-12237
Diffstat (limited to 'phpBB/includes/ucp')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewmessage.php1
-rw-r--r--phpBB/includes/ucp/ucp_profile.php4
2 files changed, 0 insertions, 5 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewmessage.php b/phpBB/includes/ucp/ucp_pm_viewmessage.php
index 594415ffc0..3e2b8f7456 100644
--- a/phpBB/includes/ucp/ucp_pm_viewmessage.php
+++ b/phpBB/includes/ucp/ucp_pm_viewmessage.php
@@ -210,7 +210,6 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
'U_PM' => ($config['allow_privmsg'] && $auth->acl_get('u_sendpm') && ($user_info['user_allow_pm'] || $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_'))) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&amp;mode=compose&amp;u=' . $author_id) : '',
'U_AIM' => ($user_info['user_aim'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=contact&amp;action=aim&amp;u=' . $author_id) : '',
- 'U_YIM' => ($user_info['user_yim']) ? 'http://edit.yahoo.com/config/send_webmesg?.target=' . urlencode($user_info['user_yim']) . '&amp;.src=pg' : '',
'U_JABBER' => ($user_info['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=contact&amp;action=jabber&amp;u=' . $author_id) : '',
'U_DELETE' => ($auth->acl_get('u_pm_delete')) ? "$url&amp;mode=compose&amp;action=delete&amp;f=$folder_id&amp;p=" . $message_row['msg_id'] : '',
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php
index 9821ad8485..9ed4278ec2 100644
--- a/phpBB/includes/ucp/ucp_profile.php
+++ b/phpBB/includes/ucp/ucp_profile.php
@@ -265,7 +265,6 @@ class ucp_profile
$data = array(
'aim' => request_var('aim', $user->data['user_aim']),
- 'yim' => request_var('yim', $user->data['user_yim']),
'jabber' => utf8_normalize_nfc(request_var('jabber', $user->data['user_jabber'], true)),
);
@@ -293,7 +292,6 @@ class ucp_profile
'jabber' => array(
array('string', true, 5, 255),
array('jabber')),
- 'yim' => array('string', true, 5, 255),
);
if ($config['allow_birthdays'])
@@ -334,7 +332,6 @@ class ucp_profile
$sql_ary = array(
'user_aim' => $data['aim'],
- 'user_yim' => $data['yim'],
'user_jabber' => $data['jabber'],
'user_notify_type' => $data['notify'],
);
@@ -398,7 +395,6 @@ class ucp_profile
$template->assign_vars(array(
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
- 'YIM' => $data['yim'],
'AIM' => $data['aim'],
'JABBER' => $data['jabber'],
));