Support Forum
Hi is there any way i can move the math require field to the bottom of my registration page, im trying to make the math require! the last field. This is my site
http://itmotorsports.com/wp-lo.....n=register
Thanks!!
The answer is possibly! But you will need to make a small core code edit to find out. The good thing would be, however, that if it worked I would see no problem in us making the same edit to core so that future updates maintain the change.
But all this assumes that whatever it is you are using to add those other fields to the registration form uses the same WordPress 'hook' that we use for the math question (or for the graphical captcha plugin). So let's find out!
In the main WordPress plugins folder find the file /simple-press/sp-startup/sp-load-core.php. You should be able to use the plugin editor in the WP admin for this I believe.
Just over half way through you should see a small section that has this comment: # User registrations and logout - and underneath that this line of code:
add_action('register_form', 'spa_register_math', 1);
That 1 at the end is a priority number. It tells WordPress when to process this particular action. The lower the number the greater priority is used to run that code. So - if we assume your other plugin is using the same hook, by altering this priority number we can delay the display if the math question.
I would start by changing the 1 to, say, 20. Save it. Look at the form. If it has not changed then up the number. Go for broke - change it to 999 or something! If it NEVER moves then it probably can;t be done as it would mean your other plugin is doing things differently.
I hope that all makes sense! Let us know how it goes.
YELLOW
SWORDFISH
|
good news. thanks for the update.
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)