Discuss or request ArrowChat modifications
User avatar
Zjdoo
Customer
 
Posts: 3
Joined: 19 Nov 2017, 11:03

by Zjdoo 03 Dec 2017, 20:50

Hello,

I want to, well, let's just say do something after user read the message. For example I tried to create text file, but it did not worked.

This is how I tried to do it:

I added
Code: Select all
to includes/json/recieve-user.php

Here's my full file after editing:

recieve-user.php
Code: Select all


Also, if it's possible to do it, what are the variables for user id the message goes to and message id.

Thanks in advance.
Regards.
User avatar
Zjdoo
Customer
 
Posts: 3
Joined: 19 Nov 2017, 11:03

by Zjdoo 03 Dec 2017, 21:05

Found it. It was wrong file. If anyone will try something similar (I doubt :P ) you should add your code around 437 line in functions/functions_recieve.php.