Hi,
I just read your post http://seventhqueen.com/blog/code-snippets/restrict-guest-users-from-accessing-buddypress-or-bbpress-pages.html and I found it very helpfull.
However I’m looking for a way to keep or return the user to the page that he was when he was requested to login/register in order to access to that page content.
The idea is that user is re-directed to the page where he was initially, instead of being forced to go to the login/register page.
If user is re-directed to the login/register page then he’ll probably will not have the oportunity to return to the page that he was trying to access.
Is there a way to achieve this?
Thanks