Jump to content

cluster

Level 2 Member
  • Content count

    99
  • Joined

  • Last visited

Community Reputation

10 Good

About cluster

  • Rank
    Level 2 Member
  1. Hello Guys, I was not able to solve this issue, I have added a str_replace into the module, but it still shows the same error message (also deleted files from templates_c) 'phonenumber' => str_replace(".", "", $params['phonenumber']), An Error Occurred Parameter value policy error ; [contact:admin: Your phone number must use the following format: +999999999 (starting with +country code) contact:tech: Your phone number must use the following format: +999999999 (starting with +country code) contact:billing: Your phone number must use the following format: +999999999 (starting with +country code) contact:org: Your phone number must use the following format: +999999999 (starting with +country code)] could it be that the + sign are removed from POST data?
  2. OK thanks I will try a str_replace in the module
  3. I have disabled this feature https://docs.whmcs.com/Phone_Numbers but after the update all phone numbers were changed and a "." dot are placed between countrycode an local number: +33.11111111 (before the update +3311111111) I can not change it anymore and even my registrar module does not work anymore because of using the dot in phone number
  4. I'm looking for plugin which shows domain details and generates dynamic pages for any extensions ... example https://www.eurodns.com/domain-extensions/us-domain-registration is there such a plugin available? Regards
  5. remove countrys from order form?

    ah ok, it seems only one bracket is needed here ;-) { "AF": false, "AX": false, "AL": false }
  6. remove countrys from order form?

    strange ... for me it does not work, using the modern cart theme
  7. remove countrys from order form?

    thank you guys
  8. remove countrys from order form?

    OK, the content looks like: { "AF": { "name": "Afghanistan", "callingCode": 93 }, "AX": { "name": "Aland Islands", "callingCode": 358 }, "AL": { "name": "Albania", "callingCode": 355 }, ... } should I remove all code first and only put this into the file without main brackets {}? only: { "GB": false }, { "US": false }
  9. Hi, how can I remove countrys from the order form dropdown list? I have already tried w/ /includes/country.php and /resources/country/countries.json file but it does not work ... In this doc it clear not clear if anything inside this file should be removed first and how should the complete file looks like after modification ... https://docs.whmcs.com/Customising_Countries_and_Calling_Codes
  10. WHMCS latest modern theme how can I make the state field in client area (clientareadetails.tpl) optional? it is already marked as an optional field in the whmcs setup but in client area it does not work .. still required for any changes also, the phone number field in clöient area do not allow international prefixes w/ + f.ex. +001 45454545454 the client needs to enter 001 45454545454 but the above format is required by my registrar
  11. Great, Thank you Brian, that worked!
  12. I was able to remove the tag cloud, but it does not work for the categories: <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $secondarySidebar) { if (!is_null($secondarySidebar->getChild('Support Knowledgebase Categories'))) { $secondarySidebar->removeChild('Support Knowledgebase Categories'); } });
  13. wow, thank you! is this also possible w/ the left blocks for: - by Month (Announcements) - categories (Knowledgebase) - Tag Cloud (Knowledgebase) I do not find the variables for it ...
  14. thanks! hmm strange ... the advaced tab > Environment Mode Inspection shows now a red cross for Full Friendly Rewrite (not supported) But I'm sure that mod_rewrite works ... .htaccess: RewriteEngine On #force lang de RewriteRule ^de/(.*).php?(.*)#(.*) /clients/$1.php?$2&language=german#$3 [NC,L,QSA] RewriteRule ^de/(.*).php?(.*) /clients/$1.php?$2&language=german [NC,L,QSA] RewriteRule ^de/(.*).php#(.*) /clients/$1.php?language=german#$2 [NC,L,QSA] RewriteRule ^de/(.*).php$ /clients/$1.php?language=german [NC,L,QSA] RewriteRule ^de/$ /clients/index.php?language=german [NC,L,QSA] RewriteRule ^de/(.*) /clients/$1 [NC,L,QSA] #force lang en RewriteRule ^en/(.*).php?(.*)#(.*) /clients/$1.php?$2&language=english#$3 [NC,L,QSA] RewriteRule ^en/(.*).php?(.*) /clients/$1.php?$2&language=english [NC,L,QSA] RewriteRule ^en/(.*).php#(.*) /clients/$1.php?language=english#$2 [NC,L,QSA] RewriteRule ^en/(.*).php$ /clients/$1.php?language=english [NC,L,QSA] RewriteRule ^en/$ /clients/index.php?language=english [NC,L,QSA] RewriteRule ^en/(.*) /clients/$1 [NC,L,QSA] #force lang fr RewriteRule ^fr/(.*).php?(.*)#(.*) /clients/$1.php?$2&language=french#$3 [NC,L,QSA] RewriteRule ^fr/(.*).php?(.*) /clients/$1.php?$2&language=french [NC,L,QSA] RewriteRule ^fr/(.*).php#(.*) /clients/$1.php?language=french#$2 [NC,L,QSA] RewriteRule ^fr/(.*).php$ /clients/$1.php?language=french [NC,L,QSA] RewriteRule ^fr/$ /clients/index.php?language=french [NC,L,QSA] RewriteRule ^fr/(.*) /clients/$1 [NC,L,QSA] #force lang fr RewriteRule ^lu/(.*).php?(.*)#(.*) /clients/$1.php?$2&language=luxembourg#$3 [NC,L,QSA] RewriteRule ^lu/(.*).php?(.*) /clients/$1.php?$2&language=luxembourg [NC,L,QSA] RewriteRule ^lu/(.*).php#(.*) /clients/$1.php?language=luxembourg#$2 [NC,L,QSA] RewriteRule ^lu/(.*).php$ /clients/$1.php?language=luxembourg [NC,L,QSA] RewriteRule ^lu/$ /clients/index.php?language=luxembourg [NC,L,QSA] RewriteRule ^lu/(.*) /clients/$1 [NC,L,QSA] # Announcements RewriteRule ^announcements/([0-9]+)/[a-z0-9_-]+\.html$ ./announcements.php?id=$1 [L,NC] RewriteRule ^announcements$ ./announcements.php [L,NC] # Downloads RewriteRule ^downloads/([0-9]+)/([^/]*)$ ./downloads.php?action=displaycat&catid=$1 [L,NC] RewriteRule ^downloads$ ./downloads.php [L,NC] # Knowledgebase RewriteRule ^knowledgebase/([0-9]+)/[a-z0-9_-]+\.html$ ./knowledgebase.php?action=displayarticle&id=$1 [L,NC] RewriteRule ^knowledgebase/([0-9]+)/([^/]*)$ ./knowledgebase.php?action=displaycat&catid=$1 [L,NC] RewriteRule ^knowledgebase$ ./knowledgebase.php [L,NC] # OpenID Discovery Document (http://openid.net/specs/openid-connect-discovery-1_0.html) RewriteRule ^.well-known/openid-configuration ./oauth/openid-configuration.php [L,NC] # security #RewriteCond %{QUERY_STRING} systpl=* #RewriteCond %{query_STRING} ^(carttpl=*)|(systpl=*)|(tpl=*)|(sld=*)|(tld=*)|(billingcycle=*)|(currency=*)(.*)$ #RewriteCond %{query_STRING} ^(carttpl=*)|(systpl=*)|(tpl=*)|(sld=*)|(billingcycle=*)|(currency=*)(.*)$ RewriteCond %{query_STRING} ^(carttpl=*)|(systpl=*)|(tpl=*)|(billingcycle=*)|(currency=*)$ RewriteRule ^(.*)$ https://www.mydomain.tld/? [R=301,L] - - - Updated - - - maybe .. would be better to disable/remove the sidebar if possible for: Announcements Knowledgebase Downloads
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines