Is there a way I can have a little block on the side of my template that tells everyone
# Admins Online: X
# Members Online: X
# Total Members: X
If so how can I do this?
Not much instructions come with that except that you need to create a snippet
And this is the error I get once I do it
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - Table ’endless_bleachtest.log_access’ doesn’t exist »
SQL: SELECT DISTINCT(visitor) AS visitor, MAX(timestamp) AS lasthit FROM `endless_bleachtest`.log_access WHERE timestamp > 1167815582 GROUP BY visitor ORDER BY lasthit DESC
[Copy SQL to ClipBoard]
Parser timing
MySQL: 0.0013 s (6 Requests)
PHP: 0.0320 s
Total: 0.0333 s
-
☆ A M B ☆
- 24,524 Posts
Since version 0.9.5 the visitor logging has been removed. It was not very efficient and rather buggy. You’ll need to set up a logging script such as
http://www.webanalyse.fr/ (I’ve got this in my immediate "to-do" folder to make a snippet or plugin for it)
K man I think ill wait until you make a snippet for it.