As of December 31, 2011 Kencinnus is no longer in business. 
Plugins are available via support request at aMember.com
For membership site projects please contact Miso or Larry.

Provide Sales Messages to Non-Members with amProtect

I’ve updated my amProtect WordPress plugin to help you protect content that you only want to show to non-members.

Right now I don’t think there is any other plugin that is doing this. WishList Member does not do this…yet (but they probably will some time).

Ok, so you’re probably wondering what this is for and how it works.

Normally, when you are using amProtect, you are protecting content on a page so that it only shows up if someone has purchased the product/subscription that matches the product id you put on the amprotect tags.

If they are not logged in they get a login or register link that you get to format.

If they are logged in but have not purchased that product then they get an upgrade message that you format.

But with the new update to aMember you can also put in an entire sales message in place of the content for when a member is not logged in at all.

To do this you would just wrap your content around the message with these tags:

[ amprotect=nonmember ] your content goes here [ /amprotect ].

(I’ve put some extra spaces in the tags above so they would show.)

If the visitor is not logged into aMember then they see that content. If they are logged into aMember then they don’t see that content and there is no replacement message either. It is like you used the amsilent parameter on the amprotect tag.


Here is a live example:

If you can see this message then you are not logged in.


Depending on whether you were logged in or not and on what you purchased, you would see different messages above. Let’s break it down further…

Let’s say you have a site with Free, Silver and Gold levels. The product ID for the Free level is 1, Silver is 2 and Gold is 3. The price group for the Free level is also 1, Silver is 2 and Gold is 3 as well.

Here is what a post would look like that was just for Gold Memberships (and remember I put some extra spaces in the amprotect tags so you could read them here):


[ amprotect=nonmember ]
This is my sales message to someone who needs to log in and either buy silver or gold. Of course I would encourage them to buy the gold. This content will not be displayed at all if they are logged in. I would probably tell members to sign in using the login in the sidebar and then, for non-members, I would include a link to my aMember signup page for just the Gold product like this: /amember/signup.php?price_group=3&product_id=3.
[ /amprotect ]

[ amprotect=1,2,amsilent ]
This is my upgrade message for someone who is either at the Free or Silver level but they are logged in. They would be the only ones to see this and because of the amsilent that I added, if they were not logged in or they were Gold they would not see anything in its place. It would point them to the member page for the gold upgrade product (or better yet the fancy order page that comes with amSalesPages): /amember/member.php?product_id=3&price_group=3
[ /amprotect ]

[ amprotect=3,amsilent ]
This would be the actual private protected Gold level content that I was providing for my Gold members. If they were logged in they would see this. If they were not logged in or if they were only at the Free or Silver level then they would not see this content or any message because of the amsilent tag. Otherwise they would see whatever message I configured the amProtect plugin with for the case when members are logged in but are not active on a required product. And of course a non-Gold or non-logged in member will see one of the two previous pieces of content instead.
[ /amprotect ]


So I hope this explains how this new feature works and when you might want to use it.

Get more information about the amProtect plugin here.

About Ken Gary

Ken Gary is a Membership Site Building Expert who helps small businesses create successful membership sites quickly and easily.

Comments are closed.