Skip to Content Skip to Menu

[#5490] Automated message from CB connect

9 years 2 months ago - 9 years 2 months ago #269638 by gjvanwijk63
[#5490] Automated message from CB connect was created by gjvanwijk63
After submitting a connection request to another user I receive an automated message (Uddelm) in my Inbox.

It says something like "User x accepted your connectioon request....etc etc" The links in this message (1 to the user profile and 1 to the option manage connection) both open in a new window. I checked the source code and indeed there is a target="_blank" param in the html code.

I want to change this to taget="_self" to prevent the opening of more tabs.

In which code or which settings can I change this?

Thx in advance

Gert-Jan
Last edit: 9 years 2 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
9 years 2 months ago #269665 by krileon
Replied by krileon on topic Automated message from CB connect
We're not adding a target. I'm guessing UddeIM maybe doing that. There maybe a parameter to turn that off in UddeIM.


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.

9 years 2 months ago #269699 by gjvanwijk63
Replied by gjvanwijk63 on topic Automated message from CB connect
When I scan the cbconnect.php file I see several taget="_blank" parms in the php code. So you do add some targets. The message containing these targets is a message that the cb connect creates when a user accept a connection request. UddeIm is just the client in this case, not the creator of that automated message.

So I guess it has something to do with the cb connect plugin.

regards

Gert-Jan

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 2 months ago #269701 by nant
Replied by nant on topic Automated message from CB connect

gjvanwijk63 wrote: When I scan the cbconnect.php file I see several taget="_blank" parms in the php code. So you do add some targets. The message containing these targets is a message that the cb connect creates when a user accept a connection request. UddeIm is just the client in this case, not the creator of that automated message.

So I guess it has something to do with the cb connect plugin.

regards

Gert-Jan


I think you are mixing things up.

Connections between users is a built-in features of Community Builder.

It has nothing to do with the CB Connect add-on (part of Professional membership) that is used to allow people to sign-up on your website using their other social network credentials (e.g., facebook).

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

9 years 2 months ago #269711 by gjvanwijk63
Replied by gjvanwijk63 on topic Automated message from CB connect
Yes you're right. I checked the wrong php file. The cbconnections.php doesn't contain any targets. Sorry for that.

Still can't figure out what to do, because I scanned the UddelM source code and there's no target parm as well.

The admin panel of UddelM has no settings for this......

What surprises me though that the content of the message is created within the connections proces somewhere. It is a system message you receive after someone accepted your connection request. So the links (containing the targets) must be put in the message by a cb proces I guess....

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
9 years 2 months ago #269726 by krileon
Replied by krileon on topic Automated message from CB connect
We're not adding a target to the HTML found below.

IN: libraries/CBLib/CB/Legacy/cbConnection.php
ON: Line 142 and 153

You can see where UddeIM is doing this below in its BBCode parser.

IN: components/com_uddeim/bbparser.php
ON: Lines 132 - 133

It looks like topurl BBCode is available though, which we can utilize in our HTML to BBCode function, but we'll need to test the URL first as we only want internal URLs being top level. Have added a feature ticket for this for a later release.

forge.joomlapolis.com/issues/5490


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: gjvanwijk63

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

Moderators: beatnantkrileon
Powered by Kunena Forum