Skip to Content Skip to Menu

[Solved] uddeIM: messages deleted from outbox

  • Shiva
  • Shiva
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 1
16 years 1 month ago #78100 by Shiva
I converted JIM modified to uddeIM 1.4 and have now the follwing problem: When a user deletes a message it is also deleted from the outbox of the sender.

Post edited by: Shiva, at: 2008/10/26 22:23

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

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 4 weeks ago #78121 by slabbi
Replied by slabbi on topic Re:uddeIM: messages deleted from outbox
Sorry, this is technically not possible. There are two flags: deleted from inbox, deleted from outbox.

When a user deletes a message only the flag deleted from inbox is set. I am not quite sure how I have implemented the importer. Maybe I have misinterpreted one value of JIM database, so all messages are by default deleted from the senders outbox.

Snippet from the JIM importer:
[code:1] $totrash=0;
if (!$thepms->inbox)
$totrash=1;

$totrashoutbox=0;
if (!$thepms->outbox)
$totrashoutbox=1;[/code:1]

I assume that when $thepms->outbox is 0 the message is not longer in the senders outbox and set the delete flag in uddeIM.

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

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

  • Shiva
  • Shiva
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 1
16 years 4 weeks ago #78270 by Shiva
Replied by Shiva on topic Re:uddeIM: messages deleted from outbox
Thank your for the feedback!

Perhaps I was not clear enough... I mentioned the conversion from JIM, because it was part of the installation of uddeIM. But the problem occurs with new messages.

A sent message has in my database the follwing values:

id fromid toid message datum 0 0 NULL 0 NULL 0 0 NULL 0 0 0 NULL NULL NULL

A message that was read:

id fromid toid message datum 1 0 NULL 0 NULL 0 0 NULL 0 0 0 NULL NULL NULL

In the second case the message does not showi in the outbox of the sender.

I have another installation where everythings works without any problem.

Any idea?

Post edited by: Shiva, at: 2008/10/26 19:30

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

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 4 weeks ago #78282 by slabbi
Replied by slabbi on topic Re:uddeIM: messages deleted from outbox
I am pretty sure that this is not the case.

Maybe the time until messages are deleted from the outbox is set to 0 (see backend under "delete" tab). But then the corresponding fields should be set.

When you call the maintenance function in the backend, does it display any errors?

After approx. 25.000 installations this is the first report I got, so it is either a very nasty bug or there is something with your configuration.

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

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

  • Shiva
  • Shiva
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 1
16 years 4 weeks ago #78285 by Shiva
Replied by Shiva on topic Re:uddeIM: messages deleted from outbox
Dear slabbi, it seems to be a problem of the order of the outbox (perhaps different formats): I see now that no messages are deleted, but some shown at the wrong place. I will look into it and inform you...

Post edited by: Shiva, at: 2008/10/26 22:09

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

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 4 weeks ago #78287 by slabbi
Replied by slabbi on topic Re:uddeIM: messages deleted from outbox
Messages that have not been read be the recipient yet are listed first. Maybe that it your problem.

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

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

Moderators: beatnantslabbikrileon
Powered by Kunena Forum