MyBB Community Forums

Full Version: display only members that has greater than 1 post at Who has been online today and W
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
display only members that has greater than 1 post at Who has been online today and Who's Online
(2012-11-11, 04:15 PM)MonsterMMORPG Wrote: [ -> ]display only members that has greater than 1 post at Who has been online today and Who's Online

This can not be done with the built in option. It will need custom coding.
(2012-11-11, 08:19 PM)borbole Wrote: [ -> ]
(2012-11-11, 04:15 PM)MonsterMMORPG Wrote: [ -> ]display only members that has greater than 1 post at Who has been online today and Who's Online

This can not be done with the built in option. It will need custom coding.

just need this part of code to be altered


$queries[] = $db->simple_select(
"users u LEFT JOIN ".TABLE_PREFIX."sessions s ON (u.uid=s.uid)",
"s.sid, s.ip, s.time, s.location, u.uid, u.username, u.invisible, u.usergroup, u.displaygroup",
"u.lastactive > $timesearch ORDER BY u.username ASC, s.time DESC"
);
$queries[] = $db->simple_select(
"sessions s LEFT JOIN ".TABLE_PREFIX."users u ON (s.uid=u.uid)",
"s.sid, s.ip, s.uid, s.time, s.location, u.username, u.invisible, u.usergroup, u.displaygroup",
"s.time>'$timesearch' ORDER BY u.username ASC, s.time DESC"
);
Good luck with this, sounds like a cool edit.
thanks bump
So you need help with this?
(2012-11-13, 09:32 PM)JordanMussi Wrote: [ -> ]So you need help with this?

yes