Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
lastseen block
  • Posted: 14.02.2003, 23:41
     
    mcarthey
    rank:
    Freshman Freshman
    registered:
     July 2002
    Status:
    offline
    last visit:
    20.02.03
    Posts:
    5
    Hey all,
    I'm running 0.7.2.3-Phoenix and am having a problem with the lastseen block. It isn't updating as new people log in and out. One person told me that they've been to my site a number of times within the last few days and the block doesn't show that. Now, I believe this might be because they haven't been required to log in/out due to my settings. What I'd like to do, though, is develop a workaround for this. The problem is that I did a grep for lastseen and can only find it in the includes/blocks directory (lastseen.php). How is this called? I'm new to PostNuke coding and thought I'd start with something simple like this. The docs are overwhelming to get started.
    So, basically I'd like to know how something like the includes/blocks/lastseen.php is called, and also if it's possible to make a coding change to record every visit to the page rather than just the login/logout?
    Thanks for any help!
  • Posted: 16.10.2003, 16:38
     
    Brakkar
    rank:
    Freshman Freshman
    registered:
     December 1969
    Status:
    offline
    last visit:
    26.08.04
    Posts:
    47
    the way most lastseen blocks work is that the table is updated whenever a page that shows the block is viewed. That's how the one i have is anyway. so it updates every page hit.

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula