Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html *
|
* $Id: member.php 3596 2008-01-20 08:27:39Z Tikitiki $
| * $Id: member.php 3739 2008-03-22 02:38:56Z dennis $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 947 | Zeile 947 |
---|
error($lang->error_notloggedout); } // Otherwise, check logoutkey
|
error($lang->error_notloggedout); } // Otherwise, check logoutkey
|
else if($mybb->input['logoutkey'] != $mybb->user['logoutkey'])
| else if(!$mybb->input['sid'] && $mybb->input['logoutkey'] != $mybb->user['logoutkey'])
|
{ error($lang->error_notloggedout); }
| { error($lang->error_notloggedout); }
|
Zeile 1215 | Zeile 1215 |
---|
$displaygroup = usergroup_displaygroup($memprofile['displaygroup']);
// Get the user title for this user
|
$displaygroup = usergroup_displaygroup($memprofile['displaygroup']);
// Get the user title for this user
|
if($displaygroup['usertitle'])
| if(trim($memprofile['usertitle']) != '') { // User has custom user title $usertitle = $memprofile['usertitle']; } elseif(trim($displaygroup['usertitle']) != '')
|
{
|
{
|
| // User has group title
|
$usertitle = $displaygroup['usertitle'];
|
$usertitle = $displaygroup['usertitle'];
|
$stars = $displaygroup['stars'];
| |
} else {
|
} else {
|
| // No usergroup title so get a default one
|
$query = $db->simple_select(TABLE_PREFIX."usertitles", "*", "", array('order_by' => 'posts', 'order_dir' => 'DESC')); while($title = $db->fetch_array($query)) {
| $query = $db->simple_select(TABLE_PREFIX."usertitles", "*", "", array('order_by' => 'posts', 'order_dir' => 'DESC')); while($title = $db->fetch_array($query)) {
|
Zeile 1232 | Zeile 1238 |
---|
$starimage = $title['starimage']; break; }
|
$starimage = $title['starimage']; break; }
|
} }
| } } if($displaygroup['stars']) { $stars = $displaygroup['stars']; }
|
if(!empty($displaygroup['image'])) { if(!empty($mybb->user['language']))
| if(!empty($displaygroup['image'])) { if(!empty($mybb->user['language']))
|
Zeile 1249 | Zeile 1260 |
---|
eval("\$groupimage = \"".$templates->get("member_profile_groupimage")."\";"); }
|
eval("\$groupimage = \"".$templates->get("member_profile_groupimage")."\";"); }
|
if(trim($memprofile['usertitle']) != '') { $usertitle = $memprofile['usertitle']; }
|
|
if(!$starimage) { $starimage = $displaygroup['starimage'];
| if(!$starimage) { $starimage = $displaygroup['starimage'];
|