Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,003
- How-to & Troubleshooting
- 129,526
- Creating & Extending
- 25,789
- Requests & Feedback
- 9,495
- Third Party Plugins
- 9,781
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,169
-
I was looking for the same solution and appreciate all the work you guys have done. However the javascript solution seems like a long way to generate a random string. Is there a reason not to use the mt_rand function or something similar? So to add “mem” the username form would look like:
<input type="hidden" name="signup_username" id="signup_username" value="<?php echo("mem" . mt_rand()) ?>" />
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS