Topic: Admin number when you install

Anyway to change admin on install to 1 instead of 2.

As this forum is /user/2/ there is no /user/1/

Thanks

Signature

2

Re: Admin number when you install

Well, there's always a way. For example at admin/install.php you can check lines 1562-1586 or you can try to change it in Phpmyadmin. But personally I don't recommend that. I could cause some problems  wink

Eraversum - scifi browser-based online webgame

Re: Admin number when you install

Change

// Insert guest and first admin user
    $query = array(
        'INSERT'    => 'group_id, username, password, email',
        'INTO'        => 'users',
        'VALUES'    => '2, \'Guest\', \'Guest\', \'Guest\''
    );

To

// Insert guest and first admin user
    $query = array(
        'INSERT'    => 'group_id, username, password, email',
        'INTO'        => 'users',
        'VALUES'    => '1, \'Guest\', \'Guest\', \'Guest\''
    );

If so, tried that and it still went to 2.

Signature

Re: Admin number when you install

Not a big thing and it won't stop from using the forum software, just a wee bit curious anyway.

So, nevermind, getting ready to setup PunBB. smile

Signature