Jump to content

Rodrigo Gomes

Member
  • Posts

    18
  • Joined

  • Last visited

About Rodrigo Gomes

Recent Profile Visitors

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

Rodrigo Gomes's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hello Martins, I could not solve this problem. I still have the same error.
  2. Like I said before, I'm pretty sure it's not htaccess. The deny of access works in any other folder, except in that administrative folder. Something very strange is happening here.
  3. The problem continues. The issue here is deny access, this is not blocking access to administrative page. Even with: Order Deny,Allow Deny from all
  4. Hello brian, I'm really really sure. This is very strange. I have exactly this on my htaccess: Order Deny,Allow Deny from all Allow from ::1 127.0.0.0/8 Allow from 123.456.789.10 I have tested this same rule on other folders, and it works normally. But in the admin folder of whmcs no, continue accessing the index. However, it block static files, images, css. And it does not allow login, because it block the dologin.php file. Apache is configured correctly, with: AllowOverride All Note: I use a custom name for the admin folder.
  5. Hello brian, These rules in htaccess are no longer working. I'm using version 7.3.0 and it's not a problem with htaccess (yes, I'm sure of that).
  6. I checked, the client has zero balance. And the invoice is negative, which is curious.
  7. I have an invoice that the customer paid twice, and it got negative amount in invoice. Does the system automatically use the negative amount as credit in future invoices?
  8. Hi brian, For tax reasons here in my country, I need certain fields to be required. I'm using this hook for other things too, like checking the personal identification number here from Brazil (CPF). And these required fields need to be filled out. And this is required even for admin. I'm seeing the error of my own hook, the one I set in "$error[]". But although the error appears, the modification is performed anyway. And I do not want even the administrator to be able to set an invalid CPF. Or leave "Address 2" blank. Thank you!
  9. Hello brian, What if I want run the hook even with an admin?
  10. Thank you Brian! But unfortunately I have a problem. My php script works perfectly in the client area, but in the administrative panel, the error appears but the modification is done anyway. I think this is a bug from WHMCS itself.
  11. Hello, I also made a hook in php to force "address2" to be a required field. This way it is safer and works for any area where this address is inserted or modified. function hook_validation_account($vars) { if (!$vars['address2']) { $error[] = "You did not enter 'Address 2'"; } if($error){ return $error; } } add_hook("ClientDetailsValidation",1,"hook_validation_account");
  12. Hello brian, Inspired by your answer, I created the JS code below. An easy way to make that field required without having to edit the theme. $(document).ready(function(){ if(document.getElementById("address2") !== null){ document.getElementById("address2").required = true; } })
  13. Hello guys, I would like to turn the Address 2 into a required field. There is no way to do this by the administrative panel, is there any other solution? Some PHP code that I can insert or modify.
  14. The problem was been fixed by the support team. If you have a similar problem, please contact them through the support ticket. They will send you a pack with the solution.
×
×
  • 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