Jump to content

samuelyip74

Member
  • Posts

    6
  • Joined

  • Last visited

Everything posted by samuelyip74

  1. Hi, I like to allow users to view quotes without logging in. Anyone know how this can be achieved? Rdgs, Samuel
  2. Hi, I created a custom login page and added a hook to redirect non-logged in user to the custom login page. Here the hook: <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPage', 1, function($vars) { // Perform hook code here... $client = Menu::context('client'); if (is_null($client)) { header("Location: https://www.mysite.com/clientarea/login.html"); } }); I tested and is working fine. How can I exclude certain templatefile from redirecting to the custom login page? I need to exclude logout.php, pwreset.php from redirecting to the custom login page. It seem the hook I created forces all non-logged in user that touch the clientareapage to redirect to the custom login page, including logout.php, pwreset.php etc. Any advise?
  3. Hi, I am also looking at adding billable through API and flag no tax. How can I do this? Any recommendation?
  4. I see the able hyperlink when I tried to register a new domain. And when I click on the hyperlink, it will show the various hosting plan I have created. After choosing the plan, the hosting plan is added to the cart, but when I return to the domain registration, it still shown "No hosting! Click to add" It there something wrong ?
  5. Hi I like to customize the PDF invoice to include the following information. $invoice_last_payment_amount $invoice_previous_balance $invoice_total_balance_due Can it be done ? Please advise. Rdgs
×
×
  • 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