Skip to Content Skip to Menu

[SOLVED] PMS - Add 'Message Me' Button To User Profile

  • bins
  • bins
  • OFFLINE
  • Posts: 465
  • Thanks: 40
  • Karma: 4
5 years 11 months ago - 5 years 10 months ago #309183 by bins
As per the title, is there a quick way to add a 'Message Me' button to a users profile page, using the PMS?
Last edit: 5 years 10 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
5 years 11 months ago #309187 by krileon
Replied by krileon on topic PMS - Add 'Message Me' Button To User Profile
Should already be a link for that on their CB Menu above their canvas as a dropdown option. You could also use the Quick Message tab. You can also use a Custom HTML field to output such a button wherever you like using the below URL.

index.php?option=com_comprofiler&view=pluginclass&plugin=pms.mypmspro&action=message&func=new&to=[user_id]


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

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

  • bins
  • bins
  • OFFLINE
  • Posts: 465
  • Thanks: 40
  • Karma: 4
5 years 11 months ago #309191 by bins
I created a button, added the link and it is perfect - thanks.

One little extra question - how can I hide the field title? It duplicates the button words so shouldn't be seen...

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

  • bins
  • bins
  • OFFLINE
  • Posts: 465
  • Thanks: 40
  • Karma: 4
5 years 11 months ago #309192 by bins
Ignore that last bit - 'Show On Profile - Yes,1 line without Title'.

Doh!!!

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

  • bins
  • bins
  • OFFLINE
  • Posts: 465
  • Thanks: 40
  • Karma: 4
5 years 10 months ago - 5 years 10 months ago #309521 by bins
This seems to be working OK, but it shows when I look at my own profile.

Is it possible to hide it when users look at their own profiles?


Note: It does not show in edit profile.



Note 2: I am playing with the field 'CB Conditional' but cannot work out if this is the right feature to use.
Last edit: 5 years 10 months ago by bins.

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

  • bins
  • bins
  • OFFLINE
  • Posts: 465
  • Thanks: 40
  • Karma: 4
5 years 10 months ago #309536 by bins
Aaarrrgggghhhhh!

just seen an issue.

I click the button with the custom link and it takes me to a blank page (Header/footer only).

I go to the standard message link in the profile (at the top), click it and get a message:
Error
Message does not exist!

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

Moderators: beatnantkrileon
Powered by Kunena Forum