Jump to content

Search the Community

Showing results for tags 'domain validation'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • The latest WHMCS Release
  • WHMCS Beta Program
    • WHMCS Mobile App Technical Preview Feedback
  • The Latest from the WHMCS Team
    • News, Announcements & Blogs from WHMCS
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • Feedback
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro Club's Topics
  • WHMCS Services Club's Topics
  • SwiftModders Club's Topics
  • WHMCS Global Services Club's Topics
  • Zomex Club's Topics

WHMCS Version

  • V7.10.x Hotfixes
  • V7.9.x Hotfixes
  • V7.8.x Hotfixes

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me

Found 2 results

  1. Hello, I'm debugging existing registrar module, written by our company. I have problem domain validation on Cyrillic (.мкд) domains, but only in case when SLD is only numbers (e.x. 1234.мкд) I get error message "Domain is not valid". I don't know where smarty variable "$invalidtld" is set? If you can help me with some advice in which file is domain validation? Thanks in advance, Vasil
  2. Hello, what i'm trying to accomplish is replace some characters (აბც) with some english ones and vise versa. I've tried 2 ways to do that - both failed. First of all i tried by making a hook add_hook("PreDomainRegister",1,"hook_transliterate"); Unfortunatelly inside my main function - i cannot neither get the client information neither return it. function hook_transliterate($vars) { $firstname= $vars["params"]["firstname"]; $domain = $vars["params"]["domain"]; return str_replace("a char","b char",$firstname"); } $firstname is nothing - and of course my return is not working as well. Then i tried to do a Transliteration hook , so i made a hooks.php file and placed it in /www/whmcs/hooks/transliterate.php My code is : function hook_transliterate($string) { $string = str_replace("a","w",$string); $string = str_replace("b","v",$string); return $string; } add_hook("Transliteration",1,"hook_transliterate") ; Unfortunatelly it seems is never triggers. Then I tried add_hook("DomainValidation",999,"hook_transliterate"); hook activates every time when domain availability checking running but, i want to transliterate this string and return to client input as different characters for ex: abc = აბც . it would be great to save in DB also like these. Any help will be appreciated. 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