popup based on if a user is logged in or not

I am trying to configure the popup plugin to do the following:

1. Popup only on specific page/post types
2. Popup only if a person isn't logged in
3. Popup after they have viewed X number of that page/post type (not the same post X times but any post X times)
4. Not allow a person to close the popup

I can handle any custom PHP coding that needs to happen so please be as nerdy as possible.