Exemplo de conteúdo protegido - Conteúdo de teaser

MemberMouse’s default content protection scheme is to hard-block pages that are protected. This means that if a non-member tries to view a protected page, they’ll be redirected to an error page. MM_Access_Decision SmartTags™ provide you with an opportunity to expose portions of protected content based on the visitor’s access rights.

Within a single page, you could have teaser content for non-members and protected content for paying members. By using the MM_Access_Decision tag with different access types you can custom tailor each visitor’s experience on the page or post.

OBSERVAÇÃO IMPORTANTE: As soon as you use MM_Access_Decision SmartTag™ on a page/post, you’re instructing MemberMouse to bypass the standard hard-block protection mechanism. This means that as soon as you use one of these tags, any content outside of a MM_Access_Decision access=” tag, will be visible to anyone who accesses the page/post.

For example, when you use the MM_Access_Decision access=’false’ tag on a page, you’re instructing MemberMouse to allow everyone to access that page and that you’ll control what they can see by placing content within the appropriate MM_Access_Decision tag.

A colocação de conteúdo fora da tag MM_Access_Decision access=" lhe dá a oportunidade de inserir conteúdo que todos devem ver, digitando-o apenas uma vez, mas lembre-se de que ele não estará protegido e todos poderão vê-lo.

Tipos e atributos de acesso
ValorDescrição
verdadeiroSe o membro atual tiver acesso à página/post, o conteúdo dessa tag será exibido
falsoSe o membro/não membro atual não tiver acesso à página/post, o conteúdo dessa tag será exibido.
futuroSe o membro atual não tiver acesso à página/post, mas tiver no futuro, o conteúdo dessa tag será exibido
Uso
Conteúdo teaser para membros e não membros
[MM_Access_Decision access='false']

Conteúdo do teaser aqui.
Para saber mais, clique aqui para adquirir o acesso: <a href="/pt/[MM_Purchase_Link productId='1']/">Obter acesso</a>

[/MM_Access_Decision]

In this example, we’re creating an access decision for the current post/page. By setting access to ‘false’ we’re indicating that this content should be seen by a visitor, or member if they currently do não têm acesso ao post/página atual. Por exemplo, se eles fizerem não currently have access they’ll see the text:

Conteúdo do teaser aqui.

Para saber mais, clique aqui para adquirir o acesso: Obter acesso

Conteúdo teaser para membros Somente
[MM_Access_Decision access='future']

Você ainda não tem acesso ao [MM_Content_Data id='22' name='title']. Você obterá acesso em [MM_Content_Data id='22' name='dateAvailable'].

[/MM_Access_Decision]

In this example, we’re creating an access decision for the post/page with ID ’22’. By setting access to ‘future’ we’re indicating that this content should only be seen by a member if they will have access to the post/page with ID ’22’ sometime in the future.

For example, if they don’t currently have access but will sometime in the future, they’ll see the text:

You don’t have access to My Protected Page yet. You will get access on March 20, 2024.

Este artigo foi útil?

Artigos relacionados

Não consegue encontrar a resposta que está procurando?

Entre em contato com nossa Equipe de Sucesso do Cliente
Entre em contato conosco!