Re: Securing components from non logged in users
I took a slightly different approach:
* redirected them to the register page adding a flag to the query string
* then in my theme added a some code to catch if the flag was set and if so
added this to my register page just before the bp_core_signup_do_signup() call.
jQuery(document).ready(function () {
setTimeout(function(){ jQuery(“#error”).fadeOut(“slow”); }, 3000);
});
You can only view this information if you are a registered user.
Either login or register to continue.