Support Forum

Changing registration link location in 5.0

MR MrWizard
MrWizard
Member

Upgrade went very smoothly… thanks for the help with that.

url- http://problem-with-post-edit-buttonowtofightnow.com

I’m just wondering where I go to change the destination link for the SP 5.0 registration button from the main wordpress registration to my wishlist registration form.  I flipped through the menus but nothing jumped out at me. 

Everything seems to be coming along great… thanks for all of your help guys. 

 

—Travis

5 Answers

New Answer

MP Mr Papa
Mr Papa
Member

look in your sp theme spHead.php file… you will see a call to the register template tag sp_RegisterButton()…  just add in the argument link=xxx where xxx is the page you want…

MR MrWizard
MrWizard
Member

Here is the code that I found: 

 

sp_RegisterButton(‘tagClass=spButton spRight’, __sp(‘Register’), __sp(‘Register’));

 

Here is what I changed: 

 

sp_RegisterButton(‘tagClass=spButton spRight’,’link=http://problem-with-post-edit-buttonowtofightnow.com/need-membership’, __sp(‘Register’), __sp(‘Register’));

 

The button still points to the WP registration page via the link… and now my button says, “link=http://problem-with-post-edit-buttonowtofightnow.com/need-membership”     LOL……

 

You can see this here:  http://problem-with-post-edit-buttonowtofightnow.com/fighting-forum/

 

I’m trying….

YS Yellow Swordfish
Yellow Swordfish
Member

You’re close! It should be:

sp_RegisterButton('tagClass=spButton spRight&link=http://problem-with-post-edit-buttonowtofightnow.com/need-membership', __sp('Register'), __sp('Register'));

In other words, separated by an ampersand.

MR MrWizard
MrWizard
Member

YESSSSS!!!!!!!!!

Done!

Thank you guys!!!!!!!!!!!!!!

—Travis