Jump to content

ooooyeahbabe

Member
  • Posts

    14
  • Joined

  • Last visited

About ooooyeahbabe

ooooyeahbabe's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. I create this in configureproduct.tpl now its working <script> function makeid(length) { var result = ''; var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; var charactersLength = characters.length; for (var i = 0; i < length; i++) { result += characters.charAt(Math.floor(Math.random() * charactersLength)); } return result; } function generatePass(pLength){ var keyListAlpha="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", keyListInt="123456789", keyListSpec="!@#$%^&*_-+=?", password=''; var len = Math.ceil(pLength/2); len = len - 1; var lenSpec = pLength-2*len; for (i=0;i<len;i++) { password+=keyListAlpha.charAt(Math.floor(Math.random()*keyListAlpha.length)); password+=keyListInt.charAt(Math.floor(Math.random()*keyListInt.length)); } for (i=0;i<lenSpec;i++) password+=keyListSpec.charAt(Math.floor(Math.random()*keyListSpec.length)); password=password.split('').sort(function(){return 0.5-Math.random()}).join(''); return password; } $(document).ready(function() { $('#inputHostname').val('' + makeid({/literal}{$hostname_interfix}{literal}) + '{/literal}{$hostname_prefix}{$hostname_suffix}{literal}') }); $(document).ready(function() { $('#inputRootpw').val(generatePass(14)); }); </script>
  2. add_hook('OverrideModuleUsernameGeneration', 1, function($vars) should i change taht OverrideModuleUsernameGeneration ?
  3. Nothing , it like din't work . still have another special string $digits = '0123456789'; $chars = 'abcdefghijklmnopqrstuvwxyz'; $special = '!@#$%^&*?'; // Plesk does not consider (, ), -, = and + as special characters
  4. Sorry , its not working my version is 8.5.1
  5. The Root Password automatically generated by WHMCS for placing an order is too complicated, which leads to an error when the user creates a VPS of Windows OS, and the password needs to be manually changed to pass. How to reduce this password or make it only contain complex special characters at most So as to meet Windows requirements for passwords
  6. How should the directory be set up? Put the Whmcs directory inside the Wordpress directory?
  7. i have public_html directory should i put wordpress directory into it? Then put Whmcs into the wordpress directory? Is this safe? Will it affect subsequent upgrades and maintenance? for example:www.***.com this is the wordpress sitewww.***.com/members This is the whmcs site how can I compare the implementation of security
  8. what i want is for example: www.***.com this is the wordpress site www.***.com/members This is the whmcs site how can I compare the implementation of security
  9. Hi sir, i want add WHMCS Register or login div in my wordpress home page what should i do?
  10. 1.The path is correct 2.The authority is 777 3.The directory owner is www but it's still hint me "The path you entered does not appear to be a valid directory. Please check it and try" - - - Updated - - -
×
×
  • 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