1

Topic: Online Indicator in Manage members Help

I'm trying to setup an online indicator when I'm in the Manage members section of the CP.

I used the the guide http://www.vldpersonals.com/forum/topic … rsion-253/ here to make a new column and label it "Online"

Then I used the guide http://www.vldpersonals.com/forum/topic … bers-name/ to get my online/offline image and the code to detect whether the user is online or not.

In members.tpl I added this

<td class="gridActions{rownum}" style="text-align: center">
            <!-- IF member_online -->
                <img src=/templates/dark/media/online.gif border=0 title="Online">
            <!-- ELSE -->
                <img src=/templates/dark/media/offline.gif border=0 title="Offline">
            <!-- ENDIF -->
            </td>

Right after

<td class="gridActions{rownum}" width="24" style="text-align: center">
                <a class="grid" href="#" onclick="javascript:confirmLink('{lang:"members","delete?"}', '{top.virtual_cp_path}index.php?m=members&p=delete&id={id}&page={top.page}&s={ifelse:active,1,0,1}&sort={top.sort}&order={top.order}&ptype={top.ptype}&group={top.group}&results={top.results}&status={top.status}')" title="{lang:"members","delete"}">
                <img src="{top.virtual_path}includes/templates/media/{top.cp_theme}/actions/delete.gif" alt="{lang:"members","delete"}" border="0" /></a>
            </td>

No matter whether I try "member_online" or "session.active" all I get is the offline status.  If I reverse the command "member_online = 0" then I get the online status.  But regardless both status are applied to every member.  I would appreciate some help in sorting this out.