wie kriege ich die komplette funktion wieder raus?
ich möchte diese nicht haben.
#
#----------[ FIND ]-------------------------------------
#
$allowviewonline = ( isset($HTTP_POST_VARS['hideonline']) ) ? ( ($HTTP_POST_VARS['hideonline']) ? 0 : TRUE ) : TRUE;
#
#----------[ AFTER, ADD ]-------------------------------
#
// <!-- BEGIN easyUCP -->
$allowviewprofile = ( isset($HTTP_POST_VARS['hideprofile']) ) ? ( ($HTTP_POST_VARS['hideprofile']) ? 0 : TRUE ) : TRUE;
// <!-- END easyUCP -->
// Preferences
if ( $ucp_mode == 'ucp_prefs' || $ucp_mode == '' )
{
$sql = "UPDATE " . USERS_TABLE . "
SET user_viewemail = $viewemail, user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_allow_viewprofile = $allowviewprofile, 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
WHERE user_id = $user_id";
, user_allow_viewprofile = $allowviewprofile
#
#----------[ FIND ]-------------------------------------
#
$sql = "INSERT INTO " . USERS_TABLE . " (user_id,
#
#----------[ INLINE FIND ]------------------------------
#
, user_allow_viewonline
#
#----------[ INLINE AFTER, ADD ]------------------------
#
, user_allow_viewprofile
#
#----------[ FIND ]-------------------------------------
#
VALUES ($user_id,
#
#----------[ INLINE FIND ]------------------------------
#
, $allowviewonline
#
#----------[ INLINE AFTER, ADD ]------------------------
#
, $allowviewprofile
#
#----------[ FIND ]-------------------------------------
#
$allowviewonline = $userdata['user_allow_viewonline'];
#
#----------[ AFTER, ADD ]-------------------------------
#
// <!-- BEGIN easyUCP -->
$allowviewprofile = $userdata['user_allow_viewprofile'];
// <!-- END easyUCP -->
#
#----------[ FIND ]-------------------------------------
#
'HIDE_USER_NO' => ( $allowviewonline ) ? 'checked="checked"' : '',
#
#----------[ AFTER, ADD ]-------------------------------
#
// <!-- BEGIN easyUCP -->
'HIDE_PROFILE_YES' => ( !$allowviewprofile ) ? 'checked="checked"' : '',
'HIDE_PROFILE_NO' => ( $allowviewprofile ) ? 'checked="checked"' : '',
// <!-- END easyUCP -->
#
#----------[ FIND ]-------------------------------------
#
'L_HIDE_USER' => $lang['Hide_user'],
#
#----------[ AFTER, ADD ]-------------------------------
#
// <!-- BEGIN easyUCP -->
'L_HIDE_PROFILE' => $lang['Hide_profile'],
// <!-- END easyUCP -->
#
#----------[ FIND ]-------------------------------------
#
$profiledata = get_userdata($HTTP_GET_VARS[POST_USERS_URL]);
#
#----------[ AFTER, ADD ]-------------------------------
#
// <!-- BEGIN easyUCP -->
if ( !$userdata['session_logged_in'] && $profiledata['user_allow_viewprofile'] )
{
redirect(append_sid("login.$phpEx?redirect=profile.$phpEx&mode=viewprofile&".POST_USERS_URL."=".$profiledata['user_id'], true));
exit;
}
// <!-- END easyUCP -->
#
#----------[ FIND ]-------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_HIDE_USER}:</span></td>
<td class="row2">
<input type="radio" name="hideonline" value="1" {HIDE_USER_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="hideonline" value="0" {HIDE_USER_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
#
#----------[ AFTER, ADD ]-------------------------------
#
<!-- easyUCP -->
<tr>
<td class="row1"><span class="gen">{L_HIDE_PROFILE}:</span></td>
<td class="row2">
<input type="radio" name="hideprofile" value="1" {HIDE_PROFILE_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="hideprofile" value="0" {HIDE_PROFILE_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<!-- easyUCP -->
Mitglieder in diesem Forum: 0 Mitglieder und 18 Gäste