Jump to content
  • 0

how to change permission who is online in flux?


kangfredy

Question


  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

guys i want to ask..how to disable who is online for anyone???only to admin??i was changed in access.php..but my web still anyone can access who is online..how to change only admin can access this?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   13
  • Joined:  02/16/12
  • Last Seen:  

access.php

----------------------------------------------------------------------------------------------------------------------------------------------

 

'character' => array(
            'index'    => AccountLevel::LOWGM,
            'view'     => AccountLevel::NORMAL,
Modify
           'online'   => AccountLevel::ANYONE,
To
            'online'   => AccountLevel::ADMIN,
            'prefs'    => AccountLevel::NORMAL,
            'changeslot' => AccountLevel::NORMAL,
            'resetlook'  => AccountLevel::NORMAL,
            'resetpos'   => AccountLevel::NORMAL,
            'mapstats'   => AccountLevel::ANYONE,
            'divorce'    => AccountLevel::NORMAL
        ),
----------------------------------------------------------------------------------------------------------------------------------------------
 
modify
'SearchWhosOnline'   => AccountLevel::ANYONE, // Ability to search the "Who's Online" page.
 
to  

'SearchWhosOnline'   => AccountLevel::ADMIN, // Ability to search the "Who's Online" page.

----------------------------------------------------------------------------------------------------------------------------------------------

modify

'ViewOnlinePosition' => AccountLevel::LOWGM,  // Ability to see a character's current map on "Who's Online" page.

 

to

'ViewOnlinePosition' => AccountLevel::ADMIN,  // Ability to see a character's current map on "Who's Online" page.

Edited by Cyrix
Link to comment
Share on other sites

×
×
  • Create New...