|Posted: Thursday Mar 1st, 2012 at 1:16 pm #6908|
I am modifying the “Invite Anyone” Buddypress plugin (http://wordpress.org/extend/plugins/invite-anyone/) to allow for it to bypass the closed registration setting of s2member. The idea is that I only want invited members to be able to be able to register for a “free” account.
I have found the section of code (invite-anyone/by-email/by-email.php) (line 1156) which I need to modify but I am unsure what s2member filter or php code I need to implement to allow the current user to access the registration page, overriding closed registration in this once instance, but not for anyone else.
Sorry if this has been answered before, but search on s2member.com is currently not very useful.
- s2Member® Products