Hi,
I would like to change the user widget on the user homepage, so that it shows online users as default instead of latest user. Where can I customize this widget? In database, source code (which file)...?
Thanks in advance.
Peter
Hi,
I would like to change the user widget on the user homepage, so that it shows online users as default instead of latest user. Where can I customize this widget? In database, source code (which file)...?
Thanks in advance.
Peter
I am creating a blank html page and I want to display latest users. how can I display this?
I have tried <div class code and aslo {$ } code. I cant get anything to show.
Thanks
Kяuncн, have the solution provide by Aliia helped you? If not - please provide us with more information about the technical effect you are trying to achieve.
Aliia,
Tried it's working fine for the mobile version. The destop no change. Can you help
I followed your instructions it fixed the mobile version but no change in the desktop. Can you help
On mobile you do the above because the mobile version uses a widget (no members page) to display users and is done with the help of JS
But on desktop:
In order to change the default tab on desktop, for example when the page loads if you want to show online rather than latest all you have to do is this... easy
all you have to do is go to ow_system_plugins/base/init.php
and change the value for the params in the route code on line 51
from latest to online
original
$router->addRoute(new OW_Route('users', 'users', 'BASE_CTRL_UserList', 'index', array('list' => array(OW_Route::PARAM_OPTION_HIDDEN_VAR => 'latest'))));
new
$router->addRoute(new OW_Route('users', 'users', 'BASE_CTRL_UserList', 'index', array('list' => array(OW_Route::PARAM_OPTION_HIDDEN_VAR => 'online'))));
all i did was just change the word latest to online and it works. :)