|Posted: Tuesday Feb 26th, 2013 at 4:16 pm #43262|
I’ve been using a “hack” which I’ve uploaded to the mu-plugins folder that automatically logged people in and redirected them to the login welcome page when they registered on my site. The hack that I was using is shown below:
But in the last week or two (I can't recall exactly) it stopped working.
From reading around on the forums, it seems that this is the hack I should be using:
I have followed the instructions in the post, and also have the latest version of s2member installed, but this latest hack does not work in the way the old one did.
It appears to log people in (although still shows the register screen with the yellow "Thank you. Please login" alert), but does not redirect them to the log in welcome page.
Is there anything I need to add to the code in order to send people straight to the login welcome page after registration, rather than leave them on the registration page?
FYI: I have configured a Special Redirection URL, rather than use a page from the login redirection dropdown menu.
- s2Member® Products