Skip to Content Skip to Menu

[#5118] Redirect Users After Login from Invite Group

9 years 3 months ago - 9 years 3 months ago #259330 by playerocity
Hello,

I am having trouble figuring out how to bring an invited user to a group to a page that aks them to accept the invite. In the default email that is generated to the new invite person it has three links to click (the name of the group, the name of the category, and a link to join the group). Each one of these works perfectly if the user is already logged into cb, it takes them to the right page with a green button to accept the invite. However, if the user is not logged in, and they log in, they are taken to a generic page which does not have in the invite accept button. THey wouldn't really know where to go from this point.

I have looked at auto-actions which I am confident is the solution, but can't figure out how to configure it to work. I see a REDIRECT type, and I see where there are conditions to enter. However, I don't know what condition to insert for the filter. This user is not logged in, and when they login I want them to be taken instead of the generic page to the group page where they can accept the invite. There are URL querystrings in the links of the email and maybe that is the condition that needs to be inserted, but I don't know how format wise to do that. I don't want every user who logs into to be taken to a group page for accepting of invite. I only want those that click on the link in the email to accept the invite to be taken to this page after they login.

It works fine if they do not have an account and then create one. It's just those users who already have an account, get the invite and click to accept the invite from the email and have to login and then are redirected to a page without the accept button.

Can you please help me to figure out the way of redirecting appropriately this invited user?

CB: 2.0.5
GJ: 2.7
Auto-Actions: 6.2.2

Thanks
Last edit: 9 years 3 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 68625
  • Thanks: 9109
  • Karma: 1434
9 years 3 months ago #259430 by krileon
Replied by krileon on topic Redirect Users After Login from Invite Group
GJ doesn't send a return URL with its redirect. I can't see CB Auto Actions helping with this as it doesn't have the functions to grab the URL and encode it as the CB Login module expects. The only solution is to manually modify GJ and change its login page redirect to include a return URL. I've added a bug ticket to fix this for next GJ release, but for now there's no easy solution.

forge.joomlapolis.com/issues/5118


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn