Admin CP doesn't show!!!! - NBS






 

 

Admin CP doesn't show!!!! - NBS

View Full Version : Admin CP doesn't show!!!!


jimhap
09-Mar-2007, 12:10 AM
My admin CP doesn't show!!!! After a fresh install I logged in and the menu has "disappered". Look at screenshot to see what I mean......

Derek
09-Mar-2007, 03:30 AM
You need to give your self super admin permission in the nbs_config.php. Then you can set the permissions of the other admins to view whatever admin stuff you want them to.

jimhap
09-Mar-2007, 09:20 PM
That's weird. I have put my admin username in the config file already. See here:


<?php

/*
+================================================= =======================+
|| NBSdesignz Multi-Forums phpBB - Version 1.0.0 Beta 8
|| -----------------------------------------------------------------------
|| By NBSdesignz (http://www.nbsdesignz.com)
|| Copyright © 2006 - 2007 NBSdesignz
|| This file may not be redistributed in whole or significant part.
|| --------------------- THIS SCRIPT IS FREEWARE. ------------------------
|| All copyright notices in this script must stay intact unless
|| copyright removal has been purchased!
|| -----------------------------------------------------------------------
|| Although this script has been tested by us, we are not responsible for
|| any damage it may cause!
|| -----------------------------------------------------------------------
|| $Id: nbs_config.php.new 381 2007-03-01 03:51:29Z derek $
|| Downloaded: Thursday, March 08, 2007 01:26:11
+================================================= =======================+
*/

//========================= DATABASE INFORMATION =========================
//--------------------------------------------------
// Database Host
//--------------------------------------------------
$config['Database']['host'] = 'localhost';

//--------------------------------------------------
// Database Username
//--------------------------------------------------
$config['Database']['username'] = 'jimhap';

//--------------------------------------------------
// Database Password
//--------------------------------------------------
$config['Database']['password'] = 'XXX';

//--------------------------------------------------
// Database Name
//--------------------------------------------------
$config['Database']['name'] = 'jimhap_forum3';

//--------------------------------------------------
// Table Prefix
//--------------------------------------------------
$config['Database']['prefix'] = 'nbs_';

//--------------------------------------------------
// Use Persistent MySQL Connection (1 = yes; 0 = no)
// Warning: This can be very resource intensive!
//--------------------------------------------------
$config['Database']['pconnect'] = 0;


//============================ SPECIAL USERS =============================
//--------------------------------------------------
// Super Admins
// These admins are able to set admin permissions
// and various other things.
// Separate each userid with a comma.
//--------------------------------------------------
$config['SpecialUsers']['superadmins'] = 'jimhap';

//--------------------------------------------------
// Undeletable / Unalterable Users
// The users listed here cannot be deleted or edited.
// We highly recommend that you list your main
// account here so you can't be deleted or edited if
// you ever get hacked.
// Separate each userid with a comma.
//--------------------------------------------------
$config['SpecialUsers']['undeletableusers'] = 'jimhap';

//--------------------------------------------------
// Can View Admin Logs
// Enter a list of admin userids with permission to
// view the admin logs.
// Separate each userid with a comma.
//--------------------------------------------------
$config['SpecialUsers']['canviewadminlogs'] = 'jimhap';

//--------------------------------------------------
// Can Prune Admin Logs
// Enter a list of admin userids with permission to
// empty the admin logs.
// Separate each userid with a comma.
//--------------------------------------------------
$config['SpecialUsers']['canpruneadminlogs'] = 'jimhap';

//--------------------------------------------------
// Query Running Permissions
// Enter a list of admin userids with permission to
// run queries from the admin control panel.
// Separate each userid with a comma.
$config['SpecialUsers']['canrunqueries'] = 'jimhap';


//====================== MISCELLANEOUS INFORMATION =======================
//--------------------------------------------------
// Debug Mode (1 = yes; 0 = no)
//--------------------------------------------------
$config['Misc']['debug'] = 0;

//--------------------------------------------------
// Path To Script (with ending slash at the end)
// If you do not know this, please upload
// do_not_upload/path.php to the main directory
// where your phpBB files are, and run it.
//--------------------------------------------------
define('DIR', '/home/jimhap/public_html/phpbbhost/');


//===================== DO NOT EDIT THIS SECTION!!! ======================
//--------------------------------------------------
// Is the Script Installed? (1 = yes; 0 = no)
//--------------------------------------------------
define('INSTALLED', 1);

if (!defined('IN_NBS'))
{
die('Hacking attempt!');
}
//================================================== ======================

?>


(Password is erased)

Please help!!!!!

Derek
09-Mar-2007, 09:26 PM
Hey,

It needs to be the userid, not the username. Yours is probably 1, if you put that username in when you installed it.

Derek

jimhap
09-Mar-2007, 09:34 PM
Wow! I didn't notice that! Thanks!!! :)

Derek
09-Mar-2007, 11:09 PM
Glad its working now :).