Ejemplo de contenido protegido - Teaser Content

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.

NOTA 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.

Colocar contenido fuera de la etiqueta MM_Access_Decision access=" le da la oportunidad de insertar contenido que todo el mundo debería ver introduciéndolo sólo una vez, pero tenga en cuenta que no estará protegido y todo el mundo podrá verlo.

Tipos de acceso y atributos
ValorDescripción
verdaderoSi el miembro actual tiene acceso a la página/post, entonces se mostrará el contenido de esta etiqueta
falsoSi el usuario/no usuario actual no tiene acceso a la página/puesto, se mostrará el contenido de esta etiqueta.
futuroSi el usuario actual no tiene acceso a la página/post pero lo tendrá en el futuro, se mostrará el contenido de esta etiqueta.
Utilización
Contenido teaser para socios y no socios
[MM_Access_Decision access='false']

Teaser Contenido Aquí.
Para más información, haga clic aquí para comprar el acceso: <a href="/es/[MM_Purchase_Link productId='1']/">Obtener acceso</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 no tienen acceso a la entrada/página actual. Por ejemplo, si no currently have access they’ll see the text:

Teaser Contenido Aquí.

Para más información, haga clic aquí para comprar el acceso: Obtener acceso

Contenido para los socios Sólo
[MM_Access_Decision access='future']

Aún no tiene acceso a [MM_Content_Data id='22' name='title']. Obtendrá acceso en [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.

¿Le ha resultado útil este artículo?

Artículos relacionados

¿No encuentra la respuesta que busca?

Póngase en contacto con nuestro equipo de atención al cliente
Póngase en contacto con nosotros