You can also PM yourself if you want to test it.
That's what I've done and it popped up with an old pm (http://i.imgur.com/EdiHx.png) not sure if it's getting the current ID as unread as its (http://i.imgur.com/C6PSS.png) for the current pm but anyhow it works you may want to check upon it same thing with the visitor messages
I do like the fact its using jQuery via ajax to get the pm's from the userID that's logged in
Edit: --
Done further testing and it seems that the modification is getting the old pm's first and once its idk logged either in a table (not sure) it moves on to the next getting the current pm sent
just a thought since http://i.imgur.com/pzQPa.png + http://i.imgur.com/A6KxE.png only gets one current message etc at a time (even though i have about 10 pm's unread) why not fetch 'em in an array and display the unread ones here http://i.imgur.com/hCHmc.png would be nice to see that you can auto reply from any page as well but that's just me any how great work
_____________________________________________________________________________________
I also suggest that upon the ts_ajaxpm_read.php when the $_REQUEST or $_GET's the user's info via pm etc make sure you only get it if your == to the current user logged in else it will be blank page or something cause at them moment anyone can do this http://i.imgur.com/2RMFP.png just with their ID if you get me
everything but newmsgid returns 0 ,
newvisitormsguid if use of another userid it'll return ,, (http://i.imgur.com/ypPEe.png) i think that should be adjusted
found that currentmsg if use of another userid it'll return the ids of the current message http://i.imgur.com/OQp8w.png ,http://i.imgur.com/GWYa6.png etc that should be adjusted as well
Anyhow if i find any more things i'll be sure to post it <3
Last edited: