Support Forum
Hello,
I having an issue with the registration button. I want it to go to Alternate Registration URL that I have entered into the configuration as in the image included:
The login button is going to the Alternate Login URL that I entered but the registration button is going to the default Wordpress registration page. How can I make the registration button go to the Alternate Registration URL?
Thank you.
which registration button? the one in the forum header area?
Did you previously specify a destination url in the template tag in the sp theme for the registration button? In your sp theme, in the spHead.php template file, what do you have for the registration button? Here is the default one:
sp_RegisterButton('tagClass=spButton spRight', __sp('Register'), __sp('Register'));
if you previously put a registration url in there, it takes precedence...
Visit Cruise Talk Central and Mr Papa's World
Can I ask a question? When you display a forum page with the registration button showing (and I assume you are referring to the complimentary one we display along with profile, login etc...) then when you hover your mouse cursor over it - what url gets shown as the link - which in most browsers displays in the status area at the bottom of the window.
Is it your replacement or the standard WP link?
YELLOW
SWORDFISH
|
It is the standard one: http://www.morningcoach.com/wp.....n=register
I have not changed any of the code. I just added an Alternate Registration URL but it is not working. The Alternate Login URL does work.
to answer your question back in post 3, you would change it to
sp_RegisterButton('tagClass=spButton spRight&link=http://site.com/register', __sp('Register'), __sp('Register'));
of course, put in your url there for the link argument...
Interestingly, I just did a quick test and it didnt work for me either.. so maybe something has gotten knocked... will open a ticket for research...
Visit Cruise Talk Central and Mr Papa's World
so turns out there is an issue with the alt registration url... will get it fixed up in next release (should be in week or two when wp releases 4.7)... in meantime, you can use the method in my last post, or if you want, we can post the code change here for the alt registration url if you want to update our plugin code...
Visit Cruise Talk Central and Mr Papa's World