2010-02-18, 12:41 PM
2010-02-19, 05:41 PM
Yet again, I am still waiting for an answer to this.
2010-02-19, 06:41 PM
You would need a mod/plugin for this. You wouldn't be able to do this with template edits.
Moving to mod requests...
Moving to mod requests...
2010-02-19, 06:57 PM
Was the 'yet again' comment necessary?? Where else have you had to wait more then 24 hours??
2010-02-19, 08:35 PM
Why do I find that some support guys are rude?
I do get impatient you know. I don't like having to wait ages for a response.
@Polarbear: Thanks for the thread move. Didn't know if it was a template edit, mod or what.
I do get impatient you know. I don't like having to wait ages for a response.
@Polarbear: Thanks for the thread move. Didn't know if it was a template edit, mod or what.
2010-02-19, 08:53 PM
And you don't think it's a bit rude to make a comment like you did??
Even though I'm so rude, I'll still help you. You'll need to modify the query to this:
Then use this slightly modified code from ./inc/functions_online.php:
I put that before this:
Then put {$user['onlinestatus']} in the showteam_usergroup_user template and it'll show.
I'd have thought if you were a MyBB Guru like your profile says you'd be able to find this code though...
Even though I'm so rude, I'll still help you. You'll need to modify the query to this:
$query = $db->simple_select("users", "uid, username, displaygroup, usergroup, ignorelist, hideemail, receivepms, away, lastactive, lastvisit, invisible", "displaygroup IN ($groups_in) OR (displaygroup='0' AND usergroup IN ($groups_in)) OR uid IN ($users_in)", array('order_by' => 'username'));
Then use this slightly modified code from ./inc/functions_online.php:
// Determine the status to show for the user (Online/Offline/Away)
$timecut = TIME_NOW - $mybb->settings['wolcutoff'];
if($user['lastactive'] > $timecut && ($user['invisible'] != 1 || $mybb->usergroup['canviewwolinvis'] == 1) && $user['lastvisit'] != $user['lastactive'])
{
eval("\$user['onlinestatus'] = \"".$templates->get("postbit_online")."\";");
}
else
{
if($post['away'] == 1 && $mybb->settings['allowaway'] != 0)
{
eval("\$user['onlinestatus'] = \"".$templates->get("postbit_away")."\";");
}
else
{
eval("\$user['onlinestatus'] = \"".$templates->get("postbit_offline")."\";");
}
}
I put that before this:
if($usergroups[$group] && $group != 6)
{
$usergroups[$group]['user_list'][$user['uid']] = $user;
}
Then put {$user['onlinestatus']} in the showteam_usergroup_user template and it'll show.
I'd have thought if you were a MyBB Guru like your profile says you'd be able to find this code though...
2010-02-19, 09:28 PM
I'm a MyBB Guru at everything but coding.
I don't think you're rude, I think you just rush things and make assumptions. I like you though
I don't think you're rude, I think you just rush things and make assumptions. I like you though
2010-02-20, 12:35 AM
o yeah, a mybb guru with posts