• Resolved carlosberman

    (@carlosberman)


    I made this and works fine, just an example.

    Hide for visitors a tag Div with its style, display none
    [access role=”administrator,subscriber” ]
    <div style=”display:none”>
    [/access]

    Show the message for visitors (not logged users, plaint text, html)
    Only Registered users can see THE LINK.

    The close tag for the DIV above, hide for visitors too
    [access role=”administrator,subscriber”]
    </div>
    [/access]

    THE LINK, (only visible for logged in users, or roles you choice)
    [access role=”administrator,subscriber”]
    THE LINK!
    [/acces]

    The visitor see “Only Registered users can see THE LINK.”, when them log in, the message dissapears, because the DIV tag appears and it has a “display:none” style, and then the subscriber see only “THE LINK!”

    A bit confusing, but it works.

    Sorry for my English.

    Carlos Berman

    https://www.ads-software.com/extend/plugins/members/

  • The topic ‘[Plugin: Members] Display a message for visitors inside a post, when login, it dissapears.’ is closed to new replies.