Jump to content

upalm

Senior Member
  • Content count

    26
  • Joined

  • Last visited

Community Reputation

2 Neutral

About upalm

  • Rank
    Junior Member
  1. Hello, Could someone guide me through a hook that could hide the 'Active' and 'Suspended' status text via a hook? Thank you in advance! Edit: Solved! You can go ahead and edit the language overrides.
  2. Even I am getting '404' page not found result on LiteSpeed 1.6.6 after making changes to the folder permissions as the default Deny from all does not seem to be working (tells me that my /vendor folder is accessible which it is but the other htaccess's seem to be work fine as the 404 landing page also displays properly) and this is the only sole website on this hosting account. Is there a way to fix it via editing the Vhosts file?
  3. Can anyone suggest for Litespeed?
  4. upalm

    Stripe 3D Secure

    Hello, Greetings! Could someone help me with the popover as I am always landing up with 'Remote Transaction Failure' with 'Stripe' as the only change from my template and the default 'six' is that I can see is that the popover for the 3dsecure is not coming and neither does it come for the 2FA (basically it does not load the stripe.js in the footer) according to view source, I've been trying to wrap my head around this for weeks now but I cannot seem to solve it. Please if anybody could help me it would be highly appreciated. Is there a way to add the hook manually to the template? add_hook("AdminAreaFooterOutput", 1, function (array $vars) { $filename = $vars["filename"]; $return = ""; if ($filename == "clientssummary") { $return = "<script type=\"text/javascript\" src=\"https://js.stripe.com/v3/\"></script>"; } return $return; }); add_hook("ClientAreaFooterOutput", 1, function (array $vars) { $filename = $vars["filename"]; $template = $vars["templatefile"]; $return = ""; $requiredFiles = array("cart", "creditcard"); $requiredTemplates = array("account-paymentmethods-manage", "invoice-payment"); if (in_array($filename, $requiredFiles) || in_array($template, $requiredTemplates)) { $return = "<script type=\"text/javascript\" src=\"https://js.stripe.com/v3/\"></script>"; } return $return; });
  5. upalm

    TPL is missing

    Hey @brian! Could you help me with the popover as I am always landing up with 'Remote Transaction Failure' with 'Stripe' as the only change from my template and the default 'six' is that I can see is that the popover for the 3dsecure is not coming and neither does it come for the 2FA (basically it does not load the stripe.js) according to view source, I've been trying to wrap my head around this for weeks now but I cannot seem to solve it. Please if you could help us it would be highly appreciated. Is there a way to add the hook manually to the template? add_hook("AdminAreaFooterOutput", 1, function (array $vars) { $filename = $vars["filename"]; $return = ""; if ($filename == "clientssummary") { $return = "<script type=\"text/javascript\" src=\"https://js.stripe.com/v3/\"></script>"; } return $return; }); add_hook("ClientAreaFooterOutput", 1, function (array $vars) { $filename = $vars["filename"]; $template = $vars["templatefile"]; $return = ""; $requiredFiles = array("cart", "creditcard"); $requiredTemplates = array("account-paymentmethods-manage", "invoice-payment"); if (in_array($filename, $requiredFiles) || in_array($template, $requiredTemplates)) { $return = "<script type=\"text/javascript\" src=\"https://js.stripe.com/v3/\"></script>"; } return $return; });
  6. upalm

    Hide menu in Lost Password Reset

    Wow! That just did the trick. Thank you so much for the help and support 🙂
  7. Hi, Before we used to use the function though js to hide the menu's in 'pwreset' and now it does not seem to be working as WHMCS 7.8 and above is using the index file instead of the old 'pwreset'. I tried hiding it through the index filename but that seems to be breaking the styles on the pages without the '.php' extension and it is just showing only the text instead. Here is the code we were using: {if $formaction == 'dologin.php' || $filename == 'pwreset' || $filename == 'register' || $filename == 'login' || $filename == 'clientarea' && !$loggedin} Can anyone help me around this as converting it to a normal page without hiding the menus works perfectly but I really do not want the non logged in users to see the inside content without signing up.
  8. And do not forget to mention the custom directory on your 'configuration.php' as it is recommended from a security point-of-view.
  9. If the cron is setup properly (pointing to the correct directory) then try changing the php timezone to the correct one.
  10. upalm

    TPL is missing

    Blind me, thank you so much. It worked!
  11. After updating to WHMCS 7.9.0, we have come across an error while checking out using the Stripe payment gateway. Error log: Smarty Error: Unable to load template 'file:D:\xxx\xxx\xxx/xxx/xxx/invoice-payment.tpl' Where does the 'invoice-payment.tpl' even exist? As the template six does not have it. Even while attaching the new PayPal gateway it throws an 500 error after signing in.
  12. Edit: Oops my bad, I had chosen terminated by mistake. All fine here. Great work on the hook!
  13. upalm

    Cancellation Request Logic

    @yomyyo Hey, could you please share the simple Immediate Cancellation hook ( CancellationRequest) that cancels the service right after the billion period is over? It would be very kind of you. Does it auto cancel the immediate cancellation requests as well? As I do not have any module attached to the service and this hook would automate the major tasks.
  14. @brian! Thank you so much for the quick reply and contributing to the work on the amazing hook 🙂 You are amazing ^^
  15. @brian! Hello, first of thanks for this amazing script. But is there a way to hide the expired products under 'Submit Ticket's' too? As the expired products just clutters the 'submitticket.php'
×

Important Information

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