Jump to content

Ilyas

Member
  • Posts

    13
  • Joined

  • Last visited

About Ilyas

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Ilyas's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. I am in exactly the same situation. I've managed to set up a load balanced whmcs before. The situation is different now. What I was doing back then: Nginx as load balancer and use sticky sessions. This basically means that the request a user makes ends up on the same node as his previous requests. this works, you can find a lot of good information about sticky sessions on google. My situation now: A large docker swarm cluster, HAproxy load-balancing with service discovery, database cluster and database proxys. Sticky sessions are out of the question here without breaking other applications on the cluster. The concept is quite simple, there are x worker nodes in the swarm, they exist on our main infrastructure and on different locations around the world. Every datacenter has its own managers and they function as entrypoint to the cluster routed with BGP anycast DNS. Important apps and cache instances are scaled across the cluster to cover every datacenter to reduce latency to the minimum The whole damn thing is production ready and works with all our custom apps (PHP/laravel, node, wordpress, ELK,...) and they all use memcached as session/cache driver. WHMCS does work, until I start scaling the service across the cluster. Then I have the exact same behaviour as you describe. Maybe it is time to ask WHMCS if I can buy/lease an unencrypted version to do some tweaking, this has been going on for weeks now...
  2. Hey, It has been a long time since I checked this post. Currently, I am developing a custom system that runs next to WHMCS that provides a fluid API to communicate with WHMCS, cPanel, Proxmxox, Zimbra and on the long run provisions apps on docker hosts. This way creating your own laravel, AngularJS, Ember,... client interface is a breeze. I've struggled with that for a long time because I really like WHMCS as a client managment system. The release date is within the next 2 - 3 months and a large part of the codebase will be open source if someone is intrested. Then, I will put the template files of the current design on GitHub. But a lot is customized to our likings and there are some 3th party modules that are required. Installing would not be easy!!
  3. No, what I did was, shorten the registration form with making the required fields hidden and give them a value N.A. This is far from perfect, I'm looking for a way to force clients to fill in all their details when completing an order. For now I ask first time customers, before activating their order, to complete their details. However, I'm getting closer to a solution with a custom hook. If a customer has the NA values in the database clear these values and when other values are in the database to check if the address, postcode and country effectively exists. I had some frauds lately who were abusing my servers in a trail period. I want to prevent this, as automated as possible, instead of finding out later. It seems to work, but it needs a lot of finetuning.
  4. I am trying something similar to this. Shrink the registration form to only email, pass and language. I have managed to do this but upon checkout I want the user to be required to fill in all the other details. (For legal purposes and preventing fraud) Have you got any ideas how to achieve this? I noticed that you also have this problem. I went trough the order proces and upon checkout I don't get asked to fill in other details.
  5. Hey, I'm currently working on a custom integration of WHMCS. A lot of custom modifications has been made to make this concept work. I'm looking for some insights, opinions about what can be done better, extras,... The project is still in a very early beta stage, we only just started accepting (beta) clients. Every opinion matters! Feel free to take a look around, I've set up a test account so you can take a look in the client area. https://client.phasehosting.be user: test@mail.com pass: swGpIL8hdC What has been done so far: Re-design every element inside whmcs HTML website builder intigration (beta) owncloud integration for free cloud storage and email client (very early stage) Replaced knowledgebase with WordPress based system What has to be done: Optimize UX Mobile app for invoices, basic product configuration, DNS,... (in development) Open-exchange/ms xchange integration Lots of extra pages/feautures integrated DNS manager Announcements (design) Write tutorials/FAQ Create API for customers ... Plans for the future: Make WHMCS work with angularJS, if someone has managed to do this, feel free to contact me
  6. Hey, I am currently designing a custom client dashboard from scratch. Everything works perfectly except forone thing. When I want to access cPanel accounts, vps accounts,... (Everything using this link:/clientarea.php?action=productdetails&id=..) Basicly everything with server modules does not load. /clientarea.php?action=productdetails&id=.. What I did so far to create the dashboard: Copy six template Remove js and css Custom css and js used the original .tpl files for the structure and content of whmcs rebuild the structure with all the variables and original content with the original pages of six Custom order forms Everything works, tables, invoices, menus,... but the server modules don't display. Debuging did not give anything, no 404, no js error,... I really have no clue. EDIT: I found the error 2 minutes after posting this... It was a typo in one of my scripts...
  7. I like it a lot! Simple and professional. I was a potentional customer I would definatly stay longer than a few seconds on your website.
  8. It does not look mature enough. Look at some designs at ThemeForest or do a google search for hosting templates to get some inspiration. Combine that with the comment above and you can take your website to the next level If you need any help or have questions, I'm glad to help. I also can give you an example of an integration I did last month that never was used for production. It was done with this theme: themeforest.net/item/alaska-responsive-htmlcss-hosting-template/11677280
  9. Hey, I'm currently building a website for a belgian web host and I'm looking for some honnest advise. https://www.phasehosting.cc https://client.phasehosting.be ->whmcs integration The non client side is dynamically generated by php to do some serious a/b testing. Later this week 3 other versions will be made (mainly different css and somelayout changes) It is not 100% finished, but you'll get the idea What do you guys think? What can be improved, what's bad, good,...
  10. Hey, How can I pass the language variable of the main website (domain.com) to whmcs (client.domain.com) Or how can I set the language according to the domain? On my main website this is done by the .htaccess with SetEnvIf and some php. SetEnvIf Host "\.uk$" SITE_LANGUAGE=english SetEnvIf Host "\.cc" SITE_LANGUAGE=english SetEnvIf Host "\.be" SITE_LANGUAGE=dutch SetEnvIf Host "\.nl" SITE_LANGUAGE=dutch $_SERVER['SITE_LANGUAGE']; calls the language detirmined in the.htaccess And the php: <?php session_start(); header('Cache-control: private'); // IE 6 FIX // lang according to domain $lang = $_SERVER['SITE_LANGUAGE']; if(isSet($_GET['lang'])) { $lang = $_GET['lang']; // register the session and set the cookie $_SESSION['lang'] = $lang; setcookie('lang', $lang, time() + (3600 * 24 * 30)); } else if(isSet($_SESSION['lang'])) { $lang = $_SESSION['lang']; } else if(isSet($_COOKIE['lang'])) { $lang = $_COOKIE['lang']; } else { $lang = 'en_eu'; } switch ($lang) { case 'nl_be': $lang_file = 'nl_be.php'; break; case 'nl_nl': $lang_file = 'nl_nl.php'; break; case 'en_us': $lang_file = 'en_us.php'; break; case 'en_uk': $lang_file = 'en_uk.php'; break; case 'en_eu': $lang_file = 'en_eu.php'; break; default: $lang_file = 'en_eu.php'; } include_once 'components/languages/'.$lang_file; ?>
  11. I already knew that. This way it is displaying a title above the custom content of that page. https://client.phasehosting.be/windows-hosting.php'>https://client.phasehosting.be/windows-hosting.php <- like this But what I want to achieve is like my homepage. -> https://client.phasehosting.be/ If I can do that then I can build around whmcs and have my content blended with the client area. that way I can replace my main website with a fully integrated whmcs version.
  12. Hey, I want to display a link in my menu for certain customers only. For example; I have 3 packages (x,y and z) y and z contains extra content and access to a certain part of the website. is this possible with whmcs? thx in advance!
  13. Hey, I am trying to integrate my whole website (html) with whmcs. The header, footer and homepage went great and now I want to add other pages to whmcs. I tried this code -> <?php define("CLIENTAREA",true); //define("FORCESSL",true); // Uncomment to force the page to use https:// require("init.php"); $ca = new WHMCS_ClientArea(); $ca->setPageTitle("Windows Hosting"); $ca->addToBreadCrumb('index.php',$whmcs->get_lang('globalsystemname')); $ca->addToBreadCrumb('windows-hosting.php','Windows Hosting'); $ca->initPage(); //$ca->requireLogin(); // Uncomment this line to require a login to access this page # To assign variables to the template system use the following syntax. # These can then be referenced using {$variablename} in the template. $ca->assign('variablename', $value); # Check login status if ($ca->isLoggedIn()) { # User is logged in - put any code you like here # Here's an example to get the currently logged in clients first name $result = mysql_query("SELECT firstname FROM tblclients WHERE id=".$ca->getUserID()); $data = mysql_fetch_array($result); $clientname = $data[0]; $ca->assign('clientname', $clientname); } else { # User is not logged in } # Define the template filename to be used without the .tpl extension $ca->setTemplate('windows-hosting'); $ca->output(); ?> This kind of works but it doesn't give me a blank working area. the title and some links appear when I visit the page. How can I build my pages completely around whmcs? It would be awesomne for customer experience if everything is integrated in whmcs. thx in advance!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated