You can manually paste the password into the required field. The application copies the generated password to the clipboard. The application indicates if the password strength is medium or low. The application automatically generates new passwords when the parameters are changed. Change the password parameters if needed.The Password Generator window opens, and the application generates a password using the default settings. In a password field on a website, click and click Create.In a browser window, click → Password Generator.In the main application window, click Password Generator.Open the Password Generator window in one of the following ways:.Possibly you could generate a stronger password with a hook, but there's no chance of me writing a hook for a 4 year old - i'd have to visit for the old WHMCS documetnation for 2015 and see what the hook conditions were back then and that's not going to happen. and it's still the case in v7.7.1 with standard_cart. □ 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 "" section, that is why, but do not see other password field code in the file that would be applicable to non-server products.Īren't the passwords autogenerated for cPanel products anyway - the client never gets asked to add their own ? that's what i'm seeing looking at vertical steps. 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. It generated and saved 12 characters long password. RESULT: It worked only when i tried to generate password and order server. (if anyone interested here i describe changes i made in my templates/orderforms/verticalsteps/configureproduct.tpl based on Brian! file attached above) Thank You for your effort 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. I've commented in the code where i've made changes, but it's basically:Īs I said previously, this is the v6.2.2 version of the verticalsteps configureproduct.tpl template so I wouldn't suggest doing an overwriting upload - just compare your current version of the template to this one and manually add the 3 changes. I've changed the field from a password field to a text field (that's just so the user can get the generated password) and i've made the field readonly - which simplifies things as it will force them to use the generator and not enter a password manually. I might be tempted to remove similar characters, e.g l 1 & I from the character options, but I can leave that to you if you think it's going to be an issue that could cause confusion. What i've done is added a password generator to the configureproduct page - it's not testing strength, but it's generating passwords that I suspect should probably pass the cPanel tests. and can I say, it was an absolute pain in the proverbial to find any sort of solution that would work with it - any recent coding technique I tried would fail, so I had to keep going further back in time to older techniques. So i've used the 6.2.2 dev as that does have a default folder with vertical steps. nor would it have "verticalsteps" either. Ok, that's a little awkward as by the time they got to releasing v6.3.2, both "default" and "verticalsteps" were no longer shipped with WHMCS - so my v6.3.1 dev was a clean install back in 2016 and doesn't have the default template folder (you will only have it because you upgraded from a previous version) - it shipped with only "five" and "six". Thank you, it is old "default" (WHMCS 5) kind of style, and "verticalsteps" order form template.
0 Comments
Leave a Reply. |