
chanx-young
Members-
Posts
26 -
Joined
-
Last visited
Recent Profile Visitors
chanx-young's Achievements
-
Backend Menu Not Working After Changing Admin Folder
chanx-young replied to chanx-young's topic in Bugs
yes, that solve my problem, so i have a suggestion to clear cache after upgrade. Please include that on upgrade script or on upgrade tutorial. thanks. -
chanx-young reacted to a post in a topic: Backend Menu Not Working After Changing Admin Folder
-
Just updated to blesta 3.5.0 and change admin folder base on this article http://docs.blesta.com/display/user/Installing+Blesta#InstallingBlesta-ChangingthepathtotheAdminarea. After changing folder name, i can login using new folder name but i can't access all the menu because the link is go to /admin (the default folder name). Can saomeone help me? thank you update: just have check, the menu on the top right is pointing to the new folder name, but the main menu and its child menu is not. the widget on home screen is pointing to the new one also.
-
Blesta Or Domain Label In Google Authenticator Otp Code
chanx-young replied to chanx-young's topic in Feature Requests
yes, i know about it, we can rename. but if we can make something like google or lastpass which have the label above the code will be awesome. just suggestion from me, maybe a little tweak in qr code generator. so if we enter manual key we have to convert the key shown on blesta to hexa?sorry, just know it. thanks -
hello, i'm using blest otp via google authenticator. but to setup account i have to use qr code, because if i just enter the security key, google authenticator show illegal in security key. And also after i scan using qr code, it doesn't show what program is this code used for ( i also have gmail and last pass on my authenticator and both of that has label gmail and last pass) but not with blesta. maybe dev can check it. sample is on the attachment, the third one is from blesta thanks.
-
Password Reset Link Redirect Back To Login Page
chanx-young replied to chanx-young's question in Support
Thank you very much, you saved my day. And you're right, i have redirect all call to my website to www so i have to set hostname to www.domain.com and in email template i have to edit link(not just the shown text) to https:// maybe suggestion to developer to make this setting easier. thanks -
Password Reset Link Redirect Back To Login Page
chanx-young replied to chanx-young's question in Support
hello. i try to edit app/controllers/clien_login.php /** * Confirm password reset */ public function confirmReset() { $this->uses(array("Clients")); // Verify parameters if (!isset($this->get['sid'])) $this->redirect($this->base_uri . "login/"); $params = array(); $temp = explode("|", $this->Clients->systemDecrypt($this->get['sid'])); //print_r($temp); //if (count($temp) <= 1) // $this->redirect($this->base_uri . "login/"); foreach ($temp as $field) { $field = explode("=", $field, 2); $params[$field[0]] = $field[1]; } // Verify reset has not expired //if ($params['t'] < strtotime("-" . Configure::get("Blesta.reset_password_ttl"))) //$this->redirect($this->base_uri . "login/"); // Verify hash matches //if ($params['h'] != substr($this->Clients->systemHash('u=' . $params['u'] . '|t=' . $params['t']), -16)) //$this->redirect($this->base_uri . "login/"); // Attempt to update the user's password and log in if (!empty($this->post)) { $client = $this->Clients->getByUserId($params['u']); $user = $this->Users->get($params['u']); if ($user && $client && $client->status == "active") { // Update the user's password $this->Users->edit($params['u'], $this->post); if (!($errors = $this->Users->errors())) { $this->post['username'] = $user->username; $this->post['password'] = $this->post['new_password']; $this->post['ip_address'] = (isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : ""); // Attempt to log user in $this->Users->login($this->Session, $this->post); $this->forwardPostAuth(); } else $this->setMessage("error", $errors); } } } i comment out 3 verification : 1. if (count($temp) <= 1) 2. Verify reset has not expired 3. Verify hash matches and the pages go to ask for new password like it should have. wonder what is sid content. try to print_r($temp) but just [Array ( [0] => ) do that mean the sid is not valid? or it can't be decrypt? -
Password Reset Link Redirect Back To Login Page
chanx-young replied to chanx-young's question in Support
the cron is running good, still can't figured it out what happened, could somebody help me? look like there is problem with redirection in login page. am i right? -
Password Reset Link Redirect Back To Login Page
chanx-young replied to chanx-young's question in Support
i did that on my own, i clicked the link just after i received the confirmation email so that before 4 hours. but just redirected to login page. i tried that on licensecart. but his installation seems no problem. on mine before update is okay, dont know is it because of update or not. -
Password Reset Link Redirect Back To Login Page
chanx-young replied to chanx-young's question in Support
i can't find any error. my password reset link is at https://www.domain.com/client/login/reset/ password reset confirmation link is at http://domain.com/client/login/confirmreset/?sid=hilnXxfw%2FbRW2tPOtBTG7BKjeV9%2B61qCXpNrDk7ZUnsolzPrxw7Knpg3rsrcAp5J but when i clicked that link it goes to https://www.domain.com/client/login/ -
Password Reset Link Redirect Back To Login Page
chanx-young replied to chanx-young's question in Support
what i need to edit? -
chanx-young started following Password Reset Link Redirect Back To Login Page
-
hello, i've update blesta to 3.4.2 but when my client request password reset, he receive the password reset mail with the password reset link inside. but when he click on that link, the page go to login page not the password reset page. anything i should check? thank you
-
Order Domain And Directly Continue To Hosting Package
chanx-young replied to chanx-young's question in Support
-
Order Domain And Directly Continue To Hosting Package
chanx-young replied to chanx-young's question in Support
it weirds if i choose idr terms it not going to manage domain setting(setting ns page) but if i choose term with USD it do goes to domain setting page, but when i click continue it goes back to check domain availability do that error because i import the product from whmcs? -
Order Domain And Directly Continue To Hosting Package
chanx-young replied to chanx-young's question in Support
i have read your tutorial but can't find anything wrong. so i try to change my template to default bootstrap and the error still there, after order selected domain it not going to hosting package selection. -
Order Domain And Directly Continue To Hosting Package
chanx-young replied to chanx-young's question in Support
what integration make that error? i just add a header and footer link, no other scripts there