Fork me on GitHub

Help with OnlineXP Block  Bottom

  • i have sucessfully installed and setup the block and it works like a charm however i also have the pnLastLogin module installed and i would like to incorporate these 2 together. so in doing so i belive its as easy as adding the info to the PHP in the OnlineXP block. here is the code for the actual block http://angeldyne.com/text/onlineXP.txt
    and here is the language file
    http://angeldyne.com…xt/onlineXPlang.txt

    what else do i need to do to have this work the location of the lastlogin info is in the pn_users table under the pn_users_lastlog coloumn. I Guess my main problem is that i dont know how to have the script lookup and define the var "lastlog" in this line ...

    Code

    $content .= ' ' . _OXP_LASTLOGGED . ' <strong>' . pnUserGetVar('lastlog') . '</strong>.';




    edited by: Jay1017, Sep 06, 2007 - 06:25 PM

This list is based on users active over the last 60 minutes.