Jump to content

vsooe

Retired Forum Member
  • Posts

    133
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by vsooe

  1. Issue: WHMCS developers apparently failed with their "Support Ticket Spam Control" feature, since it fails to block most of the SPAM in WHMCS 6.3.2. When I enter blocked email: mail.ru @mail.ru *@mail.ru spam from spammers like asnecant1980@mail.ru still goes through/is submitted, obviously spammers can generated unlimited email variations so blocking whole addresses is most often pointless. And it is not only about emails, but "phrases" blocking has same problem. Question: please which file to to edit and what to replace by what so it start working in partial match mode?
  2. I have asked them and their reply is to use minimal example: https://docs.hcaptcha.com/#add-the-hcaptcha-widget-to-your-webpage and to call "siteverify" using the token returned from answering the challenge. Pseudo-code example for that: https://docs.hcaptcha.com/#verify-the-user-response-server-side . They are also linking to https://docs.hcaptcha.com and https://github.com/hCaptcha/hcaptcha-integrations-list ...
  3. No, but when i insert into said .tpl file: then it shows a PHP info page and the text...
  4. Hello, in WHMCS, I have supportticketsubmit-steptwo.tpl file, and i would like to add hcaptcha to it. I have the hcaptcha code, which seems to be PHP. The last line i could add into the mentioned .tpl file, after current recaptcha button code, but regarding PHP-like code, when i have added it between {php}{/php} tags, it failed to display support form. List of hcaptcha integrations: https://github.com/hCaptcha/hcaptcha-integrations-list?tab=readme-ov-file#hcaptcha-integrations-list Please can you tell me what to place where in order it to display recaptcha + hcaptcha?
  5. Hello, when managing custom DNS records for the domain at /clientarea.php?action=domaindns I create new type A record with "Host Name" set as empty (since that is how that works in Namesilo), then after submitting the records and page reload WHMCS 6.x (see my signature please) wrongly fills the "Host Name" field with domain name. I mean if domain i am editing is domain.com, then it fills "domain" into "Host Name" field, even i have submitted empty value. It is problem, because after i submit next DNS record while not noticing it prefilled wrong value in previous record, it saves non empty value and everyone is confused why DNS is not resolving. The /home/me/public_html/templates/default/clientareadomaindns.tpl contains this code. Can anyone please kindly suggest me what to replace by what so the empty hostname field stays empty?
  6. This does not work for me, it continue saying "Unavailable", WHMCS 6.3.x On my computer when i execute "whois safdsdfsdfsdfsd.ca --verbose" it returns: Using server whois.cira.ca. Query string: "safdsdfsdfsdfsd.ca" Not found: safdsdfsdfsdfsd.ca but in /includes/whoisservers.php when i add one of the following lines: .ca|whois.cira.ca|Not found .ca|whois.cira.ca|Not found: .ca|whois.cira.ca|Not found: none of it works. I have tried to paste including space after colon. Any idea on what may work please or different whois server? Similar topics searched: https://whmcs.community/topic/127833-resolved-cira-and-unavailable-whois/ https://whmcs.community/topic/134637-ca-domains-show-unavailable-when-theyre-actually-available https://whmcs.community/topic/125005-ca-new-registration-system/ https://whmcs.community/topic/219401-verification-of-availability-ca/ https://www.iana.org/domains/root/db/ca.html
  7. Hello, I would like to ask for help. WHMCS 6.3.2 with module DirectAdmin which creates web hosting accounts on a remote server. When invoice is marked Paid, the API command in Utilities / Logs/ModuleLog missing server IP: but when i click Create button manually on that service page, in WHMCS then it works: Response for missing server is: I have even found decoded /modules/servers/directadminmodules/directadmin.php Website is using CloudFlare, pausing it, not made any difference What are Your ideas why it does not supply it in case of automated setup and please what to try to fix it?
  8. Hello, I would like to use https://www.stopforumspam.com/usage to block spammers, current reCaptcha does not seem to be effective for contact form SPAM tickets. So any idea how to implement it, for example to WHMCS 6.x? v6 hcaptcha module? My other idea was firewall and mod security. But that is just a theory.
  9. Hello, it seems that WHMCS is generating too weak password and cPanel server the WHMCS is contacting is refusing to create hosting account. So in Settings, security i have found Required Password Strength parameter being set to 50. Trying to change and submit the form cause 403 Forbidden error. So i ran following SQL query in PHPMyAdmin: UPDATE tblconfiguration SET VALUE='100' WHERE setting='RequiredPWStrength'; It worked to update the value, but my question is, is this password strength applied only on client account password or also to passwords generated for hosting services bought through WHMCS, like cpanel hosting? Thank You
  10. Hello, when i am not active in WHMCS (6.3.2) admin area for some time, maybe 20 minutes? maybe hour? and then try to for example search using the search field in top right corner, then it fails and returns: and i have to load the whole page again in order for it to start working. It is annoying. I am using Firefox beta and also tried Chrome with just 2 addons that should not be related. The site is protected by the Cloudflare. Someone was advising to go to General Settings / Security and disable CSRF there. But i do not know if it is good idea and which option of these to disable. Note that i have additional .htaccess password protection for the admin area so admin area should be decently safe... Thank You in advance.
  11. Thank you for the feedback. In the includes/whoisservers.php i have found TWO lines: .me|whois.nic.me|NOT FOUND .me|whois.meregistry.net|NOT FOUND (in order like i show it) so i commented out second one turning the line into: #.me|whois.meregistry.net|NOT FOUND then the .me whois lookup started working. No timeout and shows the correct domain status (Unavailable) instead of Available. I think that if needed, the alternative whois server can be defined in above mentioned whoisservers.php file and found by running linux whois command on a domain name and it should output the address of the whois server. Thank you for helping to solve this 🙂
  12. Hello, in the WHMCS 6.3.2 the whois configuration file sets the .me domain whois server to whois.nic.me In the WHMCS logs i see " WHOIS Lookup Error for encrypt.me': Error: 110 - Connection timed out " I paused Cloudflare protection for the site and waited 2 minutes, that whois whmcs lookup continue to timeout. The IP shown was my IP. When i do Linux command (whois encrypt.me -h whois.nic.me) from my computer with that public IP, then the WHOIS works, and does not timeout. I asked my hosting provider to do the same command from the hosting server where WHMCS is hosted, it does not timeout either.
  13. Hello, i have found that in WHMCS 6.3.2 in the file templates/orderforms/verticalsteps/adddomain.tpl is line "<h2>{$LANG.choosedomains}</h2>" below which i can insert custom text. I want to insert link to https://www.namecheap.com/domains/registration/results/?domain={$domain} {$domain} being the variable used for the domain name the user submitted for checking its availability. I already tried several variables, but none return the domain name. Please which variable it is? Or can i add any particular debug line into that .tpl file that show me all available variables please? I tried to add {debug} and it found following three variables and its properties: $availabilityresults Smarty_Variable Object (3) ->value = Array (2) 0 => Array (4) domain => "encrypt.me" status => "unknown" ... $domains Smarty_Variable Object (3) ->value = Array (1) 0 => "encrypt.me" ->nocache = false ->scope = "file:/home/me/public_html/templa..." $searchResults Smarty_Variable Object (3) ->value = Array (11) domainName => "encrypt.me" tld => "me" sld => "encrypt" status => "unknown" legacyStatus => "error" score => 1 isRegistered => false isAvailable => false suggestions => Array (1) ...
  14. PHP 5.6 and WHMCS 6.3.2, "default" template (one from WHMCS 5.x possibly), "verticalsteps" orderform template. when i am on an Invoice page as a client and while debugging mode is enabled and while i select only one particular payment gateway, i see: Here is the php file of that payment gateway. password is "whmcs" and here callback php file. This payment gateway worked till the beginning of this month, now it do not mark invoice Paid. Can you please suggest me what to check to find the cause and fix this?
  15. SUCCESS! following is how i converted cpanel products into DirectAdmin products It is a bit tricky but i think i found how to convert cpanel products into directadmin products (it should work also for other kind of hosting account products). on my WHMCS 6.3 and i can say DirectAdmin module works good with current DirectAdmin (09/2019) - i added new Server with DirectAdmin type (Setup -> procuts/Services -> Servers) - i went to Setup -> Products/Services -> Products/Services, then clicked to edit one of the cpanel products (hosting plans) and on the "Module Settings" tab set the Directadmin. - i have open one of the client's cpanel hosting product in WHMCS and changed Server from MyCpanelServerName to MyDirectAdminServerName. At that point it given an impression the Server type was saved for that clients hosting product (page reload shown new server be assigned), but NO. When i clicked to suspend/unsuspend/create, it used my cPanel server hostname (wrongly) instead of DirectAdmin address and in the MySQL database/tblproducts/particular product, the Server ID was cpanel server ID. But when i clicked Save button (in the WHMCS/ some client's hosting products) then it reflected number of used packages next to the server name and changed the ID in mysql database and now API commands works good. So in short: Add DirectAdmin server in WHMCS Edit all cpanel products (hosting packages) and set DirectAdmin in on its "Module Settings" tab List all active or suspended cpanel services and open them one by one and change Server type in them and confirm changes by Save changes button
  16. Hello, on WHMCS 6.3.2 when i want to turn tens of cPanel (WHMCS server module) services into DirectAdmin (WHMCS server module) services/products, how i do it without the need to manually create services and copy paste all the product properties over? On the product/service page of some of the clients i can change "Server:", but unsure if that would be so easy. Also anyone knows if mine mentioned WHMCS version DirectAdmin module is still working? I have not found any changelog on https://docs.whmcs.com/DirectAdmin .
  17. so in short, passwords for server kind of WHMCS products can be generated on order form, but password for WHMCS cpanel products can not? WHMCS does not looking for any user input that can be saved as a password of the ordered cpanel kind of product? Thus it will not help me to try to copy that password text field to various places of the configureproduct.tpl or any other files?
  18. Thank You for your effort @brian!. I have used your code, but i had to also make an adjustment - in order for the orderform to accept the password, i had to replace "output" by "rootpw" in the password text field code and also "output" by "rootpw" in the javascript code. (if anyone interested here i describe changes i made in my templates/orderforms/verticalsteps/configureproduct.tpl based on Brian! file attached above) RESULT: It worked only when i tried to generate password and order server. It generated and saved 12 characters long password. But when i tried to order cpanel hosting account, there was no prompt to generate or enter password and inside admin area i see the password is only 10 characters long, not 12 as set by Brian! javascript. 🤔 Any idea how to generate more complex/longer password for cpanel products or how to show password generating field during its order? UPDATE: i see i editted inside "{if $productinfo.type eq "server"}" section, that is why, but do not see other password field code in the file that would be applicable to non-server products.. Also while researching i found that the password may be also generated using PHP (i think PHP in templates have to be allowed somewhere in WHMCS settings), the php based generator may look like this: <input type="hidden" name="rootpw" size="20" value="{php}$rdmpw = substr(md5(rand().rand()), 0, 15); echo $rdmpw;{/php}" /> 15 = length, i bet it is using only alphanumeric
  19. thank you, it is old "default" (WHMCS 5) kind of style, and "verticalsteps" order form template.
  20. My WHMCS version is 6.3.2. I checked modules/servers/cpanel files and found a js but inside is not anything about password generator. How do i change that password quality in WHMCS 6? I am OK witch manually adding like 4 static characters to each password. I just do not know what to modify in which file. Can you please advise the file and the steps? I am not a coder, but have basic orientation in the code.
  21. Hello, WHM complain the password WHMCS generated for the new cpanel hosting account is too weak. How do i please increase generated passwords complexity? I only found following configurable option which i assume is for the client area password only? Required Password Strength - Enter the required password strength from 1 to 100 - Enter 0 to Disable Similar, unanswered & closed topic
  22. Hello, WHMCS 6.3, old "default" (WHMCS 5) style, verticalsteps. apparently ticket submitting no longer works, i tried to edit a few tpl files that seemed to be submti ticket page, but my changes was not reflected even after i cleaned cache in Utilities / System.
  23. Hello, on WHMCS 6.3.2, legacy WHMCS 5 template Apache Version 2.4.37 PHP Version 5.6.38 i made no modifications or adding any plugin or such and i found that i can no longer edit my admin notes field when editing client product (clientsservices.php?userid=x&id=y) i am also unable to submit ticket for the client from within admin area, i select user id, but after submission it says no such ID. Also i can not submit ticket logged in as a client, ticket is submitted, i click its ID, and it says such ticket does not exist and it indeed is not in MySQL database. i checked MySQL tables, they do not seem erroneous (i ran repair function of phpadmin on them). i CAN modify my note about client on clientssummary.php?userid=123 Also stopped working e-mails (mailserver says dkim_remote_smtp defer (-53): retry time n0t reached for any h0st for 'gm@il.com') - but i hope this is unrelated. i checked error_log files, enabled debug mode, checked browser dev Console no errors except that content security policy blocked loading of https://fonts.googleapis.com/css?family=Open+Sans:400,600 („style-src“). Please kindly advice me what to check. Thank you
×
×
  • 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