Skip to Content Skip to Menu

[SOLVED] Customize connection notification emails

  • ahmaniea
  • ahmaniea
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
12 years 1 week ago - 12 years 1 week ago #212287 by ahmaniea
I have allowed the notification mails when adding new connections. The notification mail has a link to managing your connections.

I'd like to remove this link from the notification mail. Where could I find the file to customize notification mails?

thanks in advance,

- Ali
Last edit: 12 years 1 week ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48449
  • Thanks: 8280
  • Karma: 1443
12 years 1 week ago #212345 by krileon
Replied by krileon on topic Re: Customize connection notification emails
In components/com_comprofiler/plugin/language/default_language/default_language.php on around line 501 you'll find "//Connections" just below that is all of the connection plugins language strings and you can change the message from there. If you've other language plugins installed you'll need to of course adjust them as well.


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.

  • ahmaniea
  • ahmaniea
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
12 years 1 week ago #212410 by ahmaniea
Replied by ahmaniea on topic Re: Customize connection notification emails
Thanks. I found the language strings, however I'm not able to get rid of the link itself. The notification mail originally looks something like this:

"Malakias has established a connection with you.


Malakias Profile: www.mydomain.fi/template/tapahtumaan-osallistuvat-yritykset/userprofile/Malakias?tab=1

Manage Connections: www.mydomain.fi/template/tapahtumaan-osallistuvat-yritykset/manageconnections
..."


If I change the string definition "DEFINE('_UE_MANAGECONNECTIONS','Manage Connections');" into "DEFINE('_UE_MANAGECONNECTIONS','');", the notification mail looks like this as excpected:

"Malakias has established a connection with you.


Malakias Profile: www.mydomain.fi/template/tapahtumaan-osallistuvat-yritykset/userprofile/Malakias?tab=1

: www.mydomain.fi/template/tapahtumaan-osallistuvat-yritykset/manageconnections
..."


I find the latter link quite useless as the notification mail receiver is very seldom logged in when he/she clicks the link. And in that case the user is just redirected to login page as my connections are not available for guests.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48449
  • Thanks: 8280
  • Karma: 1443
12 years 1 week ago #212416 by krileon
Replied by krileon on topic Re: Customize connection notification emails
Ah, I see the footer is hardcoded; you won't be able to remove it without core edits, which I can't help you with as we don't support core edits.


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.

  • ahmaniea
  • ahmaniea
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
12 years 1 week ago #212421 by ahmaniea
Replied by ahmaniea on topic Re: Customize connection notification emails
Ok, I understand. Thanks anyway.

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

Moderators: beatnantkrileon
Powered by Kunena Forum