On the alliance tab, please place a green dot if a player is online now, yellow dot if they have been online within the last 24 hours and a red dot if they havent logged in for over 24 hours.
You have similar function (online) with alliance wars so should require too much more coding to make permanent.