51

Re: Hard Cover Tute: Have PM message been read or not.

Vremni Good day!
I have version 2.5.3
Earned when done like this:
Open your lib.account_messages.php and find:

$fields[$i]['message_id'] = $obj['message_id'];

And add below it:

$fields[$i]['message_nonread'] = $obj['new'];

Open your account_messages_sent.tpl and find:

<a href="{top.virtual_path}{message_link}">{trim:message_subject,75}</a>

And add:

&nbsp;<sup><!-- IF message_new -->Non-read<!-- ELSE -->Read<!-- ENDIF --></sup>

Patterns (trim: message_subject, 75) with the number 75 may change to 90

And in general should get like this:

<a href="{top.virtual_path}{message_link}">{trim:message_subject,75}</a>&nbsp;<sup><!-- IF message_new -->Non-read<!-- ELSE -->Read<!-- ENDIF --></sup>

or like this

<a href="{top.virtual_path}{message_link}">{trim:message_subject,90}</a>&nbsp;<sup><!-- IF message_new -->Non-read<!-- ELSE -->Read<!-- ENDIF --></sup>

52

Re: Hard Cover Tute: Have PM message been read or not.

Thanks for the lines - it works great!

53

Re: Hard Cover Tute: Have PM message been read or not.

And what if message is deleted? It shows message as unread in sent messages. How can be this fixed to show that message does not exist any more. Thx

54

Re: Hard Cover Tute: Have PM message been read or not.

If message wasn't read by receiver and deleted obviously system won't show it was read.
It will be deleted from database table once both sender and receiver delete it from their sent and inbox.

www.vldMagic.com - first choice customizations help desk
www.vldCrowd.com/radioact - my profile at vldCrowd

55

Re: Hard Cover Tute: Have PM message been read or not.

Work in version V.2.6?

Comet Chat - The best Facebook chat clone integrated to Vldpersonals
Asian Dating and Asian Girls
Dating woman Romania

56

Re: Hard Cover Tute: Have PM message been read or not.

sowers wrote:

Work in version V.2.6?

Version 2.6 have this option included I think...

Mcp, Mcsa, Mcse, A+, Server+, Linux CP...

57

Re: Hard Cover Tute: Have PM message been read or not.

It does.

Developer

58

Re: Hard Cover Tute: Have PM message been read or not.

Does anyone know how to delete both messages from sender and receiver.
or if we can change the messages if recievers don´t read it yet !

(example: if you change your mind and want to make a new message.)

Give the world the best you have, and the best will come to you.
Tutorials and Mods for VldPersonals  Add CometChat to your vldPersonals site