Right now, the image settings path defaults to:

'modules/onlinestatus/images/%im-%status.png'

Although this is good for most systems, it doesn't work on a multi-site system where the module path isn't always in 'modules/onlinestatus'. If you change the 42nd line in onlinestatus.install where it sets the onlinestatus_imagepath to the following, you'll have the desired result:

variable_set('onlinestatus_imagepath', drupal_get_path('module', 'onlinestatus') . '/images/%im-%status.png');

Comments

xeniac’s picture

Status: Active » Fixed

The new Drupal 5 Tree has a new Path Parameter called %module and the new Default Path is now %module/images/%im-%status.png.
%module will be substituded by the install path of the onlinestatus module.

Anonymous’s picture

Status: Fixed » Closed (fixed)