Update class.profilevisitors.plugin.php

Minor changes to make it work with Vanilla 2.0.18