Can phpMyChat send messages using /TO and /MSG to users who are logged in other rooms (either private or public) or does the /TO and /MSG only work if the person you are sending the message is in the current room?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This IS possible, but is not supported by the standard loader. You have to change the "Get Messages" SQL query in loader.php3 and delete the argument that requires private messages to be in the same room.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-09-14
I would love to see an example of this code change for 0.14.5 and 0.15. I know I've been beating myself up trying to figure out the proper syntax. I know it would be helpful if I could get an idea of what I'm doing wrong, and I can't show the code I've already tried, I've used so many different variations from examples I found off the net during a google search... Thanks....
Tim
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can phpMyChat send messages using /TO and /MSG to users who are logged in other rooms (either private or public) or does the /TO and /MSG only work if the person you are sending the message is in the current room?
This IS possible, but is not supported by the standard loader. You have to change the "Get Messages" SQL query in loader.php3 and delete the argument that requires private messages to be in the same room.
I would love to see an example of this code change for 0.14.5 and 0.15. I know I've been beating myself up trying to figure out the proper syntax. I know it would be helpful if I could get an idea of what I'm doing wrong, and I can't show the code I've already tried, I've used so many different variations from examples I found off the net during a google search... Thanks....
Tim