Jump to content

hogava

Senior Member
  • Content Count

    45
  • Joined

  • Last visited

Community Reputation

1 Neutral

About hogava

  • Rank
    Member

Recent Profile Visitors

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

  1. with this method, any time that i refresh page, i get new value!
  2. Now how can I apply this limitation about payment gateway in viewinvoice.php page too?
  3. Thanks for the explanation. Yes I use standard_cart with customized template. This JQuery code solved my problem: jQuery("input:radio[name=paymentmethod]:visible")[0].checked=true;
  4. Hi, I need use other gateway when card total is more than 400$, with this hook othergateway shown when total is more than 400$ but that is not selected and if customer doesn't select othergateway then redirected to paypal. How can change default selected gateway from hook? function cart_gateway_detection($vars) { if ($vars['templatefile']=='viewcart'){ $gateways = $vars['gateways']; $total = $vars['total']->toNumeric(); if ($total <= 400){ unset($gateways['paypal']); } else { unset($gateways['othergateway']); } return array("gateways" => $gateways); } } add_hook("ClientAreaPageCart", 1, "cart_gateway_detection");
  5. I have a RESTFUL API for sending SMS, and that need just a message and a phone number for sending SMS. I didn't find any plugins. I want all users to be checked every day, and send SMS to users who were eligible (based on what I write.) For this needed cronjobs. this must written as hook?
  6. Hi, I want to give customers feedback after X days from their first order (by sending a poll link via SMS) please help me about this.
  7. how can i use $smarty variable in custom php page?
  8. THANKS uid is id of client or is for whmcs admins?
  9. Someone can help me on how to use condition for WHMCS's logged-in admin in custom php page.
  10. Hello I need to use WHMCS login system for access custom PHP file? I created a php file in folder inner of whmcs and now i want just admin of whmcs can see this page. please help me about implementation of that. thanks
  11. Thanks so much, How should run this and get result. I saved it in PHP file and run it but i have 500 error.
  12. But I want reverse of it. i have my gmail password and i need Encrypt password and then save it for SMTPPassword.
  13. Hello, i need insert smtp setting from phpmyadmin. how i should edite SMTPPassword in tblconfiguration ? md5? thanks.
×
×
  • 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