Skip to Content Skip to Menu

uddeim module: display read messages

  • mrlivered
  • mrlivered
  • OFFLINE
  • Posts: 9
  • Thanks: 0
  • Karma: 0
16 years 4 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 or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 4 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 or Create an account to join the conversation.

  • mrlivered
  • mrlivered
  • OFFLINE
  • Posts: 9
  • Thanks: 0
  • Karma: 0
16 years 4 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 or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 4 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 or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum