housekeeping

Youwillknow

Member
Jul 31, 2013
61
1
Hey,

My housekeeping on my hotel isn't working , so i wondered if someone could help me install a new housekeeping , please ?
 

Jeffrey

Devbest Indian Tech Support
FindRetros Moderator
Feb 5, 2013
1,180
412
Hey, If you ranked yourself and cant access the housekeeping try these's following solutions
1) Log out and log back in
2) If your experiencing [Incorrect Access Level], Go to class.users.php and find

Something similar or same as :
PHP:
final public function loginHK()
    {
        global $template, $_CONFIG, $core;
     
        if(isset($_POST['login']))
        { 
            $template->form->setData();
            unset($template->form->error);
         
            if(isset($template->form->username) && isset($template->form->password))
            {
                if($this->nameTaken($template->form->username))
                { 
                    if($this->userValidation($template->form->username, $core->hashed($template->form->password)))
                    {
                        if(($this->getInfo($_SESSION['user']['id'], 'rank')) > 7)
                        {
                            $_SESSION["in_hk"] = true;
and change the rank > 7 or what ever number there to the minimum rank you want the ranks to enter..
or do what kryptos said
Looks ok.

To fix the login issue.. go to hk/login.php

Replace
Code:
 action="index.php?url=dash"

With this
Code:
 action="index.php?url=login"

OR

with this
Code:
 action="index.php"

PS: It'll work in any theme.
 

Users who are viewing this thread

Top