• Resolved Florian

    (@adv122)


    Hello,

    first, great plugin ?? but i have a small problem

    i use the following string

    [groups_non_member group="Registered"]
    Thanks to login or to create a new account
    in order to access your customer area.
    [/groups_non_member]
    [groups_member group="Client"]
    Below the files available to you
    [/groups_member]
    [groups_member group="Registered"]
    You are a registerd user, but no files are available to you.
    [/groups_member]

    for “not registered” it works fine
    for “registed” also
    but “client” sees “registered” (both display)

    client is not a sub-group of registered and rights of registered and client are not linked…

    could someone please advise ?

    thanks alot ! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Florian

    (@adv122)

    ok i think i found out ?? i need to tell

    “if register”
    and then “and NOT client” ??

    that works ??

    anyway great plugin :))))

    Plugin Author Kento

    (@proaktion)

    Hi,

    Thanks for the update, yes it seems that’s what should work for your case. Maybe you’d also like to include login and logout facilities on the page, so the whole thing could look like this:

    [groups_non_member group="Registered"]
    Thanks to login or to create a new account in order to access your customer area.
    [groups_login]
    [/groups_non_member]
    [groups_member group="Client"]
    [groups_logout]
    Below the files available to you.
    [/groups_member]
    [groups_non_member group="Client"]
    [groups_member group="Registered"]
    [groups_logout]
    You are a registered user, but no files are available to you.
    [/groups_member]
    [/groups_non_member]

    The shortcodes added here are [groups_login] and [groups_logout] for easier access and I suppose the nested form for the Client and Registered groups is what you have already found out.

    Thanks for using the plugin and it would be great if you could rate it – and if there’s anything that would keep you from giving 5 stars please make sure to let me know so we can improve things.

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with multiple conditions’ is closed to new replies.