Skip to Content Skip to Menu

email notifications are sent, except for my msg...

15 years 3 weeks ago #112266 by ProvaStyle
Got it working.

[code:1]
Sample Usage:
Place uddeim.api.php in "components/com_uddeim/uddeim.api.php"

$fromid=62;
$toid = 97;
$message = "This is the PM that will appear in the uddeIM inbox
\nYou can use [ url=index.php ]BBcode[/url]";

require_once("components/com_uddeim/uddeim.api.php"«»);
$uddeim = new uddeIMAPI();

$uddeim->sendNewMessage($fromid, $toid, $message, 1, 1 );[/code:1]

Also added .php to uddeim.api at the top of the readme.

Attachment README-6769cf1b1817bb2cb1a0272c2d000bdb.txt not found

Attachments:

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

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 3 weeks ago #112285 by slabbi
Nice to hear, so I will improve the API for the next version.

Any suggestions what functions would be useful for a component writer?

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

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

15 years 3 weeks ago #112301 by ProvaStyle
Sorry, if I'm misunderstanding the questions, but...
A suggestion that I would LOVE, is:

Can uddeIM send out a summary email once per day? At night (midnight or something)?

Some websites have an option of getting an email notification of updates instantly, or a summary once per day. example: "You received 17 PM's today" instead of sending 17 notification emails.

In fact, I think a lot of forum's have that option for the thread subscription.

Any chance this would be easy to implement?

BTW, that notification API is amazing. It's so easy & it replaced my need to do an SQL statement to add a system PM directly to the __uddeim database.

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

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 3 weeks ago #112381 by slabbi
Added "sendNewSysMessage" to the API which allows sending system messages.

Can you check if it works? A description can be found in the FAQ now.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

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

15 years 3 weeks ago #112530 by ProvaStyle
I would love to test it, but I don't send system messages.
I'm sure someone else here does.

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

Moderators: beatnantslabbikrileon
Powered by Kunena Forum