[Release] RoseOnlineCMS v3 Lite!

oo i think i found wut u did wrong --

// Database
$config['db']['host'] = 'localhost'; // Database Host
$config['db']['user'] = 'root'; // Database User
$config['db']['pass'] = 'roseon_beta'; // Database Name
$config['db']['name'] = ''; // Database Pass

you got mixed up with the last 2 u c?
**edit** nope it didnt work
 
Question:

I want to make the Admins level 500 and users 300

In the functions.php, is this the place to change it, or is it someplace else??

function checkAdminLogin() {
$result = mysql_query("SELECT * FROM accounts WHERE username = '$U' and password = '$P' and accesslevel = '500'");
}

function checkUserLogin() {
$result = mysql_query("SELECT * FROM accounts WHERE username = '$U' and password = '$P' and accesslevel = '300'");
}


A thought, maybe make the levels configurable in the config file? Just my thoughts. Keep up the great work!
 
function checkAdminLogin() {
$result = mysql_query("SELECT * FROM accounts WHERE username = '$U' and password = '$P' and accesslevel = '500'");
}

function checkUserLogin() {
$result = mysql_query("SELECT * FROM accounts WHERE username = '$U' and password = '$P' and accesslevel = '300'");
}


are the old functions

Open modules/login.php and replace the 100 with 300....

open modules/alogin.php and replace the 300 with 500
 
Back