Fork me on GitHub

Who's Online Blocks  Bottom

Go to page [-1] 1 - 2 - 3:

  • It doesn't tell you where people are but I build a Who's Online Block using that same function from pnForum:
    1. Install pnForum
    2. create a file /themes/yourTheme/templates/modules/pnForum/onlineBlock.html

    Code

    <!--[ pnforumonline assign=online ]-->
    <!--[ pnusergetvar name=uname assign=uname ]-->
    <ul>
    <!--[ foreach key=num item=user from=$online.unames ]-->
    <!--[ pnusergetvar name=uid assign=visitorID ]-->
    <li>
                    <a href="index.php?module=advProfile&amp;func=main&amp;uname=<!--[ $user.uname]-->"><!--[ $user.uname|truncate:12:"...":true]--></a>
                    <!--[ if $user.admin == '1' ]-->&nbsp;(Admin)<!--[ /if ]-->
                </li>                          
    <!--[ /foreach ]-->
    </ul>

    3. Create a new pnRender/pnRender block
    4. Modulename: pnForum
    5. Templatename: onlineBlock.html

    Done. icon_wink



    edited by: kaffeeringe.de, May 16, 2007 - 05:40 PM

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the Zikula Steering Committee
    Read The Zikulan's Blog "If you want people to RTFM, make a better FM!"
  • No worries, I actually figured out how to set up dp-StaffStatus the way I want, so I am going to use that. Thank you to all that have helped.



    edited by: Bruggeman, May 18, 2007 - 11:44 PM

Go to page [-1] 1 - 2 - 3:

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