PDA

View Full Version : How do I make my self a supper admin


KOM
04-14-2004, 03:56 AM
How do I make my self a supper admin could some one drop me a code.
A nice code drop would be kool, like if I would have to add somthing under a code
to show that code as well so I know where I"m puting it at.. thx

so where in the config.php do I put $superadministrator = "#";
at ?

plezzzzz

Dean C
04-14-2004, 10:05 AM
If you're using vB3 then place your userid within the double quotes :) There is actual documentation within your config.php on how to do it :)

KOM
04-14-2004, 02:12 PM
Yea, I know to put a number there. But I do not see where you talking about

<?php
/////////////////////////////////////////////////////////////
// Please note that if you get any errors when connecting, //
// that you will need to email your host as we cannot tell //
// you what your specific values are supposed to be //
/////////////////////////////////////////////////////////////

// type of database running
// (only mysql is supported at the moment)
$dbservertype="mysql";

// hostname or ip of server
$servername="localhost";

// username and password to log onto db server
$dbusername="********";
$dbpassword="********";

// name of database
$dbname="******";

// technical email address - any error messages will be emailed here
$technicalemail = "**************";

// use persistant connections to the database
// 0 = don't use
// 1 = use
$usepconnect = 0;

// which users are allowed to view the admin log
// separate each userid with a comma
$canviewadminlog = "1";


// which users are allowed to prune the admin log
// separate each userid with a comma
$canpruneadminlog = "";

?>



I see s no (actual documentation)
do you ?

an yes I have vb gold

Scrub
04-14-2004, 02:21 PM
<?php
/////////////////////////////////////////////////////////////
// Please note that if you get any errors when connecting, //
// that you will need to email your host as we cannot tell //
// you what your specific values are supposed to be //
/////////////////////////////////////////////////////////////

// type of database running
// (only mysql is supported at the moment)
$dbservertype="mysql";

// hostname or ip of server
$servername="localhost";

// username and password to log onto db server
$dbusername="********";
$dbpassword="********";

// name of database
$dbname="******";

// technical email address - any error messages will be emailed here
$technicalemail = "**************";

// use persistant connections to the database
// 0 = don't use
// 1 = use
$usepconnect = 0;

// which users are allowed to view the admin log
// separate each userid with a comma
$canviewadminlog = "1";


// which users are allowed to prune the admin log
// separate each userid with a comma
$canpruneadminlog = "";

// ****** SUPER ADMINISTRATORS ******
// The users specified below will have permission to access the administrator permissions
// page, which controls the permissions of other administrators
$superadministrators = 'X';

?>


Replace the contents of your config.php file and change X to your userid.

Jolten
04-14-2004, 03:05 PM
The installation guide for Vb3 clearly explains how to add yoruself as a super admin.

KOM
04-14-2004, 03:41 PM
Thank you scrub :)

Scrub
04-14-2004, 03:44 PM
For some extra security you can add this:

// ****** UNDELETABLE / UNALTERABLE USERS ******
// The users specified here will not be deletable or alterable from the control panel by any users.
// To specify more than one user, separate userids with commas.
$undeletableusers = 'X';


Above the // ****** SUPER ADMINISTRATORS ****** and change X to your userid. :p