[rootturkhacks.com~]
duyuru LiNK KISALTMAK / TEMA VEYA SCRiPT iSTEĞiNDE BULUNMAK YASAKTIR!
duyuru GiZLi iÇERiKLERE "asdafsdfsdf" TARZI YORUM YAPMAK BAN SEBEBIDIR !
hack forum

[MOD]Skype Me! Extra v 2.0.4/profile skype butonu

#1
Kod:
################################################## ############
## MOD Title: Skype_Me_Extra
## MOD Author: killerbees19 < [email protected] > (Christian Schrötter) http://www.happytec.at
## Second Author: RCTycooner < [email protected] > (Tom Wuyts) http://www.wuyts.org/tom/
##
## Italian Translation: Übersetzungen D/I --> http://www.de-it.ch
##
## MOD Description: German:
## Dieser MOD fügt einen Skypebutton hinzu, wie von ICQ oder MSN.
## Der Skype-Name kann einfach über das Profil geändert werden.
## Mit dieser speziellen Version integrierst du zusätzlich ein Pop-Up
## mit den genauen Skype-Kontaktdaten.
##
## English:
## This mod adds a button just like the msn and icq
## buttons, but then for Skype (htt://www.skype.com). It's editable through
## the user's profile, where he/she can enter his/her username on skype.
## This special-version makes it so that when your Skype Me! button is clicked
## a popup window with various Skype related options is provided.
##
## MOD Demo: http://www.forum.happytec.at/profile...iewprofile&u=3
## MOD Version: 2.0.4
## MOD Compatibility: 2.0.21 - 2.0.22
##
## Installation Level: Easy
## Installation Time: 20 Minutes
## Files To Edit:
## viewtopic.php
## admin/admin_users.php
## includes/functions_validate.php
## includes/usercp_avatar.php
## includes/usercp_register.php
## includes/usercp_viewprofile.php
## language/lang_german/lang_main.php
## language/lang_english/lang_main.php
## language/lang_dutch/lang_main.php
## language/lang_french/lang_main.php
## language/lang_italian/lang_main.php
## templates/xxx/xxx.cfg
## templates/xxx/viewtopic_body.tpl
## templates/xxx/profile_view_body.tpl
## templates/xxx/profile_add_body.tpl
## templates/xxx/admin/user_edit_body.tpl
##
## Included Files:
## skype.php
## images/skype_addcontact.gif
## images/skype_callstart.gif
## images/skype_fileupload.gif
## images/skype_info.gif
## images/skype_message.gif
## images/skype_voicemail.gif
## templates/subSilver/skype_body.tpl
## templates/subSilver/images/lang_german/icon_skype.gif
## templates/subSilver/images/lang_english/icon_skype.gif
## templates/subSilver/images/lang_french/icon_skype.gif
## templates/subSilver/images/lang_dutch/icon_skype.gif
## templates/subSilver/images/lang_italian/icon_skype.gif
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
################################################## ############
## Author Notes:
##
## Updatefiles are in the folder "update"
##
## The templatefile is valid HTML 4.01 - no XHTML!
##
## Please, do not remove the link to happytec.at
## in footer of skype.php
##
################################################## ############
##
## For security purposes, please check http://www.happytec.at/download/d_02.php
## or http://www.wuyts.org/tom/?page=downloads&catId=1
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.de/moddb/
##
################################################## ############
## MOD History:
##
## 2006-11-08 - Version 2.0.4
## - Italian language included
##
## 2006-11-03 - Version 2.0.3
## - Bugfix in usercp_register.php
## - Code optimizes in skype.php
##
## 2006-10-09 - Version 2.0.2
## - Bugfix in usercp_register.php
## - Bigfix in templatefile
## - Dutch language included
## - French language included
##
## 2006-10-08 - Version 2.0.1
## - Skype-Icon updated
##
## 2006-10-04 - Version 2.0.0
## - Official Release
## - install.php updated
##
## 2006-09-27 - Version 2 BETA 1
## - English language included
## - For all databases optimized
## - phpBB Synthax updated
## - "Skype Me! Button Pop-Up" and "Skype_Me_Extra" is now one MOD!
## - Check the correct synthax for the skypename, by editing the profil or registering
##
## 2006-09-17 - Version 1.0.1
## - Language updated
## - Function "zahl" replaced with "is_numeric"
##
## 2006-09-05 - Version 1.0.0
## - Bugfix
##
## 2006-09-04 - Version 0.0.2
## - Bugfix
##
## 2006-08-22 - Version 0.0.1
## - First Release
##
##
################################################## ############
##
## Support: http://www.forum.happytec.at
## http://www.wuyts.org/tom/forum/
##
## Copyright: 2006 Christian Schrötter
## 2006 Tom Wuyts
##
## The included icons are released under the
## "Skype Component License 1.0"
##
################################################## ############
## Before Adding This MOD To Your Forum,
## You Should Back Up All Files Related To This MOD
################################################## ############
#
#-----[ COPY ]------------------------------------------
#
# Copy all files from the root-folder into your
# phpBB-folder. Do this for every template AND
# for every language installed !!!
#
copy root/* to /*

#
#-----[ RUN ]------------------------------------------
# upload, run, then delete if succesful
install.php

#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
//
// Go ahead and pull all data for this topic
//
$sql = "SELECT u.username, u.user_id,

#
#-----[ IN-LINE FIND ]------------------------------------------
#
u.user_yim,

#
#-----[ IN-LINE AFTER ADD ]------------------------------------------
#
u.user_skype,

#
#-----[ FIND ]------------------------------------------
#
$temp_url = append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=$poster_id");
$msn_img = ( $postrow[$i]['user_msnm'] ) ? '<a href="' . $temp_url . '"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
$msn = ( $postrow[$i]['user_msnm'] ) ? '<a href="' . $temp_url . '">' . $lang['MSNM'] . '</a>' : '';

#
#-----[ AFTER, ADD ]------------------------------------------
#
$skype_img = ( $postrow[$i]['user_skype'] ) ? '<a href="#'.$postrow[$i]['post_id'].'" onClick=window.open("skype.'.$phpEx.'?u='.$poster_ id.'","gesamt","********=no,menubar=no,toolbar=no, scrollbars=auto,width=320,height=500,status=no",ti tle="Skype")><img src="' . $images['icon_skype'] . '" alt="' . $lang['skype'] . '" title="' . $lang['skype'] . '" border="0" /></a>' : '';
$skype = ( $postrow[$i]['user_skype'] ) ? '<a href="#'.$postrow[$i]['post_id'].'" onClick=window.open("skype.'.$phpEx.'?u='.$poster_ id.'","gesamt","********=no,menubar=no,toolbar=no, scrollbars=auto,width=320,height=500,status=no",ti tle="Skype")>' . $lang['skype'] . '</a>' : '';

#
#-----[ FIND ]------------------------------------------
#
$msn_img = '';
$msn = '';

#
#-----[ AFTER, ADD ]------------------------------------------
#
$skype_img = '';
$skype = '';

#
#-----[ FIND ]------------------------------------------
#
'MSN_IMG' => $msn_img,
'MSN' => $msn,

#
#-----[ AFTER, ADD ]------------------------------------------
#
'SKYPE_IMG' => $skype_img,
'SKYPE' => $skype,

#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_viewprofile.php

#
#-----[ FIND ]------------------------------------------
#
$msn_img = ( $profiledata['user_msnm'] ) ? $profiledata['user_msnm'] : '&nbsp;';
$msn = $msn_img;

#
#-----[ AFTER, ADD ]------------------------------------------
#
$skype_img = ( $profiledata['user_skype'] ) ? '<a href="#" onClick=window.open("skype.'.$phpEx.'?u='.$profile data['user_id'].'","gesamt","********=no,menubar=no,toolbar=no,sc rollbars=auto,width=320,height=500,status=no",titl e="Skype")><img src="'.$images['icon_skype'].'" alt="'.$lang['skype'].'" title="'.$lang['skype'].'" border="0" /></a>' : '&nbsp;';
$skype = $skype_img;

#
#-----[ FIND ]------------------------------------------
#
'MSN_IMG' => $msn_img,
'MSN' => $msn,

#
#-----[ AFTER, ADD ]------------------------------------------
#
'SKYPE_IMG' => $skype_img,
'SKYPE' => $skype,

#
#-----[ FIND ]------------------------------------------
#
'L_MESSENGER' => $lang['MSNM'],

#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_SKYPE' => $lang['skype'],

#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php

#
#-----[ FIND ]------------------------------------------
#
$strip_var_list = array(

#
#-----[ IN-LINE FIND ]------------------------------------------
#
'msn' => 'msn',

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
'skype' => 'skype',

#
#-----[ FIND ]------------------------------------------
#
validate_optional_fields

#
#-----[ IN-LINE FIND ]------------------------------------------
#
);

#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
, $skype

#
#-----[ FIND ]------------------------------------------
#
$msn = stripslashes($msn);

#
#-----[ AFTER, ADD ]------------------------------------------
#
$skype = stripslashes($skype);

#
#-----[ FIND ]-----
#
if ( isset($HTTP_POST_VARS['submit']) )
{
include($phpbb_root_path . 'includes/usercp_avatar.'.$phpEx);

#
#-----[ AFTER, ADD ]-----
#

// Skype-Erweiterung
if ( !empty($HTTP_POST_VARS['skype']) )
{
$skypemuster = '/^[a-zA-Z0-9_.-]{6,32}$/';
if ( !preg_match( $skypemuster, $HTTP_POST_VARS['skype'] ) )
{
$error = true;
$error_msg = $lang['skype_falsch'];
}
}

#
#-----[ FIND ]------------------------------------------
#
$sql = "UPDATE " . USERS_TABLE . "
SET " . $username_sql . $passwd_sql . "user_email =

#
#-----[ IN-LINE FIND ]------------------------------------------
#
user_msnm = '" . str_replace("\'", "''", $msn) . "',

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
user_skype = '" . str_replace("\'", "''", $skype) . "',

#
#-----[ FIND ]------------------------------------------
#
//
// Get current date
//
$sql = "INSERT INTO " . USERS_TABLE . " (user_id, username,

#
#-----[ IN-LINE FIND ]------------------------------------------
#
user_msnm,

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
user_skype,

#
#-----[ IN-LINE FIND ]------------------------------------------
#
'" . str_replace("\'", "''", $msn) . "',

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
'" . str_replace("\'", "''", $skype) . "',

#
#-----[ FIND ]------------------------------------------
#
'MSN' => $msn,

#
#-----[ AFTER, ADD ]------------------------------------------
#
'SKYPE' => $skype,

#
#-----[ FIND ]------------------------------------------
#
$msn = stripslashes($msn);

#
#-----[ AFTER, ADD ]------------------------------------------
#
$skype = stripslashes($skype);

#
#-----[ FIND ]------------------------------------------
#
$msn = $userdata['user_msnm'];

#
#-----[ AFTER, ADD ]------------------------------------------
#
$skype = $userdata['user_skype'];

#
#-----[ FIND ]------------------------------------------
#
display_avatar_gallery

#
#-----[ IN-LINE FIND ]------------------------------------------
#
$msn,

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
$skype,

#
#-----[ FIND ]------------------------------------------
#
'MSN' => $msn,

#
#-----[ AFTER, ADD ]------------------------------------------
#
'SKYPE' => $skype,

#
#-----[ FIND ]------------------------------------------
#
'L_MESSENGER' => $lang['MSNM'],

#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_SKYPE' => $lang['skype'],

#
#-----[ OPEN ]------------------------------------------
#
includes/functions_validate.php

#
#-----[ FIND ]------------------------------------------
#
function validate_optional_fields(

#
#-----[ IN-LINE FIND ]------------------------------------------
#
)

#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
, &$skype

#
#-----[ FIND ]------------------------------------------
#
$check_var_length = array(

#
#-----[ IN-LINE FIND ]------------------------------------------
#
);

#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
, 'skype'

#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_avatar.php

#
#-----[ FIND ]------------------------------------------
#
function display_avatar_gallery(

#
#-----[ IN-LINE FIND ]------------------------------------------
#
&$msn,

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
&$skype,

#
#-----[ FIND ]------------------------------------------
#
$params = array(

#
#-----[ IN-LINE FIND ]------------------------------------------
#
'msn',

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
'skype',

#
#-----[ OPEN ]------------------------------------------
# Only, if you installed the german language-file
language/lang_german/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
$lang['MSNM'] = 'MSN Messenger';

#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['skype'] = 'Skype-Name';

#
#-----[ FIND ]------------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------
#
// Skype-Erweiterung
$lang['skype_falsch'] = 'Bitte gib einen korrekten Skypenamen ein';
$lang['skype_seitentitel'] = 'Skype&trade;';
$lang['skype_add'] = 'Zur Skype-Kontaktliste hinzufügen';
$lang['skype_call'] = 'Über Skype anrufen';
$lang['skype_userinfo'] = 'Skype-Profil ansehen';
$lang['skype_chat'] = 'Skype-Textchat starten';
$lang['skype_sendfile'] = 'Eine Datei über Skype versenden';
$lang['skype_voicemail'] = 'Skype-Sprachmitteilung hinterlassen';
$lang['skype_no'] = '<p><b>Leider hat der Benutzer keinen Skype&trade;-Benutzernamen angegeben!</b></p>';
$lang['skype_error'] = 'Der angegebene Benutzer existiert nicht!';
$lang['skype_oben'] = 'Hier kannst du über <a target="blank" class="gen" href="http://www.skype.com/intl/de/">Skype&trade;</a> Kontakt zu <b>%s</b> aufnehmen:';
$lang['skype_unten'] = 'Damit du diese Funktionen nutzen kannst, musst du <a target="blank" class="gen" href="http://www.skype.com/intl/de/">Skype&trade;</a> installiert haben!';
$lang['skype_copy'] = '<span class="gen"><p style="text-align: center;"><a target="_blank" class="copyright" href="http://www.happytec.at">MOD von HAPPYTEC.at</a><br></p></span>';

#
#-----[ OPEN ]------------------------------------------
# Only, if you installed the english language-file
language/lang_english/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
$lang['MSNM'] = 'MSN Messenger';

#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['skype'] = 'Skype Name';

#
#-----[ FIND ]------------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------
#
// Skype-Erweiterung
$lang['skype_falsch'] = 'Please enter your correct skype-name';
$lang['skype_seitentitel'] = 'Skype&trade;';
$lang['skype_add'] = 'Add to contactlist';
$lang['skype_call'] = 'call';
$lang['skype_userinfo'] = 'Userinfo';
$lang['skype_chat'] = 'Start text-chat';
$lang['skype_sendfile'] = 'Send a file';
$lang['skype_voicemail'] = 'Leave voicemessage';
$lang['skype_no'] = '<p><b>This user has no skype!</b></p>';
$lang['skype_error'] = 'This user does not exist!';
$lang['skype_oben'] = 'Here you can contact <b>%s</b> over <a target="blank" class="gen" href="http://www.skype.com">Skype&trade;</a>:';
$lang['skype_unten'] = 'This function works only, if you have installed <a target="blank" class="gen" href="http://www.skype.com">Skype&trade;</a> on your PC!';
$lang['skype_copy'] = '<span class="gen"><p style="text-align: center;"><a target="_blank" class="copyright" href="http://www.happytec.at">MOD from HAPPYTEC.at</a><br></p></span>';

#
#-----[ OPEN ]------------------------------------------
# Only, if you installed the dutch language-file
language/lang_dutch/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
$lang['MSNM'] = 'MSN Messenger';

#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['skype'] = 'Skype-Name';

#
#-----[ FIND ]------------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------
#
// Skype Me! Extra
$lang['skype_falsch'] = 'Gelieve een geldige skype-naam in te vullen.';
$lang['skype_seitentitel'] = 'Skype&trade;';
$lang['skype_add'] = 'Voeg toe aan contactpersonen';
$lang['skype_call'] = 'bel';
$lang['skype_userinfo'] = 'Profiel';
$lang['skype_chat'] = 'Start text-chat';
$lang['skype_sendfile'] = 'Stuur een bestand';
$lang['skype_voicemail'] = 'Laat een voicemail achter';
$lang['skype_no'] = '<p><b>Deze gebruiker heeft geen skype!</b></p>';
$lang['skype_error'] = 'Deze gebruiker bestaat niet!';
$lang['skype_oben'] = 'Hier kan je contact maken met <a target="blank" class="gen" href="http://www.skype.com">Skype&trade;</a>:';
$lang['skype_unten'] = 'Deze mogelijkheid kan je enkel gebruiken, als je <a target="blank" class="gen" href="http://www.skype.com">Skype&trade;</a> op je computer hebt geïnstalleerd!';
$lang['skype_copy'] = '<span class="copyright"><p style="text-align: center;><a target="_blank" class="copyright" href="http://www.happytec.at">MOD door HAPPYTEC.at</a><br></p></span>';

#
#-----[ OPEN ]------------------------------------------
# Only, if you installed the french language-file
language/lang_french/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
$lang['MSNM'] = 'MSN Messenger';

#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['skype'] = 'Skype nom';

#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]-----
#
// Skype Me! Extra
$lang['skype_falsch'] = 'Donner un valide nom de Skype.';
$lang['skype_seitentitel'] = 'Skype&trade;';
$lang['skype_add'] = 'Ajoute à votre liste de contacts.';
$lang['skype_call'] = 'appel';
$lang['skype_userinfo'] = 'Information';
$lang['skype_chat'] = 'Commence un chat-session';
$lang['skype_sendfile'] = 'Envoie un ********';
$lang['skype_voicemail'] = 'Laissez un message.';
$lang['skype_no'] = '<p><b>Cet utilisateur n\'a pas skype!</b></p>';
$lang['skype_error'] = 'Cet utilisateur n\'existe pas!';
$lang['skype_oben'] = 'Ici, c\'est possible pour communiquer avec <a target="blank" class="gen" href="http://www.skype.com">Skype&trade;</a>:';
$lang['skype_unten'] = 'Cette possibilité est seulement accessible, quand vous avez installer <a target="blank" class="gen" href="http://www.skype.com">Skype&trade;</a> sur votre ordinateur!';
$lang['skype_copy'] = '<span class="copyright"><p style="text-align: center;"><a target="_blank" class="copyright" href="http://www.happytec.at">MOD de HAPPYTEC.at</a><br></p></span>';

#
#-----[ OPEN ]------------------------------------------
# Only, if you installed the italian language-file
language/lang_italian/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
$lang['MSNM'] = 'MSN';

#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['skype'] = 'Skype';

#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]-----
#
$lang['skype_falsch'] = 'Per favore, digita un nome Skype corretto';
$lang['skype_seitentitel'] = 'Skype&trade;';
$lang['skype_add'] = 'Aggiungi all\'elenco dei contatti Skype';
$lang['skype_call'] = 'Da richiamare tramite Skype';
$lang['skype_userinfo'] = 'Guarda il profilo Skype';
$lang['skype_chat'] = 'Avvia il testo di chat Skype';
$lang['skype_sendfile'] = 'Invia un file tramite Skype';
$lang['skype_voicemail'] = 'Fai una nota orale Skype';
$lang['skype_no'] = '<p><b>Purtroppo l\'utente non ha indicato un nome d\'utente Skype&trade;!</b></p>';
$lang['skype_error'] = 'L\'utente indicato non esiste!';
$lang['skype_oben'] = 'Tramite <a target="blank" class="gen" href="http://www.skype.com/">Skype&trade;</a> qui puoi metterti in contatto con <b>%s</b>:';
$lang['skype_unten'] = 'Per poter usare questa funzione devi aver installato <a target="blank" class="gen" href="http://www.skype.com/">Skype&trade;</a>!';
$lang['skype_copy'] = '<span class="gen"><p style="text-align: center;"><a target="_blank" class="copyright" href="http://www.happytec.at">MOD di HAPPYTEC.at</a><br></p></span>';

#
#-----[ OPEN ]------------------------------------------
# note: do this for every template installed
# example for this one: templates/subSilver/subSilver.cfg

templates/xxx/xxx.cfg

#
#-----[ FIND ]------------------------------------------
#
$images['icon_msnm'] = "$current_template_images/{LANG}/icon_msnm.gif";

#
#-----[ AFTER, ADD ]------------------------------------------
#
$images['icon_skype'] = "$current_template_images/{LANG}/icon_skype.gif";

#
#-----[ OPEN ]------------------------------------------
# note: do this for every template installed

templates/xxx/viewtopic_body.tpl

#
#-----[ FIND ]------------------------------------------
#
{postrow.MSN_IMG}

#
#-----[ AFTER, ADD ]------------------------------------------
#
{postrow.SKYPE_IMG}

#
#-----[ OPEN ]------------------------------------------
# note: do this for every template installed

templates/xxx/profile_view_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<td class="row1" valign="middle"><span class="gen">{MSN}</span></td>
</tr>

#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_SKYPE}:</span></td>
<td class="row1" valign="middle"><span class="gen">{SKYPE}</span></td>
</tr>

#
#-----[ OPEN ]------------------------------------------
# note: do this for every template installed

templates/xxx/profile_add_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<input type="text" class="post" style="width: 150px" name="msn" size="20" maxlength="255" value="{MSN}" />
</td>
</tr>

#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_SKYPE}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 150px" name="skype" size="20" maxlength="255" value="{SKYPE}" />
</td>
</tr>

#
#-----[ OPEN ]------------------------------------------
#
admin/admin_users.php

#
#-----[ FIND ]------------------------------------------
#
$msn = ( !empty($HTTP_POST_VARS['msn']) ) ? trim(strip_tags( $HTTP_POST_VARS['msn'] ) ) : '';

#
#-----[ AFTER, ADD ]------------------------------------------
#
$skype = ( !empty($HTTP_POST_VARS['skype']) ) ? trim(strip_tags( $HTTP_POST_VARS['skype'] ) ) : '';

#
#-----[ FIND ]------------------------------------------
#
validate_optional_fields

#
#-----[ IN-LINE FIND ]------------------------------------------
#
);

#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
, $skype

#
#-----[ FIND ]------------------------------------------
#
$msn = htmlspecialchars(stripslashes($msn));

#
#-----[ AFTER, ADD ]------------------------------------------
#
$skype = htmlspecialchars(stripslashes($skype));

#
#-----[ FIND ]------------------------------------------
#
$sql = "UPDATE " . USERS_TABLE . "
SET " . $username_sql .

#
#-----[ IN-LINE FIND ]------------------------------------------
#
, user_msnm = '" . str_replace("\'", "''", $msn) . "'

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, user_skype = '" . str_replace("\'", "''", $skype) . "'

#
#-----[ FIND ]------------------------------------------
#
$msn = htmlspecialchars(stripslashes($msn));

#
#-----[ AFTER, ADD ]------------------------------------------
#
$skype = htmlspecialchars(stripslashes($skype));

#
#-----[ FIND ]------------------------------------------
#
$msn = htmlspecialchars($this_userdata['user_msnm']);

#
#-----[ AFTER, ADD ]------------------------------------------
#
$skype = htmlspecialchars($this_userdata['user_skype']);

#
#-----[ FIND ]------------------------------------------
#
$s_hidden_fields .= '<input type="hidden" name="msn" value="' . str_replace("\"", "&quot;", $msn) . '" />';

#
#-----[ AFTER, ADD ]------------------------------------------
#
$s_hidden_fields .= '<input type="hidden" name="skype" value="' . str_replace("\"", "&quot;", $skype) . '" />';

#
#-----[ FIND ]------------------------------------------
#
'MSN' => $msn,

#
#-----[ AFTER, ADD ]------------------------------------------
#
'SKYPE' => $skype,

#
#-----[ FIND ]------------------------------------------
#
'L_MESSENGER' => $lang['MSNM'],

#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_SKYPE' => $lang['skype'],

#
#-----[ OPEN ]------------------------------------------
# note: do this for every template installed

templates/xxx/admin/user_edit_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<input class="post" type="text" name="msn" size="20" maxlength="255" value="{MSN}" />
</td>
</tr>

#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_SKYPE}</span></td>
<td class="row2">
<input class="post" type="text" name="skype" size="20" maxlength="255" value="{SKYPE}" />
</td>
</tr>

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
imza
Eski Kurt
Alıntı
#2
Teşekkürler
imza
Alıntı


Benzer Konular...
Konu: Yazar Cevaplar: Gösterim: Son Mesaj
  [MOD] Hide Empty Fields in User Profile MiRaT 0 404 01-28-2018, 09:05 PM
Son Mesaj: MiRaT
  [MOD] Extra Color / Extra Renkler MiRaT 0 335 01-28-2018, 09:02 PM
Son Mesaj: MiRaT



Bu konuyu görüntüleyen kullanıcı(lar): 1 Ziyaretçi
brazzers premium accounts izmit escort porno beylikdüzü escort avcılar escort porno cami halısı cami halısı vdcasino vdcasino giriş ilbet casino siteleri taraftarium24 ilbet giriş mobil ödeme ile bahis izmir escort izmir escort izmir escort izmir escort diyarbakır escort kızılay escort gaziantep escort