PDA

View Full Version : pm recovery?!?!?!?


hagi
06-23-2002, 05:43 AM
i need a hack where it can recover deleted or lost pm's. it seems their is a member on my board who doesnt know what happen to the pm's and wants them back. is their anyway of doing this?

Velocd
06-23-2002, 06:36 AM
Good request, I'm up for this one. Not so much a recovery feature though, but more of a trash folder in the PM section, where deleted PM's will go for awhile. The trash quota will be relatively small though, to not consume so much on the database. This hack and a junk filter would be awesome, I'm starting to get alot of unwanted spam--j/k! ;)

Oh, as for your problem needing to recover deleted PM's, there should be a way...I'm just not sure of.

hagi
06-23-2002, 06:56 AM
yeah, its really important for me to make sure this person receives his pm's back. someone sent hate messages to one of my members and now supposibly these pm's are nowhere to be found. so if anyone has any ideas or ways of getting it, it'll help me a lot.

Logician
06-23-2002, 08:45 AM
If pms are deleted by anyway (by the user, by you, via admin cp, via phpmyadmin etc.), no you cant get them back. Vb uses SQL DELETE command to delete the pms from db and once they are deleted, they are gone forever. In case he cant manage to list them properly and think he deleted them, you better login to his account and see if they are really deleted.

And another way to access the PMs is search database and see if the pms is kept in sender's outbox. ;) Even if the receiver deleted it, the sender might be still keeping them and you can access them until he deletes.

Run this SQL query to list them:
SELECT * FROM privatemessage where touserid=X

Replace X with his userid. This will list all the pms sent to him (regardless of whom) if the sender still keeps them in his own pm box.

Hope this helps..

Xenon
06-23-2002, 10:44 AM
if they are also deleted only a backup of your database could help you then....