Snickerdoodle 51 Author Share Posted January 29, 2019 Woo! The names are showing correctly! I'm so happy! Thank y'all so much for all the help! Well, we made NPCs to test them out before we brought everyone else over to the new board and they didn't show in either of our lists of characters. Maybe it's the permissions thing, even though admin are supposed to have all permissions? I didn't know about that when we made them. We're on Discord! Come say hello! Link to comment Share on other sites More sharing options...
Arceus 1,082 Share Posted January 29, 2019 Ticked the NPC box and marked them done, right? I am the darkness, always watching, always listening, ALWAYS THERE. (If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.) Link to comment Share on other sites More sharing options...
Snickerdoodle 51 Author Share Posted January 29, 2019 Yep. And I've now tried it with all permissions set to allow everything related to npcs, except for guests ofc... still not showing up in the list We're on Discord! Come say hello! Link to comment Share on other sites More sharing options...
Snickerdoodle 51 Author Share Posted January 29, 2019 The error log shows this error in reference to managepermissions.php 8: Undefined offset: 2 We're on Discord! Come say hello! Link to comment Share on other sites More sharing options...
Arceus 1,082 Share Posted January 29, 2019 What line? I am the darkness, always watching, always listening, ALWAYS THERE. (If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.) Link to comment Share on other sites More sharing options...
Snickerdoodle 51 Author Share Posted January 29, 2019 1624 and 1625 We're on Discord! Come say hello! Link to comment Share on other sites More sharing options...
Arceus 1,082 Share Posted January 29, 2019 Alright, so we're gonna look for this: $permissionGroups = array( There are two sub-arrays here, 'simple' and 'classic' - both should have 'character_mng', as the last entry. If one doesn't, add it. Next, a little bit down, we'll have something like this: 'cmod_manage' => array(false, 'character_mng'), 'cmod_app_bypass' => array(false, 'character_mng'), 'cmod_create' => array(false, 'character_mng'), 'cmod_create_npc' => array(false, 'character_mng'), 'cmod_edit' => array(false, 'character_mng'), 'cmod_edit_npc' => array(true, 'character_mng'), 'cmod_post' => array(false, 'character_mng'), 'cmod_post_npc' => array(true, 'character_mng'), 'cmod_delete' => array(false, 'character_mng'), 'cmod_delete_npc' => array(true, 'character_mng'), 'cmod_journal_create' => array(false, 'character_mng'), 'cmod_journal_edit' => array(true, 'character_mng'), 'cmod_journal_hide' => array(true, 'character_mng'), 'cmod_journal_see_hidden' => array(true, 'character_mng'), 'cmod_journal_delete' => array(true, 'character_mng'), It needs to look like this: 'cmod_manage' => array(false, 'character_mng','character_mng'), 'cmod_app_bypass' => array(false, 'character_mng','character_mng'), 'cmod_create' => array(false, 'character_mng','character_mng'), 'cmod_create_npc' => array(false, 'character_mng','character_mng'), 'cmod_edit' => array(false, 'character_mng','character_mng'), 'cmod_edit_npc' => array(true, 'character_mng','character_mng'), 'cmod_post' => array(false, 'character_mng','character_mng'), 'cmod_post_npc' => array(true, 'character_mng','character_mng'), 'cmod_delete' => array(false, 'character_mng','character_mng'), 'cmod_delete_npc' => array(true, 'character_mng','character_mng'), 'cmod_journal_create' => array(false, 'character_mng','character_mng'), 'cmod_journal_edit' => array(true, 'character_mng','character_mng'), 'cmod_journal_hide' => array(true, 'character_mng','character_mng'), 'cmod_journal_see_hidden' => array(true, 'character_mng','character_mng'), 'cmod_journal_delete' => array(true, 'character_mng','character_mng'), Let me know how that goes for you. I am the darkness, always watching, always listening, ALWAYS THERE. (If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.) Link to comment Share on other sites More sharing options...
Snickerdoodle 51 Author Share Posted January 29, 2019 Okay, I got all that done. Now it's showing everything twice in permissions We're on Discord! Come say hello! Link to comment Share on other sites More sharing options...
Arceus 1,082 Share Posted January 29, 2019 Copy-paste what you've got there for me, then. I am the darkness, always watching, always listening, ALWAYS THERE. (If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.) Link to comment Share on other sites More sharing options...
Snickerdoodle 51 Author Share Posted January 29, 2019 'cmod_manage' => array(false, 'character_mng','character_mng'), 'cmod_app_bypass' => array(false, 'character_mng','character_mng'), 'cmod_create' => array(false, 'character_mng','character_mng'), 'cmod_create_npc' => array(false, 'character_mng','character_mng'), 'cmod_edit' => array(false, 'character_mng','character_mng'), 'cmod_edit_npc' => array(true, 'character_mng','character_mng'), 'cmod_post' => array(false, 'character_mng','character_mng'), 'cmod_post_npc' => array(true, 'character_mng','character_mng'), 'cmod_delete' => array(false, 'character_mng','character_mng'), 'cmod_delete_npc' => array(true, 'character_mng','character_mng'), 'cmod_journal_create' => array(false, 'character_mng','character_mng'), 'cmod_journal_edit' => array(true, 'character_mng','character_mng'), 'cmod_journal_hide' => array(true, 'character_mng','character_mng'), 'cmod_journal_see_hidden' => array(true, 'character_mng','character_mng'), 'cmod_journal_delete' => array(true, 'character_mng','character_mng'), We're on Discord! Come say hello! Link to comment Share on other sites More sharing options...
Arceus 1,082 Share Posted January 29, 2019 Your $permissionGroups looks like this, right? 'membergroup' => array( 'simple' => array( 'view_basic_info', 'use_pm_system', 'sp', 'post_calendar', 'edit_profile', 'delete_account', 'use_avatar', 'moderate_general', 'administrate', 'character_mng', ), 'classic' => array( 'general', 'pm', 'sp', 'calendar', 'maintenance', 'member_admin', 'profile', 'character_mng', ), ), I am the darkness, always watching, always listening, ALWAYS THERE. (If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.) Link to comment Share on other sites More sharing options...
Snickerdoodle 51 Author Share Posted January 29, 2019 A little bit different 'membergroup' => array( 'simple' => array( 'view_basic_info', 'use_pm_system', 'sp', 'post_calendar', 'edit_profile', 'delete_account', 'use_avatar', 'moderate_general', 'administrate', 'character_mng', ), 'classic' => array( 'general', 'pm', 'sp', 'calendar', 'maintenance', 'member_admin', 'profile', 'character_mng', We're on Discord! Come say hello! Link to comment Share on other sites More sharing options...
Arceus 1,082 Share Posted January 29, 2019 Well, should be working fine then. There's probably something going sideways somewhere else causing it, because the code here is correct. I am the darkness, always watching, always listening, ALWAYS THERE. (If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.) Link to comment Share on other sites More sharing options...
Snickerdoodle 51 Author Share Posted January 29, 2019 Seems to be working in classic, but not in simple We're on Discord! Come say hello! Link to comment Share on other sites More sharing options...
Arceus 1,082 Share Posted January 29, 2019 OH, I think I know what you mean. Here's the thing, Simple display mode is bloody stupid, and the language strings it uses for it aren't actually the right ones. So the repeats you see are actually the separation between "own" thing and "any" thing, which separates properly and labels properly in Classic. I am the darkness, always watching, always listening, ALWAYS THERE. (If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.) Link to comment Share on other sites More sharing options...
Recommended Posts