Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Pinkmare

  • Rank
    Junior Member
  1. Hello. Do you know if it is possible to make hook for grab chosen subdomain by customer during checkout or after invoice paid? What I want do: get subdomain and when invoice is paid add subdomain into CloudFlare via CloudFlare API Thank you for help
  2. Hello @(Amr). Thank you so much for help! I changed this. Thank you for help and your time
  3. Hello @(Amr). Thank you for answer. You are welcome, you did really good job. I know about this settings but I wanted to change "View Timezone" also to UTC Thank you for help and your time
  4. Hello @(Amr). Today I bought this theme and it is really amazing. I have just one question. How can I change default Timezone? The selected view is using a different timezone than your WHMCS timezone, which may cause inaccurate dates/values. View timezone : America/Los_Angeles WHMCS timezone : UTC
  5. Another quick fix for small bug where not logged in client is not redirected to the login page. Open file unblockip.php and find: if ($whmcs_client_id) { ...content } else { return false; } and remove this part of code: else { return false; } In result when not logged in client will try access unblockip, he will get redirect to the login page @edit Another small tip for everyone who use CloudFlare and have issues with showing not correct IP: Open "unblockip.tpl" and find: $smarty.server.REMOTE_ADDR replace with: $smarty.server.HTTP_CF_CONNECTING_IP
  6. Hello so module is working perfect. It don't show any message and don't works if client don't have any service. Sadly this module don't show any output when Client don't have active service. You can simply add in functions.php in function "process_request" below $servers = Capsule::table('tblservers')->select(["tblservers.ipaddress","tblservers.username","tblservers.password","tblservers.accesshash","tblservers.name","tblservers.secure","tblservers.type"])->join("tblhosting","tblservers.id","=","tblhosting.server")->where('tblhosting.userid', $whmcs_client_id)->whereRaw("(tblservers.type = 'cpanel' or tblservers.type='directadmin' or tblservers.type='cpanelextended') and tblservers.disabled = 0 and tblhosting.domainstatus = 'Active'")->distinct()->get(); this code if ($servers == "[]") { $errors = $errors . "You don't have any active service and you can't use this feature"; } and in result when client with inactive or without service will try use this module will get error provided
  7. Hello. Recently I was looking for some perfect anti DDoS solution for my service. Sadly CloudFlare have sick requirements if you want join to their partnership program or they want get paid for access. During checking their API i found that I can add records via their API. I wanted ask about some small help or tips where/how to start/add hook/function with one will automatically add "A" records to CloudFlare when my customers will select free subdomain during checkout. Thank you so much for help
  • 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