Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount! Get 20% off now with code SPOOKY-2024!

Request Connection Not Working On Mobiles

  • davisJ
  • davisJ
  • OFFLINE
  • Posts: 51
  • Thanks: 0
  • Karma: 0
8 years 3 weeks ago #286715 by davisJ
Replied by davisJ on topic Request Connection Not Working On Mobiles
Thanks Kyle. I'm not a programmer so I don't really understand exactly how this works but I tried anyway.

I just watched the Auto Actions Tutorial 1 on Youtube and tried to copy what Nant did with the auto login email but coul;dn't get substitions to work (see this post ).

Anyways, after failing to get the substitutions above to work, I tried what you said, created an Email action with [var1] in the From and [var2] in the To fields with the OnAfterAddConnection trigger. The emails didn't get sent.

Please help.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
8 years 3 weeks ago #286734 by krileon
Replied by krileon on topic Request Connection Not Working On Mobiles

Thanks Kyle. I'm not a programmer so I don't really understand exactly how this works but I tried anyway.

You don't need to be a programmer. That's the point of CB Auto Actions ;)

Anyways, after failing to get the substitutions above to work, I tried what you said, created an Email action with [var1] in the From and [var2] in the To fields with the OnAfterAddConnection trigger. The emails didn't get sent.

It won't work with an email action because that trigger doesn't give you a full user object to substitute the email. You've only access to their user ids, which is why I suggested a PM (where it will work).


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.

  • davisJ
  • davisJ
  • OFFLINE
  • Posts: 51
  • Thanks: 0
  • Karma: 0
8 years 2 weeks ago #286773 by davisJ
Replied by davisJ on topic Request Connection Not Working On Mobiles
Thanks Kyle, you said below I could send an email with this trigger but now you say I can't as it can't access a "full user object".

In CB communities, there needs to be a way to email a user when someone requests a connection via their mobile. As it stands, this doesn't work on my site via mobile, or on the CB site for that matter, and given that most users use mobiles these days, this means that - unless they log in - they won't get a notification that someone's requested a connection.

Fingers are crossed that this will be fixed in the next update of CB.

Cheers

David

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
8 years 2 weeks ago #286794 by krileon
Replied by krileon on topic Request Connection Not Working On Mobiles
You could send a PM then set UddeIM to have email notifications. This would send them an email. You can try the below though to see if it can be forced to build a user object on that trigger.

User: Manually
User Variable: Variable 2

This may force it to load a user object from that user id so substitutions would be for the recipient. You should then be able to substitute in the email address for To and for From you'd substitute in the user who executed the trigger using [cb:userdata field="email" user="#me" /].


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.

  • davisJ
  • davisJ
  • OFFLINE
  • Posts: 51
  • Thanks: 0
  • Karma: 0
8 years 2 weeks ago #286818 by davisJ
Replied by davisJ on topic Request Connection Not Working On Mobiles
Thanks Kyle, I enabled emails on UddeIM and got this working.

One final issue, I use CB Invites so when a user is invited to join and accepts, the onAfterAddconnection email is triggered. This means that new sign-ups now get an extra junk email that's missing the name of the person who invited them (presumably the username can't be included as they're not friends at the time of inviting or something).

Can I add a condition to the PM Auto Action to specify that this email only gets sent once the user already has 1 connection - ie. to disable this email from being sent on sign-up?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
8 years 2 weeks ago - 8 years 2 weeks ago #286834 by krileon
Replied by krileon on topic Request Connection Not Working On Mobiles

One final issue, I use CB Invites so when a user is invited to join and accepts, the onAfterAddconnection email is triggered. This means that new sign-ups now get an extra junk email that's missing the name of the person who invited them (presumably the username can't be included as they're not friends at the time of inviting or something).

For the substitutions to work from that trigger you'll have to try my suggestion in my previous reply. Either use Variable 1 for the person making the connection or Variable 2 for the person being connected to.

Can I add a condition to the PM Auto Action to specify that this email only gets sent once the user already has 1 connection - ie. to disable this email from being sent on sign-up?

It depends on how they're accepting the invite. If you're using the invite code field then I'd just condition it to see if the invite code field has a value, but that's going to be problematic as that trigger doesn't container a user object.


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.
Last edit: 8 years 2 weeks ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum