WIE Plugin

Introduction

This plugin is a bit similar to NP_Online.php but works with sessions instead of IP's. It also shows a list of users, searchspiders and guests online instead of numeric totals.

The name WIE comes from a famous dutch webservice offering the same.

Changelog

1.5

  • spy stuff
  • seen stuff
  • user agent detection (for spy/seen)
  • searchspider detection

It's recommended that you create a seperate page for the spy/seen stuff. Instructions for creating such page can be found here.

Installation

To get the session stuff working you should add this one line to the top of your Nucleus index.php

session_start(); 

Skin Vars

  <%WIE(list)%>: Shows the list of people online

  <%WIE(status)%>: (For use on members detail pages). Shows wheter a user is online or not.

  <%WIE(spy)%>: Shows a table of where all the visitors are ([[http://fuckhedz.com/spy.php|Example]] - top)

  <%WIE(seen)%>: Shows a table with the last-seen-times of your members ([[http://fuckhedz.com/spy.php|Example]] - bottom)

Template Vars

<%WIE%>

Shows wheter a user is online or not. Can be used in Templatevars and CommentTemplateVars

Output Example

  • Jef Pober
  • AnotherMember
  • MSN (4)
  • Google (15)
  • 0 guests

Download

The code for the plugin is here.

wieplugin.txt · Last modified: 2006/07/05 13:03 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki