• I tried using the shortcode and limiting viewing of user Ids for only administrators. The user id became visible to everyone – of all levels. I also tried to limit viewing of the user id field only to one specific user – eyes only made the user id visible to everyone of all levels. Is there a way to limit a particular field in profile builder to only the administrator? Thanks.

    https://www.ads-software.com/plugins/eyes-only-user-access-shortcode/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author thomstark

    (@thomstark)

    I don’t know what profile builder is. The shortcodes work on pages and posts and text widgets.

    Thread Starter bmatth1

    (@bmatth1)

    Here is an example of the code used in the template:
    <table class=”wppb-table”>
    <thead>
    <tr>
    <th scope=”col”>{{{ }}}</th>
    <th scope=”col”>Sort By {{{sort_last_name}}}</th>
    </tr>
    </thead>
    <tbody>
    {{#users}}
    <tr>
    <td class=”wppb-avatar”> {{{avatar_or_gravatar}}}</td>
    <td class=”wppb-name”>[eyesonly level=”administrator” logged=”in”] Username:{{meta_user_name}}
    [/eyesonly]{{meta_first_name}} {{meta_last_name}}
    {{meta_email}}
    {{meta_alt_email}}
    {{{more_info}}}</td>
    </tr>
    {{/users}}
    </tbody>
    </table>
    {{{pagination}}}

    EYES ONLY is not working – shows the user id to everyone of all levels.

    Plugin Author thomstark

    (@thomstark)

    If eyes only is not working in their template, it’s because they’re not rendering shortcodes when they output their content. That’s something you’ll need to ask them to implement.

    Thread Starter bmatth1

    (@bmatth1)

    Ok – Eyes Only worked. I took out the Logged In qualifier and used only Level=”Administrator” and it worked fine.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Usable with Profile Builder’ is closed to new replies.