Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Developer question: How to send a private message

6 years 2 months ago
  • Guido's Avatar
    Topic Author
  • Guido
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 7
Licenses:
JomSocial Active

Hello. I am trying to send a private message to a user with my own component. In the docs there is a way to send a notification. I'd like to send a private message instead.
I can only see a way to open a popup for users to be able to write each other but not for my component to write a status to a user.

I'd like to know if there is a syntax like CMessaging::send(from, to, subject, body) but can't find a solution so far.

Thank you in advance.

6 years 2 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi
You can send the Private message to your friends. Open his profile and you will see the message option.
For example on the jomsocial community at my profile and option.

Regards

6 years 2 months ago
  • Guido's Avatar
    Topic Author
  • Guido
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 7
Licenses:
JomSocial Active

I am asking as a developer to build a component that automatically sends a message. I need a help like this
documentation.jomsocial.com/wiki/Integrating_Your_Component

But not integrating as a message option for users that open a popup. I mean sending a message from a component to the user to inform what the component has done.
Like a user asks a question, the component sends a private message to the user that an answer has been written.

6 years 2 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi
Sorry, this is fully custom work and need to create a plugin to get this done.
I also asked developer but as its pure customisation request that is out of support scope to suggest changes. We also removed the private message in Jomsocial now it use chat feature in Jomsocial 4.5. Now the message are in chat from the chat table.
Regards

6 years 2 months ago
  • Guido's Avatar
    Topic Author
  • Guido
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 7
Licenses:
JomSocial Active

OKay, I thought there'd be already a programmed way to do this. Then I'll just write it to the database on my own. Thank you for checking this out.

6 years 2 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

You are welcome!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW