This topic contains 1 reply, has 2 voices. Last updated by Cristián Lávaque 4 years, 4 months ago.
Topic Author | Topic |
---|---|
Posted: Wednesday Aug 22nd, 2012 at 6:13 pm #22784 | |
I have a two-step registration process where someone who wants to register on our site does so from an Infusionsoft form on my “Members” page. When that form is submitted, an administrator must approve the registration by running an action set inside Infusionsoft that calls the s2Member Remote Ops API to create that person with the appropriate custom capabilities. To allow s2Member “Level 0” (open) registration, the ability to register for the WordPress site is forced to ON (see Settings/General->Anyone Can Register). However, this also creates a “Register” link on the standard login page which re-directs to the built-in registration page, not my “Members” page. To fix this so that clicking “Register” goes to the right place, do the following: 1. Edit the “wp-login.php” file in the top directory of your site (I like using Filezilla and the PSPad editor). 2. Find the switch/case statement for registration around line 510 and insert two lines as follows:
Of course, you will want to use the slug of the page you want it to use instead of “members”. Now if someone gets to the login page and clicks the “Register” link, they will be directed to the correct page for registration.
|