

Code: Selecteer alles
#
#-----[ SQL ]------------------------------------------
#
ALTER TABLE `phpbb_users` ADD `user_xfire` VARCHAR( 255 ) ;
#
#-----[ COPY ]------------------------------------------
#
copy templates/subSilver/images/lang_english/icon_xfire.gif to templates/subSilver/images/lang_english/icon_xfire.gif
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------
#
$sql = "SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, p.*, pt.post_text, pt.post_subject, pt.bbcode_uid
#
#-----[ INLINE FIND ]------------------------------------
#
, u.user_yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
, u.user_xfire
#
#-----[ FIND ]------------------------------------
#
$yim_img = ( $postrow[$i]['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $postrow[$i]['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
$yim = ( $postrow[$i]['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $postrow[$i]['user_yim'] . '&.src=pg">' . $lang['YIM'] . '</a>' : '';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$xfire_img = ( $postrow[$i]['user_xfire'] ) ? '<a href="http://www.xfire.com/xf/modules.php?name=XFire&file=profile&uname=' . $postrow[$i]['user_xfire'] . '" target="_blank"><img src="' . $images['icon_xfire'] . '" alt="' . $lang['xfire'] . '" title="' . $lang['xfire'] . '" border="0" /></a>' : '';
$xfire = ( $postrow[$i]['user_xfire'] ) ? '<a href="http://www.xfire.com/xf/modules.php?name=XFire&file=profile&uname=' . $postrow[$i]['user_xfire'] . '" target="_blank">' . $lang['xfire'] . '</a>' : '';
#
#-----[ FIND ]------------------------------------
#
$yim_img = '';
$yim = '';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$xfire_img = '';
$xfire = '';
#
#-----[ FIND ]------------------------------------
#
'YIM_IMG' => $yim_img,
'YIM' => $yim,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'XFIRE_IMG' => $xfire_img,
'XFIRE' => $xfire,
#
#-----[ OPEN ]------------------------------------------
#
privmsg.php
#
#-----[ FIND ]------------------------------------
#
$sql = "SELECT u.username AS username_1, u.user_id AS user_id_1, u2.username AS username_2, u2.user_id AS user_id_2, u.user_sig_bbcode_uid, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_avatar, pm.*, pmt.privmsgs_bbcode_uid, pmt.privmsgs_text
FROM " . PRIVMSGS_TABLE . " pm, " . PRIVMSGS_TEXT_TABLE . " pmt, " . USERS_TABLE . " u, " . USERS_TABLE . " u2
#
#-----[ INLINE FIND ]------------------------------------
#
, u.user_yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
, u.user_xfire
#
#-----[ FIND ]------------------------------------
#
$yim_img = ( $privmsg['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $privmsg['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
$yim = ( $privmsg['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $privmsg['user_yim'] . '&.src=pg">' . $lang['YIM'] . '</a>' : '';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$xfire_img = ( $privmsg['user_xfire'] ) ? '<a href="http://www.xfire.com/xf/modules.php?name=XFire&file=profile&uname=' . $postrow[$i]['user_xfire'] . '" target="_blank"><img src="' . $images['icon_xfire'] . '" alt="' . $lang['xfire'] . '" title="' . $lang['xfire'] . '" border="0" /></a>' : '';
$xfire = ( $privmsg['user_xfire'] ) ? '<a href="http://www.xfire.com/xf/modules.php?name=XFire&file=profile&uname=' . $postrow[$i]['user_xfire'] . '" target="_blank">' . $lang['xfire'] . '</a>' : '';
#
#-----[ FIND ]------------------------------------
#
'YIM_IMG' => $yim_img,
'YIM' => $yim)
#
#-----[ REPLACE WITH ]------------------------------------------
#
'YIM_IMG' => $yim_img,
'YIM' => $yim,
'XFIRE_IMG' => $xfire_img,
'XFIRE' => $xfire)
#
#-----[ OPEN ]------------------------------------------
#
memberlist.php
#
#-----[ FIND ]------------------------------------
#
'L_YIM' => $lang['YIM'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_XFIRE' => $lang['xfire'],
#
#-----[ FIND ]------------------------------------
#
$sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_from, user_website, user_email, user_icq, user_aim, user_yim, user_msnm, user_avatar, user_avatar_type, user_allowavatar
FROM " . USERS_TABLE . "
#
#-----[ INLINE FIND ]------------------------------------
#
, user_yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
, user_xfire
#
#-----[ FIND ]------------------------------------
#
$yim_img = ( $row['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $row['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
$yim = ( $row['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $row['user_yim'] . '&.src=pg">' . $lang['YIM'] . '</a>' : '';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$xfire_img = ( $row['user_xfire'] ) ? '<a href="http://www.xfire.com/xf/modules.php?name=XFire&file=profile&uname=' . $postrow[$i]['user_xfire'] . '" target="_blank"><img src="' . $images['icon_xfire'] . '" alt="' . $lang['xfire'] . '" title="' . $lang['xfire'] . '" border="0" /></a>' : '';
$xfire = ( $row['user_xfire'] ) ? '<a href="http://www.xfire.com/xf/modules.php?name=XFire&file=profile&uname=' . $postrow[$i]['user_xfire'] . '" target="_blank">' . $lang['xfire'] . '</a>' : '';
#
#-----[ FIND ]------------------------------------
#
'YIM_IMG' => $yim_img,
'YIM' => $yim,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'XFIRE_IMG' => $xfire_img,
'XFIRE' => $xfire,
#
#-----[ OPEN ]------------------------------------------
#
groupcp.php
#
#-----[ FIND ]------------------------------------
#
function generate_user_info(&$row, $date_format, $group_mod, &$from, &$posts, &$joined, &$poster_avatar, &$profile_img, &$profile, &$search_img, &$search, &$pm_img, &$pm, &$email_img, &$email, &$www_img, &$www, &$icq_status_img, &$icq_img, &$icq, &$aim_img, &$aim, &$msn_img, &$msn, &$yim_img, &$yim)
#
#-----[ INLINE FIND ]------------------------------------------
#
, &$yim_img, &$yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------------
#
, &$xfire_img, &$xfire
#
#-----[ FIND ]------------------------------------
#
$yim_img = ( $row['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $row['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
$yim = ( $row['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $row['user_yim'] . '&.src=pg">' . $lang['YIM'] . '</a>' : '';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$xfire_img = ( $row['user_xfire'] ) ? '<a href="http://www.xfire.com/xf/modules.php?name=XFire&file=profile&uname=' . $postrow[$i]['user_xfire'] . '"><img src="' . $images['icon_xfire'] . '" alt="' . $lang['xfire'] . '" title="' . $lang['xfire'] . '" border="0" /></a>' : '';
$xfire = ( $row['user_xfire'] ) ? '<a href="http://www.xfire.com/xf/modules.php?name=XFire&file=profile&uname=' . $postrow[$i]['user_xfire'] . '">' . $lang['xfire'] . '</a>' : '';
#
#-----[ FIND ]------------------------------------
#
$sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_from, user_website, user_email, user_icq, user_aim, user_yim, user_msnm
#
#-----[ INLINE FIND ]------------------------------------------
#
, user_yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------------
#
, user_xfire
#
#-----[ FIND ]------------------------------------
#
$sql = "SELECT u.username, u.user_id, u.user_viewemail, u.user_posts, u.user_regdate, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_msnm, ug.user_pending
#
#-----[ INLINE FIND ]------------------------------------------
#
, u.user_yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------------
#
, u.user_xfire
#
#-----[ FIND ]------------------------------------
#
$sql = "SELECT u.username, u.user_id, u.user_viewemail, u.user_posts, u.user_regdate, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_msnm
#
#-----[ INLINE FIND ]------------------------------------------
#
, u.user_yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------------
#
, u.user_xfire
#
#-----[ FIND ]------------------------------------
#
generate_user_info($group_moderator, $board_config['default_dateformat'], $is_moderator, $from, $posts, $joined, $poster_avatar, $profile_img, $profile, $search_img, $search, $pm_img, $pm, $email_img, $email, $www_img, $www, $icq_status_img, $icq_img, $icq, $aim_img, $aim, $msn_img, $msn, $yim_img, $yim);
#
#-----[ INLINE FIND ]------------------------------------------
#
, $yim_img, $yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------------
#
, $xfire_img, $xfire
#
#-----[ FIND ]------------------------------------
#
'L_YIM' => $lang['YIM'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_XFIRE' => $lang['xfire'],
#
#-----[ FIND ]------------------------------------
#
'MOD_YIM_IMG' => $yim_img,
'MOD_YIM' => $yim,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'MOD_XFIRE_IMG' => $xfire_img,
'MOD_XFIRE' => $xfire,
#
#-----[ FIND ]------------------------------------
#
generate_user_info($group_members[$i], $board_config['default_dateformat'], $is_moderator, $from, $posts, $joined, $poster_avatar, $profile_img, $profile, $search_img, $search, $pm_img, $pm, $email_img, $email, $www_img, $www, $icq_status_img, $icq_img, $icq, $aim_img, $aim, $msn_img, $msn, $yim_img, $yim);
#
#-----[ INLINE FIND ]------------------------------------------
#
, $yim_img, $yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------------
#
, $xfire_img, $xfire
#
#-----[ FIND ]------------------------------------
#
'YIM_IMG' => $yim_img,
'YIM' => $yim,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'XFIRE_IMG' => $xfire_img,
'XFIRE' => $xfire,
#
#-----[ FIND ]------------------------------------
#
generate_user_info($modgroup_pending_list[$i], $board_config['default_dateformat'], $is_moderator, $from, $posts, $joined, $poster_avatar, $profile_img, $profile, $search_img, $search, $pm_img, $pm, $email_img, $email, $www_img, $www, $icq_status_img, $icq_img, $icq, $aim_img, $aim, $msn_img, $msn, $yim_img, $yim);
#
#-----[ INLINE FIND ]------------------------------------------
#
, $yim_img, $yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------------
#
, $xfire_img, $xfire
#
#-----[ FIND ]------------------------------------
#
'YIM_IMG' => $yim_img,
'YIM' => $yim,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'XFIRE_IMG' => $xfire_img,
'XFIRE' => $xfire,
#
#-----[ OPEN ]------------------------------------------
#
admin/admin_users.php
#
#-----[ FIND ]------------------------------------
#
$yim = ( !empty($HTTP_POST_VARS['yim']) ) ? trim(strip_tags( $HTTP_POST_VARS['yim'] ) ) : '';
#
#-----[ AFTER, ADD ]------------------------------------
#
$xfire = ( !empty($HTTP_POST_VARS['xfire']) ) ? trim(strip_tags( $HTTP_POST_VARS['xfire'] ) ) : '';
#
#-----[ FIND ]------------------------------------
#
validate_optional_fields($icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature);
#
#-----[ INLINE FIND ]------------------------------------
#
, $yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
, $xfire
#
#-----[ FIND ]------------------------------------
#
$yim = htmlspecialchars(stripslashes($yim));
#
#-----[ AFTER, ADD ]------------------------------------
#
$xfire = htmlspecialchars(stripslashes($xfire));
#
#-----[ FIND ]------------------------------------
#
SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) . "', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", $aim) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_sig_bbcode_uid = '$signature_bbcode_uid', user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowavatar = $user_allowavatar, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_allow_pm = $user_allowpm, user_notify_pm = $notifypm, user_popup_pm = $popuppm, user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_active = $user_status, user_rank = $user_rank" . $avatar_sql . "
#
#-----[ INLINE FIND ]------------------------------------
#
. "', user_yim = '" . str_replace("\'", "''", $yim)
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
. "', user_xfire = '" . str_replace("\'", "''", $xfire)
#
#-----[ FIND ]------------------------------------
#
$yim = htmlspecialchars(stripslashes($yim));
#
#-----[ AFTER, ADD ]------------------------------------
#
$xfire = htmlspecialchars(stripslashes($xfire));
#
#-----[ FIND ]------------------------------------
#
$yim = htmlspecialchars($this_userdata['user_yim']);
#
#-----[ AFTER, ADD ]------------------------------------
#
$xfire = htmlspecialchars($this_userdata['user_xfire']);
#
#-----[ FIND ]------------------------------------
#
$s_hidden_fields .= '<input type="hidden" name="yim" value="' . str_replace("\"", """, $yim) . '" />';
#
#-----[ AFTER, ADD ]------------------------------------
#
$s_hidden_fields .= '<input type="hidden" name="xfire" value="' . str_replace("\"", """, $xfire) . '" />';
#
#-----[ FIND ]------------------------------------
#
'YIM' => $yim,
#
#-----[ AFTER, ADD ]------------------------------------
#
'XFIRE' => $xfire,
#
#-----[ FIND ]------------------------------------
#
'L_YAHOO' => $lang['YIM'],
#
#-----[ AFTER, ADD ]------------------------------------
#
'L_XFIRE' => $lang['xfire'],
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_viewprofile.php
#
#-----[ FIND ]------------------------------------
#
$yim_img = ( $profiledata['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $profiledata['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
$yim = ( $profiledata['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $profiledata['user_yim'] . '&.src=pg">' . $lang['YIM'] . '</a>' : '';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$xfire_img = ( $profiledata['user_xfire'] ) ? '<a href="http://www.xfire.com/xf/modules.php?name=XFire&file=profile&uname=' . $profiledata['user_xfire'] . '" target="_blank"><img src="' . $images['icon_xfire'] . '" alt="' . $lang['xfire'] . '" title="' . $lang['xfire'] . '" border="0" /></a>' : '';
$xfire = ( $profiledata['user_xfire'] ) ? '<a href="http://www.xfire.com/xf/modules.php?name=XFire&file=profile&uname=' . $profiledata['user_xfire'] . '" target="_blank">' . $lang['xfire'] . '</a>' : '';
#
#-----[ FIND ]------------------------------------
#
'YIM_IMG' => $yim_img,
'YIM' => $yim,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'XFIRE_IMG' => $xfire_img,
'XFIRE' => $xfire,
#
#-----[ FIND ]------------------------------------
#
'L_YAHOO' => $lang['YIM'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_XFIRE' => $lang['xfire'],
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php
#
#-----[ FIND ]------------------------------------
#
$strip_var_list = array('username' => 'username', 'email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests');
#
#-----[ INLINE FIND ]------------------------------------
#
, 'yim' => 'yim'
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
, 'xfire' => 'xfire'
#
#-----[ FIND ]------------------------------------
#
validate_optional_fields($icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature);
#
#-----[ INLINE FIND ]------------------------------------
#
, $yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
, $xfire
#
#-----[ FIND ]------------------------------------
#
$yim = stripslashes($yim);
#
#-----[ AFTER, ADD ]------------------------------------------
#
$xfire = stripslashes($xfire);
#
#-----[ FIND ]------------------------------------
#
SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, user_popup_pm = $popup_pm, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '" . str_replace("\'", "''", $user_actkey) . "'" . $avatar_sql . "
#
#-----[ INLINE FIND ]------------------------------------
#
, user_yim = '" . str_replace("\'", "''", $yim) . "'
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
, user_xfire = '" . str_replace("\'", "''", $xfire) . "'
#
#-----[ FIND ]------------------------------------
#
$sql = "INSERT INTO " . USERS_TABLE . " (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_sig_bbcode_uid, user_avatar, user_avatar_type, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_popup_pm, user_timezone, user_dateformat, user_lang, user_style, user_level, user_allow_pm, user_active, user_actkey)
#
#-----[ INLINE FIND ]------------------------------------
#
, user_yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
, user_xfire
#
#-----[ FIND ]------------------------------------
#
VALUES ($user_id, '" . str_replace("\'", "''", $username) . "', " . time() . ", '" . str_replace("\'", "''", $new_password) . "', '" . str_replace("\'", "''", $email) . "', '" . str_replace("\'", "''", $icq) . "', '" . str_replace("\'", "''", $website) . "', '" . str_replace("\'", "''", $occupation) . "', '" . str_replace("\'", "''", $location) . "', '" . str_replace("\'", "''", $interests) . "', '" . str_replace("\'", "''", $signature) . "', '$signature_bbcode_uid', $avatar_sql, $viewemail, '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', '" . str_replace("\'", "''", $yim) . "', '" . str_replace("\'", "''", $msn) . "', $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $popup_pm, $user_timezone, '" . str_replace("\'", "''", $user_dateformat) . "', '" . str_replace("\'", "''", $user_lang) . "', $user_style, 0, 1, ";
#
#-----[ INLINE FIND ]------------------------------------
#
, user_yim = '" . str_replace("\'", "''", $yim) . "'
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
, user_xfire = '" . str_replace("\'", "''", $xfir) . "'
#
#-----[ FIND ]------------------------------------
#
'YIM' => $yim,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'XFIRE' => $xfire,
#
#-----[ FIND ]------------------------------------
#
$yim = stripslashes($yim);
#
#-----[ AFTER, ADD ]------------------------------------------
#
$xfire = stripslashes($xfire);
#
#-----[ FIND ]------------------------------------
#
$yim = $userdata['user_yim'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
$xfire = $userdata['user_xfire'];
#
#-----[ FIND ]------------------------------------
#
display_avatar_gallery($mode, $avatar_category, $user_id, $email, $current_email, $coppa, $username, $email, &$new_password, &$cur_password, $password_confirm, $icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature, $viewemail, $notifypm, $popup_pm, $notifyreply, $attachsig, $allowhtml, $allowbbcode, $allowsmilies, $allowviewonline, $user_style, $user_lang, $user_timezone, $user_dateformat, $userdata['session_id']);
#
#-----[ INLINE FIND ]------------------------------------
#
, $yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
, $xfire
#
#-----[ FIND ]------------------------------------
#
'YIM' => $yim,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'XFIRE' => $xfire,
#
#-----[ FIND ]------------------------------------
#
'L_YAHOO' => $lang['YIM'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_XFIRE' => $lang['xfire'],
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_avater.php
#
#-----[ FIND ]------------------------------------
#
function display_avatar_gallery($mode, &$category, &$user_id, &$email, &$current_email, &$coppa, &$username, &$email, &$new_password, &$cur_password, &$password_confirm, &$icq, &$aim, &$msn, &$yim, &$website, &$location, &$occupation, &$interests, &$signature, &$viewemail, &$notifypm, &$popup_pm, &$notifyreply, &$attachsig, &$allowhtml, &$allowbbcode, &$allowsmilies, &$hideonline, &$style, &$language, &$timezone, &$dateformat, &$session_id)
#
#-----[ INLINE FIND ]------------------------------------
#
, &$yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
, &$xfire
#
#-----[ FIND ]------------------------------------
#
$params = array('coppa', 'user_id', 'username', 'email', 'current_email', 'cur_password', 'new_password', 'password_confirm', 'icq', 'aim', 'msn', 'yim', 'website', 'location', 'occupation', 'interests', 'signature', 'viewemail', 'notifypm', 'popup_pm', 'notifyreply', 'attachsig', 'allowhtml', 'allowbbcode', 'allowsmilies', 'hideonline', 'style', 'language', 'timezone', 'dateformat');
#
#-----[ INLINE FIND ]------------------------------------
#
, 'yim'
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
, 'xfire'
#
#-----[ OPEN ]------------------------------------------
#
includes/functions_validate.php
#
#-----[ FIND ]------------------------------------
#
function validate_optional_fields(&$icq, &$aim, &$msnm, &$yim, &$website, &$location, &$occupation, &$interests, &$sig)
#
#-----[ INLINE FIND ]------------------------------------
#
, &$yim
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
, &$xfire
#
#-----[ FIND ]------------------------------------
#
$check_var_length = array('aim', 'msnm', 'yim', 'location', 'occupation', 'interests', 'sig');
#
#-----[ INLINE FIND ]------------------------------------
#
, 'yim'
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
, 'xfire'
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------
#
$lang['YIM'] = 'Yahoo Messenger';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['xfire'] = 'Xfire';
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/subSilver.cfg
#
#-----[ FIND ]------------------------------------
#
$images['icon_yim'] = "$current_template_images/{LANG}/icon_yim.gif";
#
#-----[ AFTER, ADD ]------------------------------------------
#
$images['icon_xfire'] = "$current_template_images/{LANG}/icon_xfire.gif";
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/privmsgs_read_body.tpl
#
#-----[ FIND ]------------------------------------
#
{WWW_IMG} {AIM_IMG} {YIM_IMG}
#
#-----[ INLINE FIND ]------------------------------------
#
{YIM_IMG}
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
{XFIRE_IMG}
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------
#
<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!--
#
#-----[ INLINE FIND ]------------------------------------
#
{postrow.YIM_IMG}
#
#-----[ INLINE AFTER, ADD ]------------------------------------
#
{postrow.XFIRE_IMG}
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_view_body.tpl
#
#-----[ FIND ]------------------------------------
#
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_YAHOO}:</span></td>
<td class="row1" valign="middle"><span class="gen">{YIM_IMG}</span></td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_XFIRE}:</span></td>
<td class="row1" valign="middle"><span class="gen">{XFIRE_IMG}</span></td>
</tr>
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_add_body.tpl
#
#-----[ FIND ]------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_YAHOO}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 150px" name="yim" size="20" maxlength="255" value="{YIM}" />
</td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_XFIRE}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 150px" name="Xfire" size="20" maxlength="255" value="{XFIRE}" />
</td>
</tr>
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/user_edit_body.tpl
#
#-----[ FIND ]------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_YAHOO}</span></td>
<td class="row2">
<input class="post" type="text" name="yim" size="20" maxlength="255" value="{YIM}" />
</td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_XFIRE}:</span></td>
<td class="row2">
<input class="post" type="text" name="xfire" size="20" maxlength="255" value="{XFIRE}" />
</td>
</tr>
Code: Selecteer alles
#
#-----[ SQL ]------------------------------------------
#
ALTER TABLE `phpbb_users` ADD `user_xfire` VARCHAR( 255 ) ;