This discussion is related to the
WhosOnline addon.
Are there any plans to add a permission level to "override" hidden users to let them be seen by certain roles? My moderators would like to be able to see who is skulking about and I'd like to be able to add that for them.
Comments
Vanilla developer [GitHub, Twitter]
Vanilla Forums Senior Developer [GitHub, Twitter, About.me]
->Column('UserID', 'int(11)', FALSE, 'primary')Vanilla Forums Senior Developer [GitHub, Twitter, About.me]
@Lincoln you should re-download the latest version, or just make the change above.
Vanilla Forums Senior Developer [GitHub, Twitter, About.me]
->Where('w.Timestamp >=', date('Y-m-d H:i:s',$History))Vanilla Forums Senior Developer [GitHub, Twitter, About.me]
Thanks for the debug, @Tim. I hadn't uploaded the new one yet.
Vanilla developer [GitHub, Twitter]
I think you should comment out ProfileController_AfterAddSideMenu_Handler and ProfileController_Whosonline_Create functions in default.php.
Or if you want minimal change, just comment out:
$SideMenu->AddLink('Options', T('Who\'s Online Settings'), '/profile/whosonline', FALSE, array('class' => 'Popup'));It will not add the menu option, but be aware that the link will still be available to use as the second function will still be in the code.I greatly prefer the first option, and as an added bonus, it's faster as 2 functions are not parsed anymore :)