Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
coding-topic
Registration URL from Forum
Avatar
Alan Newman
Member
Free Members
sp_UserOfflineSmall Offline
Nov 15, 2012 - 3:54 pm

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/.....terbutton/

 

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

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 15, 2012 - 4:08 pm

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

andy-signature.png
YELLOW
SWORDFISH
Avatar
Alan Newman
Member
Free Members
sp_UserOfflineSmall Offline
Nov 16, 2012 - 6:37 pm

Hi,

 

My URL is http://www.kingsreachcommunity.co.uk

 

Thanks

 

Alan

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 16, 2012 - 7:59 pm

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?

Avatar
Alan Newman
Member
Free Members
sp_UserOfflineSmall Offline
Nov 17, 2012 - 8:10 am

ok sorry,

the current registration page is the default one -:

http://www.kingsreachcommunity.....n=register

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

 

http://www.example.com/wp-logi.....n=join_krc

 

Thanks

 

Alan

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 17, 2012 - 9:25 am

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'));

Avatar
Alan Newman
Member
Free Members
sp_UserOfflineSmall Offline
Nov 17, 2012 - 5:25 pm

That's very helpful. Thank you!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 17, 2012 - 5:58 pm

np. glad to help.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626