Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
who is online pro
This discussion is related to the Who’s Online addon.
I bought pro version , but i didn't see avatars online members....
0
Best Answer
-
hbf wiki guy? MVP
There are already some threads on how to accomplish this, so do a few searches and it should turn up what you need.
But fundamentally you will need to edit
public function ToString()
in class.whosonlinemodule.php
such that instead of returning
$User->Name
it returns
< img src=\"".Url('uploads/'.ChangeBasename($User->Photo, 'p%s'))."\" alt=\"".$User->Name."\" title=\"".$User->Name."\" />you'll have to play with the SQL queries to get the photo info (need to join tables) and a few other minor tweaks. But this should get you in the ball-park i would assume.
0
Answers
pro version doesn't do that out of the box. you can modify the code to do that if you like.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
can you help me?
There are already some threads on how to accomplish this, so do a few searches and it should turn up what you need.
But fundamentally you will need to edit
public function ToString()
in class.whosonlinemodule.php
such that instead of returning
$User->Name
it returns
< img src=\"".Url('uploads/'.ChangeBasename($User->Photo, 'p%s'))."\" alt=\"".$User->Name."\" title=\"".$User->Name."\" />
you'll have to play with the SQL queries to get the photo info (need to join tables) and a few other minor tweaks. But this should get you in the ball-park i would assume.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained