Zeile 148 | Zeile 148 |
---|
"subscriptionmethod" => $mybb->input['subscriptionmethod'], "receivepms" => $mybb->input['receivepms'], "pmnotice" => $mybb->input['pmnotice'],
|
"subscriptionmethod" => $mybb->input['subscriptionmethod'], "receivepms" => $mybb->input['receivepms'], "pmnotice" => $mybb->input['pmnotice'],
|
"emailpmnotify" => $mybb->input['emailpmnotify'],
| "pmnotify" => $mybb->input['pmnotify'],
|
"invisible" => $mybb->input['invisible'], "dstcorrection" => $mybb->input['dstcorrection'] );
| "invisible" => $mybb->input['invisible'], "dstcorrection" => $mybb->input['dstcorrection'] );
|
Zeile 217 | Zeile 217 |
---|
$pmnoticecheck = " checked=\"checked\""; }
|
$pmnoticecheck = " checked=\"checked\""; }
|
if($mybb->input['emailpmnotify'] == 1)
| if($mybb->input['pmnotify'] == 1)
|
{
|
{
|
$emailpmnotifycheck = "checked=\"checked\"";
| $pmnotifycheck = "checked=\"checked\"";
|
}
if($mybb->input['invisible'] == 1)
| }
if($mybb->input['invisible'] == 1)
|
Zeile 530 | Zeile 530 |
---|
} // Custom profile fields baby! $altbg = "trow1";
|
} // Custom profile fields baby! $altbg = "trow1";
|
$query = $db->simple_select("profilefields", "*", "required=1", array('order_by' => 'disporder'));
| $query = $db->simple_select("profilefields", "*", "required='1' AND editable='1'", array('order_by' => 'disporder'));
|
while($profilefield = $db->fetch_array($query)) { $profilefield['type'] = htmlspecialchars_uni($profilefield['type']);
| while($profilefield = $db->fetch_array($query)) { $profilefield['type'] = htmlspecialchars_uni($profilefield['type']);
|
Zeile 705 | Zeile 705 |
---|
$emailnotifycheck = ''; $receivepmscheck = "checked=\"checked\""; $pmnoticecheck = " checked=\"checked\"";
|
$emailnotifycheck = ''; $receivepmscheck = "checked=\"checked\""; $pmnoticecheck = " checked=\"checked\"";
|
$emailpmnotifycheck = '';
| $pmnotifycheck = '';
|
$invisiblecheck = ''; if($mybb->settings['dstcorrection'] == 1) {
| $invisiblecheck = ''; if($mybb->settings['dstcorrection'] == 1) {
|
Zeile 766 | Zeile 766 |
---|
foreach($languages as $lname => $language) { $language = htmlspecialchars_uni($language);
|
foreach($languages as $lname => $language) { $language = htmlspecialchars_uni($language);
|
if($user['language'] == $lname)
| if(isset($user['language']) && $user['language'] == $lname)
|
{ $langoptions .= "<option value=\"$lname\" selected=\"selected\">$language</option>\n"; }
| { $langoptions .= "<option value=\"$lname\" selected=\"selected\">$language</option>\n"; }
|
Zeile 1420 | Zeile 1420 |
---|
if($mybb->user['uid']) { $time = TIME_NOW;
|
if($mybb->user['uid']) { $time = TIME_NOW;
|
$lastvisit = array( "lastactive" => $time-900, "lastvisit" => $time, ); $db->update_query("users", $lastvisit, "uid='".$mybb->user['uid']."'");
| // Run this after the shutdown query from session system $db->shutdown_query("UPDATE ".TABLE_PREFIX."users SET lastvisit='{$time}', lastactive='{$time}' WHERE uid='{$mybb->user['uid']}'");
|
$db->delete_query("sessions", "sid='".$session->sid."'"); } $plugins->run_hooks("member_logout_end");
| $db->delete_query("sessions", "sid='".$session->sid."'"); } $plugins->run_hooks("member_logout_end");
|
Zeile 1483 | Zeile 1480 |
---|
$uid = intval($mybb->input['uid']); } else
|
$uid = intval($mybb->input['uid']); } else
|
{
| {
|
$uid = $mybb->user['uid']; }
|
$uid = $mybb->user['uid']; }
|
}
| }
|
if($mybb->user['uid'] != $uid) { $memprofile = get_user($uid);
| if($mybb->user['uid'] != $uid) { $memprofile = get_user($uid);
|
Zeile 1502 | Zeile 1499 |
---|
if(!$memprofile['uid']) { error($lang->error_nomember);
|
if(!$memprofile['uid']) { error($lang->error_nomember);
|
}
| }
|
// Get member's permissions $memperms = user_permissions($memprofile['uid']);
| // Get member's permissions $memperms = user_permissions($memprofile['uid']);
|
Zeile 1584 | Zeile 1581 |
---|
"me_username" => $memprofile['username'], "filter_badwords" => 1 );
|
"me_username" => $memprofile['username'], "filter_badwords" => 1 );
|
| if($memperms['signofollow']) { $sig_parser['nofollow_on'] = 1; }
|
$memprofile['signature'] = $parser->parse_message($memprofile['signature'], $sig_parser); eval("\$signature = \"".$templates->get("member_profile_signature")."\";");
| $memprofile['signature'] = $parser->parse_message($memprofile['signature'], $sig_parser); eval("\$signature = \"".$templates->get("member_profile_signature")."\";");
|