Faux community privacy for your KickApps community


/ Published in: JavaScript
Save to your folder(s)

This is a basic script that will redirect a non-member to the login page with a custom message. Place the code between script tags in your Affiliate Center header.

To use:
1) replace loginPage variable with your *login URL.

2) replace accessMessage variable with your custom message.

*If you're current login URL does not contain a query string (?) you should change '&a=nonmember' inside newLogin variable to '?a=nonmember'.

Note that real community privacy for KickApps is on the way and this method should be considered transitional -- it can be circumvented by simply disabling JavaScript before visiting your site.

--
For more tips and tricks checkout the <a href="http://www.kickdeveloper.com/resources">KickApps resources page</a>.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.