[#5600] use the Request Connection Javascript link for other uses

8 years 5 months ago #273148 by pranaydhruv
Hello Kyle,

The PM is now going to the correct destination, but the sender information is showing as self, for some reason the from field substitution doesnot seem to work after "user_id".


From: [cb:userdata field="user_id" user="#me" /]

Thanks
Pranay

Please Log in to join the conversation.

8 years 5 months ago #273260 by krileon
Looks like there's a bug in the PHP of the PM action. A typo causing it to look for a parameter that doesn't exist. The below should fix this.

IN: components/com_comprofiler/plugin/user/plug_cbautoactions/models/pms.php
ON: Line 30
FROM:
$pmFrom			=	$row->get( 'form', null, GetterInterface::STRING );
TO:
$pmFrom			=	$row->get( 'from', null, GetterInterface::STRING );


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 to join the conversation.

8 years 5 months ago #273305 by pranaydhruv
Hello Kyle,

Thanks !! yes that does send the PM with the right information and to the right person. But it goes to a blank page. how do i ensure the User lands on the same profile page of that user after sending a PM?

Thanks
Pranay

Please Log in to join the conversation.

8 years 5 months ago - 8 years 5 months ago #273311 by krileon
Direct action URLs don't have any output. You won't be able to send them back to their profile from that page at this time as actions themselves do not have any triggers to act on to allow action chaining. I've added a feature ticket for this for next release.

forge.joomlapolis.com/issues/5600


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 to join the conversation.

8 years 5 months ago - 8 years 5 months ago #273328 by pranaydhruv
Hello Kyle,

That will take some time is there no other way till it comes in as a new feature ?

also this button or link on a user profile should only be visible if a certain user hides their Potrait or a certain tab or field.

Thanks
Pranay

Please Log in to join the conversation.

8 years 5 months ago #273329 by krileon
I'm going to try getting it implemented today for next nightly as it's just a simple trigger fire. So should take just a couple minutes to implement and test.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.353 seconds

Facebook Twitter LinkedIn