Page 1 of 1

How to disable for registered users (logged in users)

Posted: Sun Nov 25, 2012 8:48 am
by Kristen Harrison
Is there a way I can disable WPSubscribers for people who login to my site?

I use conditional php tags like:
if ( is_user_logged_in())

to display certain content to my registered users

and I don't want them to see the optin forms as they go through my member content.
Is there a way I can disable them? or a php file I could edit?

Thanks for your help! :)

Posted: Mon Nov 26, 2012 10:12 am
by Jean-Christophe Bisoux
Hi,

Good question ;) It's the first time I have this request, you can modify the file wpsusbcribers.php @ line 773 and add !is_user_logged_in() in the if statement.
Don't forget to change when there is an update

Hope this help

Posted: Mon Nov 26, 2012 6:27 pm
by Kristen Harrison
Jean-Christophe Bisoux wrote:Hi,

Good question ;) It's the first time I have this request, you can modify the file wpsusbcribers.php @ line 773 and add !is_user_logged_in() in the if statement.
Don't forget to change when there is an update

Hope this help
Thanks Jean-Christophe!

I just have to hope to remember to update the file next time there is an update!

Maybe this feature can be implemented in the next update! :)