Support » Plugin: Groups » Login redirect to a specific page depending on group

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @sunnyoz,
    You can use ‘redirect’ param of the [groups_login] shortcode.
    Using this shortcode and the [groups_member] shortcode you can redirect each group to a distint url.
    Kind Regards,
    Antonio B.

    Sorry, @eggemplo, I am still confused. My Log-in page only has this on the page:

    [theme-my-login]

    Where do I put the the shortcode you are suggesting? Does it go under the [theme-my-login]?

    Like this:

    [theme-my-login]
    [groups_login]
    [groups_member group=”Committee Members”]
    http://www.12thcaulfield.asn.au/committee-members/
    [/groups_member]
    [groups_member group=”Cub Scouts,Cub Leaders”]
    http://www.12thcaulfield.asn.au/cub-members/
    [/groups_member]
    [/groups_login]

    Hi,
    I was thinking something like this:

    [groups_member group=”Committee Members”]
    [groups_login redirect="http://www.12thcaulfield.asn.au/committee-members/"]
    [/groups_member]
    ....

    But in this point, the user is a guest, so this doesn’t work.
    You could create a login Commitee Members page:
    [groups_login redirect="http://www.12thcaulfield.asn.au/committee-members/"]
    Another login page for Cub Leaders:
    [groups_login redirect="http://www.12thcaulfield.asn.au/cub-members/"]


    Or only a login page and redirect to a common page.
    Kind Regards,
    Antonio B.

    Oh, dear.. excuse me!! I see that I am using the login form from TML.. so sorry for bothering you. I think I ended up using TML because I couldn’t get that part of Groups to work for me, and I was under a deadline. (I haven’t touched this site in 3 months, so I guess I forgot what I ended up doing.) I’ve got it to work now, that I realised I needed to edit the TML plugin correctly. I would like to figure out how to do this all through Groups one day, but I will table that for now. Thanks anyway.

    Hi @sunnyoz,
    If you want you can try the Groups Login Redirect plugin that I have created.
    When you install and activate the plugin, you have a new menu item where you can set the urls.
    Kind Regards,
    Antonio B.

    Hi,
    This Groups_Login_Redirect is not in the plugin library of WordPress?
    I do find only a php file on Github.

    Regards,
    Peter

    • This reply was modified 2 years, 2 months ago by  peterb31.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Login redirect to a specific page depending on group’ is closed to new replies.