We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Add Tab To Browse Users List | Forum

Eric
Eric Jun 21 '14
In the page http://sitename/users I would like to add 2 tabs.


One that shows online males and one to show online females.


How can I do this? What files do I need to edit?

Attachments:
  BrowseUsers.png (16.58Kb)
Alia Team
Alia Jun 27 '14
Eric, you will need to modify ow_system_plugins/base/controllers/user_list.php. That is where all the list types come from:

 public static function getMenu( $activeListType )

In addition to this you will need to create a separate files where you will be processing gender information in ow_system_plugins/base/bol  ( similar to user_online.php and user_online_dao.php but this time with the code to save/fetch gender data).

Overall, this modification can not be done by changing a couple of  lines within one file, therefore I can not provide you with more detailed information.