I’m working on a buddypress install where I want to keep /members/ , /forums/ , /groups/forums/ and a few other areas private to non-logged in users.
I’ve thought about adding s2Member however, since I won’t be charging for anything on the site, s2Member is a bit overbearing for what I want to do.
I also thought about adding the ‘Private BuddyPress’ plugin, however, that appears to only give options to select specific pages, rather than page templates, and for the buddypress, it seems to be an ‘all or nothing’ kind of scenario.
If there isn’t a plugin out there that people can vouch for, I’m cool with coding it myself, I’ve just never attempted to make page templates function in this fashion.
Ideally, what I’d like to do is this.
when a non-logged in site visitor visits a page that is dedicated to logged in members only, they are able to visit the page, but the content would not appear, instead of the ‘content’ being shown, it could maybe
route topull content from another php template that would have a notification box with a message about registering or logging in and then I could add a banner to the login page and a banner to the register page.
I know this isn’t too difficult to code, but I’m having some difficulty determining where best to start in the codex to start writing the code. If someone could point me in the right direction, that would be awesome, unless of course, there is a plugin that would solve my issue in 5 minutes instead of coding. I’m just fearful of using s2Member as it’s heavy for what I need.
Thanks in advance for any assistance.
You must be logged in to reply to this topic.