|
@@ -909,7 +909,7 @@ function loadMemberData($users, $is_name = false, $set = 'normal')
|
|
|
IFNULL(lo.log_time, 0) AS is_online, IFNULL(a.id_attach, 0) AS id_attach, a.filename, a.attachment_type,
|
|
|
mem.signature, mem.personal_text, mem.location, mem.gender, mem.avatar, mem.id_member, mem.member_name,
|
|
|
mem.real_name, mem.email_address, mem.hide_email, mem.date_registered, mem.website_title, mem.website_url,
|
|
|
- mem.birthdate, mem.member_ip, mem.member_ip2, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login,
|
|
|
+ mem.birthdate, mem.member_ip, mem.member_ip2, mem.icq, mem.aim, mem.yim, mem.skype, mem.posts, mem.last_login,
|
|
|
mem.karma_good, mem.id_post_group, mem.karma_bad, mem.lngfile, mem.id_group, mem.time_offset, mem.show_online,
|
|
|
mg.online_color AS member_group_color, IFNULL(mg.group_name, {string:blank_string}) AS member_group,
|
|
|
pg.online_color AS post_group_color, IFNULL(pg.group_name, {string:blank_string}) AS post_group,
|
|
@@ -1139,12 +1139,12 @@ function loadMemberContext($user, $display_custom_fields = false)
|
|
|
'link' => '<a class="yim" href="http://edit.yahoo.com/config/send_webmesg?.target=' . urlencode($profile['yim']) . '" title="' . $txt['yim_title'] . ' - ' . $profile['yim'] . '"><img src="http://opi.yahoo.com/online?u=' . urlencode($profile['yim']) . '&m=g&t=0" alt="' . $txt['yim_title'] . ' - ' . $profile['yim'] . '" /></a>',
|
|
|
'link_text' => '<a class="yim" href="http://edit.yahoo.com/config/send_webmesg?.target=' . urlencode($profile['yim']) . '" title="' . $txt['yim_title'] . ' - ' . $profile['yim'] . '">' . $profile['yim'] . '</a>'
|
|
|
) : array('name' => '', 'href' => '', 'link' => '', 'link_text' => ''),
|
|
|
- 'msn' => $profile['msn'] !='' && (empty($modSettings['guest_hideContacts']) || !$user_info['is_guest']) ? array(
|
|
|
- 'name' => $profile['msn'],
|
|
|
- 'href' => 'http://members.msn.com/' . $profile['msn'],
|
|
|
- 'link' => '<a class="msn new_win" href="http://members.msn.com/' . $profile['msn'] . '" title="' . $txt['msn_title'] . ' - ' . $profile['msn'] . '"><img src="' . $settings['images_url'] . '/msntalk.png" alt="' . $txt['msn_title'] . ' - ' . $profile['msn'] . '" /></a>',
|
|
|
- 'link_text' => '<a class="msn new_win" href="http://members.msn.com/' . $profile['msn'] . '" title="' . $txt['msn_title'] . ' - ' . $profile['msn'] . '">' . $profile['msn'] . '</a>'
|
|
|
- ) : array('name' => '', 'href' => '', 'link' => '', 'link_text' => ''),
|
|
|
+ 'skype' => !empty($profile['skype']) && (empty($modSettings['guest_hideContacts']) || !$user_info['is_guest']) ? array(
|
|
|
+ 'name' => $profile['skype'],
|
|
|
+ 'href' => 'skype:' . $profile['skype'] . '?chat',
|
|
|
+ 'link' => '<a class="skype new_win" href="skype:' . $profile['skype'] . '?chat" title="' . $txt['skype'] . ' - ' . $profile['skype'] . '"><img src="' . $settings['images_url'] . '/skype.png" alt="' . $txt['skype'] . ' - ' . $profile['skype'] . '" /></a>',
|
|
|
+ 'link_text' => '<a class="skype new_win" href="skype:' . $profile['skype'] . '?chat" title="' . $txt['skype'] . ' - ' . $profile['skype'] . '">' . $profile['skype'] . '</a>',
|
|
|
+ ) : array('name' => '', 'href' => '', 'link' => '', 'link_text' => '',),
|
|
|
'real_posts' => $profile['posts'],
|
|
|
'posts' => $profile['posts'] > 500000 ? $txt['geek'] : comma_format($profile['posts']),
|
|
|
'avatar' => array(
|
|
@@ -1190,7 +1190,7 @@ function loadMemberContext($user, $display_custom_fields = false)
|
|
|
|
|
|
// First do a quick run through to make sure there is something to be shown.
|
|
|
$memberContext[$user]['has_messenger'] = false;
|
|
|
- foreach (array('icq', 'msn', 'aim', 'yim') as $messenger)
|
|
|
+ foreach (array('icq', 'skype', 'aim', 'yim') as $messenger)
|
|
|
{
|
|
|
if (!isset($context['disabled_fields'][$messenger]) && !empty($memberContext[$user][$messenger]['link']))
|
|
|
{
|