Skip to Content Skip to Menu

Linking invites to specific pages

  • kdave321
  • kdave321
  • ONLINE
  • Posts: 215
  • Thanks: 26
  • Karma: 2
1 day 6 hours ago - 1 day 5 hours ago #341739 by kdave321
Linking invites to specific pages was created by kdave321
It would be really helpful if we could somehow link invites to either;
1) a specific special-interest GJ group.  Current invites from groups are only to existing members, but it would help grow our member base if it included invites to non-members.
2) an invite from a specific JEvents event. Jevents has a facility to do this but it only registers a Joomla user.

Both of these could be handled if an invited user clicked on the emailed link to do CB Registration and on first login, was auto-joined to the group and redirected to that group, or in the 2nd case, was redirected to the event, so they could then click to attend.

I"ve already hacked the invites table for other fields, so I could just add the redirect Url  for each invited row (conveniently in HTTP_REFERER ).  Then the problem is an auto action on first login that sets the redirect URL, unless that could be added to the registration link.

So how would you accomplish this, or is some future development expected to enable it?

 
Last edit: 1 day 5 hours ago by kdave321.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49459
  • Thanks: 8469
  • Karma: 1465
15 hours 55 minutes ago #341745 by krileon
Replied by krileon on topic Linking invites to specific pages

1) a specific special-interest GJ group. Current invites from groups are only to existing members, but it would help grow our member base if it included invites to non-members.

You can invite non-members to join a GJ group as long as you've invite by email enabled then just supply their email address. Once they register with that email address it will auto accept the invite.

2) an invite from a specific JEvents event. Jevents has a facility to do this but it only registers a Joomla user.

Not sure what you're wanting to do here. If JEvents already has an invite to event feature I suggest simply using that.

So how would you accomplish this, or is some future development expected to enable it?

I'm not entirely sure what you're trying to do to be honest. What "link invites" are you referring to? Those from CB Invites? Those just go through normal registration processes, which will fire off normal Joomla user registration events and CB registration events as well. So anything acting on registration should already be running.


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.

  • kdave321
  • kdave321
  • ONLINE
  • Posts: 215
  • Thanks: 26
  • Karma: 2
13 hours 56 minutes ago #341747 by kdave321
Replied by kdave321 on topic Linking invites to specific pages
In GJ, something changed which made my old custom template for invite_edit.php not work right, but testing with your current version, an invite to a non-member email address just sends a link to the group to their email inbox. If they click on the link they get a prompt to login. So it's not an invite to register. Am I missing a setting for that?  I just want them to register and then be redirected to the group.

For JEvents invites, it might be easier to fix his custom registration process than integrate with CB.

These were just 2 use cases. I was hoping for a generic approach for a member to send an invite to a non-member from any page that generates an invite code to register , sends them to the CB registration page,  and then redirects them to the URL that was shared.

 

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49459
  • Thanks: 8469
  • Karma: 1465
11 hours 42 minutes ago #341748 by krileon
Replied by krileon on topic Linking invites to specific pages

In GJ, something changed which made my old custom template for invite_edit.php not work right, but testing with your current version, an invite to a non-member email address just sends a link to the group to their email inbox. If they click on the link they get a prompt to login. So it's not an invite to register. Am I missing a setting for that? I just want them to register and then be redirected to the group.

GJ invites don't use invite codes or anything. They just need to register with the email address the invite was sent to and it'll automatically accept. It's focus is on existing users, but will work with non-existing users as well.

These were just 2 use cases. I was hoping for a generic approach for a member to send an invite to a non-member from any page that generates an invite code to register , sends them to the CB registration page, and then redirects them to the URL that was shared.

We don't have a generic solution like that besides CB Invites, but that is basically to just invite them to the site and not any particular content. That'll probably be doable in CB Invites when it's rewritten to a standalone Joomla extensions as I'll be adding an embeddable invite form and Joomla fieldtype so could in theory be used anywhere you wanted and be context aware, but that won't be available for quite some time.

I don't really have a solution to suggest beyond making your own custom invite form. You can then create CB Invites using your custom form so you can use CB Invites registration code features. You could then store additional data with the invite (e.g. context of some kind like it came from a JEvents event). Then you'd use that additional data during invite accept trigger that CB Invites fires off when an invite is accepted to do whatever you're wanting.


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.
The following user(s) said Thank You: kdave321

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

Moderators: beatnantkrileon
Powered by Kunena Forum