Support Forum

Registration URL from Forum

AN Alan Newman
Alan Newman
Member

Hello,

 

I am trying to make use of the safety features afforded by a WordPress plugin – ‘Custom registration link’  to stop the  automated spammers out there.   However for this to work in Simple Press I need to makes changes to syntax in the php .

 

I did have a look at the article http://codex.simple-press.com/codex/api/template-functions-and-the-api/display-template-functions/common-view/sp_registerbutton/

 

However each time i tried to enter the url into the argument it always failed.  Would someone be able to point me in the right direction , perhaps an example?

 

Many Thanks

 

Alan

7 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Can you give me the link in question so I can check it and tell you how to do it?

MP Mr Papa
Mr Papa
Member

No, we need to know the url to your registration page…  what url are you trying to use?  assume you are trying to put it in the ‘link’ argument?

AN Alan Newman
Alan Newman
Member

ok sorry,

the current registration page is the default one -:

http://www.kingsreachcommunity.co.uk/wp-login.php?action=register

the one I need the register button to use via the link argument is

 

http://www.example.com/wp-login.php?action=join_krc

 

Thanks

 

Alan

MP Mr Papa
Mr Papa
Member

the standard register button looks like:

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

and you would then want to change to

sp_RegisterButton(‘tagClass=spButton spRight&link=http://www.example.com/wp-login.php?action=join_krc ‘, __sp(‘Register’), __sp(‘Register’));