Jump to content

cyben76

Members
  • Content count

    28
  • Joined

  • Last visited

Community Reputation

0 Neutral

About cyben76

  • Rank
    Member

Recent Profile Visitors

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

  1. cyben76

    Custom message on complete.tpl

    Ok noted, guess I'll have to do like what you said earlier. Get the client ID and check if there is any orders, if no orders add a line in complete.tpl with custom message
  2. cyben76

    Custom message on complete.tpl

    Hi brian! I noticed under ShoppingCartValidateCheckout there is a variable custtype with Possible values are new or existing, could that be of use for me..
  3. Hi Guys, I was wondering how i could display a custom message for first time orders when it is paid. Is there an if statement i could use within the {if $ispaid} ... {/if} in complete.tpl?
  4. cyben76

    Domain Checker with captcha

    OMG yah I forgot about the orderform... Thanks Brian! Yup Six with standard_cart works fine, I guess it's something to do with my custom orderform...
  5. cyben76

    Domain Checker with captcha

    Hi @WHMCS John I've checked the Apache Error Log, output: [WHMCS Application] ERROR: Whoops\Exception\ErrorException: Cannot redeclare _recaptcha_qsencode() in :0 Stack trace: #0 /home/webhsg/public_html/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Cannot redeclar...', '', 0) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} {"exception":"[object] (Whoops\\Exception\\ErrorException(code: 1): Cannot redeclare _recaptcha_qsencode() at :0)"} []
  6. Hi, I'm not sure if it's just me, but with captcha enable and when I try to search a domain name no result displayed. Using Firefox developer tool -> network I see error 500. When captcha is disabled from Setup->General Settings->Security everything works as per normal. Tested on my custom template and default Six template, same results.
  7. cyben76

    Version 7 remove captcha on domain checker

    So I managed to work around the problem... Taking your initial solution: <form method="post" action="cart.php?a=add&domain=register"> <div class="row"> <div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1"> <div class="input-group input-group-lg"> <input type="text" class="form-control" name="query" placeholder="{$LANG.exampledomain}" autocapitalize="none" /> <span class="input-group-btn"> {if $registerdomainenabled} <input type="submit" class="btn btn-warning" value="{$LANG.search}" /> {/if} {if $transferdomainenabled} <input type="submit" name="transfer" class="btn btn-info" value="{$LANG.domainstransfer}" /> {/if} I changed it a little: <form method="post" action="cart.php?a=add&domain=register"> <div class="row"> <div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1"> <div class="input-group input-group-lg"> <input id="inputDomain" type="text" class="form-control" name="domain" placeholder="{$LANG.exampledomain}" autocapitalize="none" /> <span class="input-group-btn"> {if $registerdomainenabled} <input type="submit" class="btn btn-warning" value="{$LANG.search}" onclick="DoTransfer();" /> {/if} {if $transferdomainenabled} <input type="submit" name="transfer" class="btn btn-info" value="{$LANG.domainstransfer}" onclick="this.form.action='domainchecker.php';" /> {/if} At the footer, I added the script: <script> function DoTransfer() { document.getElementById('inputDomain').name = 'query'; }; </script>
  8. cyben76

    Version 7 remove captcha on domain checker

    WordPress? Actually captcha on the transfer page is ok with me.. Removing the captcha on domain search, i just remove the captcha div.. The problem, if i use <form method="post" action="domainchecker.php"> It does not initiate the check, users need to click search a second time. But if i use <form method="post" action="cart.php?a=add&domain=register"> and <input type="text" class="form-control" name="query" placeholder="{$LANG.exampledomain}" autocapitalize="none" /> It initiates search... But when users click transfer, it stills goes to search instead of transfer
  9. cyben76

    Version 7 remove captcha on domain checker

    Nope, not the hook method... Just the "sending to cart" directly method.. Works great if i click on register domain, but when i click transfer it initiated search in the cart instead of the domain transfer page
  10. cyben76

    Version 7 remove captcha on domain checker

    I tried doing this to my custom template search initiated when i click search but when i click transfer it initiated search instead
  11. Yes using Smarty works.. Does not show up at the bottom The problem was actually the Owl Carousel, if i disable loop and used Data Feed the price does not show up at the bottom of the page. $("#Redo-Slider-home").owlCarousel({ //loop: true, autoplay:true, autoplayHoverPause:true, items: 1 }); But with loop disabled the slider stops at the last image... I think best solution is enable loop on owl carousel and use smarty to get the price... But i looked thru the documentation, can't find how to do that...
  12. Used https://www.diffnow.com/ to compare orginal code with edited one, found some missing tags, closed them but still the same price still appear at bottom. Check using https://validator.w3.org/ everything seems ok, tried this Div checker thingy at http://www.tormus.com/tools/div_checker all seems ok... Finally did the last thing which i should have done first Uploaded the header.tpl, homepage.tpl, and footer.tpl. Inserted the Data Feed, still same result... output at bottom of page. Now still waiting for the template developer to get back to me.
  13. Thanks Brian! I forgot to check for unclosed divs, i have a feeling it should be somewhere in the slider....
  14. I'm using FireFox as well. It's right at the bottom of the page, you have scroll all the way down, its at the left corner bottom. I missed it too initially..
×

Important Information

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