MyBB Community Forums

Full Version: Password generator
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Trying to add my own custom password generator on the register screen I have added the code for it but now I get

Our systems detect that you may be a spammer and therefore you have been denied registration. If you feel this is a mistake, please contact the Administrator.

URL: https://www.infernoforums.net

I have tried disabling all plugins
I don't have stopforumspam for register on
I don't have captha turned on

I'm stumped and no clue how to fix it :p

I used the code from https://codepen.io/corenominal/pen/rxOmMJ and put it in member register
For one thing randomly adding code to your register page is probably not going to work if you don't know what you're doing. Second, that script doesn't generate even remotely secure passwords so I don't think you should be using it. There's a ton of password generators out there that are secure, I would just link to those instead of trying to make your own using a really crappy javascript snippet.


Also "used the code" from that page includes CSS, HTML, and javascript. "member register" isn't a page, and member.php shouldn't have javascript code in it. You need to give way more specific info if you actually want useful help.
(2017-06-06, 12:28 AM)fizz Wrote: [ -> ]For one thing randomly adding code to your register page is probably not going to work if you don't know what you're doing. Second, that script doesn't generate even remotely secure passwords so I don't think you should be using it. There's a ton of password generators out there that are secure, I would just link to those instead of trying to make your own using a really crappy javascript snippet.


Also "used the code" from that page includes CSS, HTML, and javascript. "member register" isn't a page, and member.php shouldn't have javascript code in it. You need to give way more specific info if you actually want useful help.

not a page but the template member_register and i added the javascript in my js file and thanks ill look for better ones then
Revert your changes.

https://community.mybb.com/mods.php?action=view&pid=404 you can use this plugin and even edit it to suit your needs if you absolutely need it on your register page.