@Erik; Question about your "Hide WP Dashboard & wp-admin code snippet

@Erik

Can Your "Hide WP Dashboard & wp-admin be modified to allow users to access their MarketPress store?
http://erikshosting.com/wordpress-tips-code/hide-wordpres-wp-admin-dashboard-entirely/

I know Gravity Forms allows front end editing post for logged in users.

Is there a way for this to work with MarketPress and/or other plugins?