Mahtab Hassan Posted October 3, 2021 Share Posted October 3, 2021 Hi there, I have seen there are many feature lags in MOFHY Lite. Here you can request any feature by presenting its reference. All updates will be performed on MOFHY Lite github repository. Old versions will be archived as soon as new version release. There can be only one admin per MOFHY installation. MOFHY Lite is open source as well HUSTAL PROJECT. Quote Link to comment Share on other sites More sharing options...
MeTooIDK Posted October 4, 2021 Share Posted October 4, 2021 hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm idk Quote Link to comment Share on other sites More sharing options...
Mahtab Hassan Posted October 4, 2021 Author Share Posted October 4, 2021 4 hours ago, MeTooIDK said: hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm idk Ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh OK. Quote Link to comment Share on other sites More sharing options...
Santiago Posted October 4, 2021 Share Posted October 4, 2021 Hi everyone, I have created a MOFHY Lite repository in Spanish and English, I will be adding any update in the original repository, I am working in the multi-language system when I have it I will transfer the repository to @Shen Wei My repository: https://github.com/santydesignscr/MOFHY-Lite-Multi-Language Quote Link to comment Share on other sites More sharing options...
Santiago Posted October 4, 2021 Share Posted October 4, 2021 Just now, Santiago said: Hi everyone, I have created a MOFHY Lite repository in Spanish and English, I will be adding any update in the original repository, I am working in the multi-language system when I have it I will transfer the repository to @Shen Wei My repository: https://github.com/santydesignscr/MOFHY-Lite-Multi-Language I wil to add my SSL Modification Quote Link to comment Share on other sites More sharing options...
Santiago Posted October 4, 2021 Share Posted October 4, 2021 17 minutes ago, Santiago said: I wil to add my SSL Modification Now the SSL generator is updated, now I am working in the multi language system Quote Link to comment Share on other sites More sharing options...
TinkerMan Posted October 4, 2021 Share Posted October 4, 2021 Both @Santiago and @Shen Wei are amazing! Thanks so much! Quote Link to comment Share on other sites More sharing options...
Santiago Posted October 4, 2021 Share Posted October 4, 2021 Tank you! Quote Link to comment Share on other sites More sharing options...
Santiago Posted October 5, 2021 Share Posted October 5, 2021 After giving it a lot of thought and testing, I have found that it is better to perform 2 installations of MOFHY Lite using the same database in different directories and replace all the occurrences of to your clientarea url (example: https://santyhost.ga/en/clientarea/) (I do that whith VS Code) <?php echo $AreaInfo['area_url'];?> In one of the installations And use this code to swich the languages <?php $lang = "en"; $allowedlangs = array( "en", "es" ); if (!empty($_GET["lang"])) { $rlang = $_GET["lang"]; } else if (!empty($_COOKIE["lang"])) { $rlang = $_COOKIE["lang"]; } if (isset($rlang) && !empty($rlang) && in_array($rlang, $allowedlangs)) { $lang = $rlang; setcookie("lang", $lang,time()+31536000); } $langmaps = array( "en" => "/en", "es" => "/es" ); header("Redirecting to the Site"); header("Location: https://santyhost.ga$langmaps[$lang]"); exit; ?> You need to give a url on your site whith this estructure yourdomain.com?lang=en, (Replace en whith the language to be set whit the link) And you need to edit the final of the file whith your domain Quote Link to comment Share on other sites More sharing options...
Mahtab Hassan Posted October 5, 2021 Author Share Posted October 5, 2021 2 hours ago, TinkerMan said: Both @Santiago and @Shen Wei are amazing! Thanks so much! You are welcome Quote Link to comment Share on other sites More sharing options...
Mahtab Hassan Posted October 5, 2021 Author Share Posted October 5, 2021 (edited) 2 hours ago, Santiago said: After giving it a lot of thought and testing, I have found that it is better to perform 2 installations of MOFHY Lite using the same database in different directories and replace all the occurrences of to your clientarea url (example: https://santyhost.ga/en/clientarea/) (I do that whith VS Code) <?php echo $AreaInfo['area_url'];?> In one of the installations And use this code to swich the languages <?php $lang = "en"; $allowedlangs = array( "en", "es" ); if (!empty($_GET["lang"])) { $rlang = $_GET["lang"]; } else if (!empty($_COOKIE["lang"])) { $rlang = $_COOKIE["lang"]; } if (isset($rlang) && !empty($rlang) && in_array($rlang, $allowedlangs)) { $lang = $rlang; setcookie("lang", $lang,time()+31536000); } $langmaps = array( "en" => "/en", "es" => "/es" ); header("Redirecting to the Site"); header("Location: https://santyhost.ga$langmaps[$lang]"); exit; ?> You need to give a url on your site whith this estructure yourdomain.com?lang=en, (Replace en whith the language to be set whit the link) And you need to edit the final of the file whith your domain Ok nice work won't it takes much resources? Edited October 5, 2021 by Shen Wei Quote Link to comment Share on other sites More sharing options...
Santiago Posted October 5, 2021 Share Posted October 5, 2021 10 minutes ago, Shen Wei said: Ok nice work won't it takes much resources? The truth is I am testing it in the Hosting that I had sent you, but I am going to test it in SantyHost, I made some modification in the installer and now you only need to edit the language file Quote Link to comment Share on other sites More sharing options...
Santiago Posted October 5, 2021 Share Posted October 5, 2021 10 minutes ago, Shen Wei said: Ok nice work won't it takes much resources? I am seraching a homepage template to add to the project and upload to github Quote Link to comment Share on other sites More sharing options...
Mahtab Hassan Posted October 5, 2021 Author Share Posted October 5, 2021 1 minute ago, Santiago said: I am seraching a homepage template to add to the project and upload to github Why don't use erahost.ml homepage Quote Link to comment Share on other sites More sharing options...
Santiago Posted October 5, 2021 Share Posted October 5, 2021 Just now, Shen Wei said: Why don't use erahost.ml homepage Ohh, can you share me that? Quote Link to comment Share on other sites More sharing options...
Mahtab Hassan Posted October 5, 2021 Author Share Posted October 5, 2021 1 minute ago, Santiago said: Ohh, can you share me that? Sure Quote Link to comment Share on other sites More sharing options...
Santiago Posted October 5, 2021 Share Posted October 5, 2021 Ok tanks Quote Link to comment Share on other sites More sharing options...
Mahtab Hassan Posted October 5, 2021 Author Share Posted October 5, 2021 12 minutes ago, Santiago said: Ok tanks No problem Quote Link to comment Share on other sites More sharing options...
Santiago Posted October 5, 2021 Share Posted October 5, 2021 Just now, Shen Wei said: No problem I will yo translate it to Spanish, make some changes to the installer and upload to a GitHub (I keep the single english or spanish edition) Quote Link to comment Share on other sites More sharing options...
Mahtab Hassan Posted October 5, 2021 Author Share Posted October 5, 2021 10 minutes ago, Santiago said: I will yo translate it to Spanish, make some changes to the installer and upload to a GitHub (I keep the single english or spanish edition) I will keep the build the same Quote Link to comment Share on other sites More sharing options...
Santiago Posted October 5, 2021 Share Posted October 5, 2021 1 minute ago, Shen Wei said: I will keep the build the same Me too Quote Link to comment Share on other sites More sharing options...
MeTooIDK Posted October 5, 2021 Share Posted October 5, 2021 5 hours ago, Santiago said: Ok tanks Ok "tanks". Quote Link to comment Share on other sites More sharing options...
Santiago Posted October 5, 2021 Share Posted October 5, 2021 8 hours ago, Santiago said: After giving it a lot of thought and testing, I have found that it is better to perform 2 installations of MOFHY Lite using the same database in different directories and replace all the occurrences of to your clientarea url (example: https://santyhost.ga/en/clientarea/) (I do that whith VS Code) <?php echo $AreaInfo['area_url'];?> In one of the installations And use this code to swich the languages <?php $lang = "en"; $allowedlangs = array( "en", "es" ); if (!empty($_GET["lang"])) { $rlang = $_GET["lang"]; } else if (!empty($_COOKIE["lang"])) { $rlang = $_COOKIE["lang"]; } if (isset($rlang) && !empty($rlang) && in_array($rlang, $allowedlangs)) { $lang = $rlang; setcookie("lang", $lang,time()+31536000); } $langmaps = array( "en" => "/en", "es" => "/es" ); header("Redirecting to the Site"); header("Location: https://santyhost.ga$langmaps[$lang]"); exit; ?> You need to give a url on your site whith this estructure yourdomain.com?lang=en, (Replace en whith the language to be set whit the link) And you need to edit the final of the file whith your domain Now I have the Multi Language Working in (santyhost.ga), but I will upload when is finished Quote Link to comment Share on other sites More sharing options...
TinkerMan Posted October 5, 2021 Share Posted October 5, 2021 (edited) Is there a way to send the IP that the account was created with to the MOFH panel? Or increase the security of the Admin area so it can be hosted there? The main point is so there is a way to search the IPs. Can't wait for those extra tools to be posted, the others you created look amazing! Also, why did you delete the other topics? Edited October 5, 2021 by TinkerMan Quote Link to comment Share on other sites More sharing options...
Mahtab Hassan Posted October 6, 2021 Author Share Posted October 6, 2021 3 hours ago, TinkerMan said: Is there a way to send the IP that the account was created with to the MOFH panel? Or increase the security of the Admin area so it can be hosted there? The main point is so there is a way to search the IPs. Can't wait for those extra tools to be posted, the others you created look amazing! Also, why did you delete the other topics? I didn't deleted any topic. they were deleted by the mediator. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.