uddeim module: display read messages

15 years 11 months ago #62106 by mrlivered
uddeim module: display read messages was created by mrlivered
Hi

I am using the uddeim module which displays new (unread) messages. I would like to display the first two or three messages in the module even when read.

Is it possible? Has anyone done this?

Thanks.

Please Log in to join the conversation.

15 years 11 months ago #62107 by slabbi
Replied by slabbi on topic Re:uddeim module: display read messages
There is one SQL query in the module which gets the message from the database.

Remove "a.toread=0 AND" from this query.

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

Please Log in to join the conversation.

15 years 11 months ago #62108 by mrlivered
Replied by mrlivered on topic Re:uddeim module: display read messages
Thanks.

How would I limit the amount of output that would then be produced? I don't want it displaying the whole inbox.

Please Log in to join the conversation.

15 years 11 months ago #62110 by slabbi
Replied by slabbi on topic Re:uddeim module: display read messages
???

Have you checked the settings yet?

btw: When you modify the SQL query, the module still says "you have xxx new messages". So you should modify the language string as well.

@All:
I do not recommend these modifications! For that purpose you can use the "inbox plugin" for CB.

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

Please Log in to join the conversation.

Moderators: beatnantslabbikrileon
Time to create page: 0.426 seconds

Facebook Twitter LinkedIn