PDA

View Full Version : How to disable for registered users (logged in users)



Kristen Harrison
11-25-2012, 06:48 AM
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! :)

Jean-Christophe Bisoux
11-26-2012, 08:12 AM
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

Kristen Harrison
11-26-2012, 04:27 PM
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! :)