Re: user roles?
Posted: Sun Jun 15, 2014 01:36 UTC
What do you mean by user roles?coolmates wrote:forgive me for being dense.. but how/where do i set user roles?
What do you mean by user roles?coolmates wrote:forgive me for being dense.. but how/where do i set user roles?
Ah. That setting hasn't really been completed.coolmates wrote:such as admin or developer. for example, settings.php infers that no game admins or developers are in my game.
Code: Select all
// Repeat following line for each admin you have.
// Line below is all on 1 line.
array_push($admin_list, array('name'=>"ADMIN_NAME", 'character'=>"PLAYER_NAME", 'level'=>"Game Admin", 'role'=>"admin"));
Ah, then you will have a problem doing what I said in my last post, and if common.php was added after release then maybe settings.php was changed as well.coolmates wrote:erm.. i dont have the file: common.php
Code: Select all
$admin_list = array();
// Repeat following line for each admin you have.
// Line below is all on 1 line.
array_push($admin_list, array('name'=>"ADMIN_NAME", 'character'=>"PLAYER_NAME", 'level'=>"Game Admin", 'role'=>"admin"));
// Set to your server's local time zone - PHP throws a notice if this is not set.
date_default_timezone_set('America/New_York');
Yeah, now that code isn't added, and is hard coded to not enabled.coolmates wrote:thanks.. i followed your instructions and admin (adc) now listed and in blue in settings.php, but online is showing as not enabled even when logged in. and admin character not showing in blue in rankings.