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.

Library CNotification implementation missing

11 years 3 months ago
Licenses:
JomSocial Expired

Hi,

In your library "CNotification", your method "add" got "$sendEmail" argument who is not used.
So, in my context, got third party component who rely with CNotification with CNotificationTypes "system_messaging" for "$command" and i want to force to not send email but actually "system_messaging" use the user config "$params->get('etype_system_messaging');", i dont want to force for all "system_messaging", only for some third.
So need using the "$sendEmail" arg to "override" "$sendIt".
Can you add this, thx.

11 years 3 months ago
Licenses:

Hi Portobello,

jomsocial cant "override" "$sendIt" with "$sendEmail". I suggest you to using notification API:
documentation.jomsocial.com/wiki/Notifications_API

you can make new plugin for that purpose.

FYI: www.jomsocial.com/jomsocial-developers
if you need developer

Regards

11 years 3 months ago
Licenses:
JomSocial Expired

Hi,

I already used your doc documentation.jomsocial.com/wiki/Notifications_API before posting my topic.
I dont need developer as i am developer :)

Again, your documentation is not up to date, as i can see in your CNotification Library:

function add($command, $actorId, $recipients, $subject, $body, $templateFile = '', $mailParams = '', $sendEmail = true, $favicon = '', $altSubject = '')
The "$sendEmail" arg is not implemented in your function.

11 years 3 months ago
Licenses:

Hi Portobello,

I pass this topic to our developer. let see what they can do about it.

Regards

11 years 2 months ago
Licenses:

Hi Portobello,

developer decided to reject this topic.
all emails will store to mail queue, so you don't really need an sendmail.

you can put your own custom code there.

Regards

11 years 1 month ago
Licenses:
JomSocial Expired

Hi,

Could your developper tell me why there is a $sendEmail argument on file CNotification (path: components/com_community/libraries/notification.php) line 31.

Thx.

11 years 1 month ago
Licenses:

Hi,

developer said:
It's not used because this will store the email to queue, so you don't really need an sendEmail

we keep that sendEmail for just in case.

Regards

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