Previous Thread
Next Thread
Print Thread
Rate Thread
#278338 08/20/2004 10:37 AM
Joined: Mar 2000
Posts: 180
Member
Member
Offline
Joined: Mar 2000
Posts: 180
This morning I got an email from one of our members, about a problem user. A user has been sending some "threatening" PMs to the member that contacted us, but he deleted that last couple PMs before reading them bccause he was simply tired of reading the threats. But, he asked if I could read the messages that he had deleted, to ensure that the threats hadn't reached a serious level.

So, any way to do this?

Sponsored Links
CPBpnM #278339 08/20/2004 10:41 AM
Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
Not that I am aware of, other than pulling out a backup and digging it up.

CPBpnM #278340 08/20/2004 10:54 AM
Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
Yeah once they're deleted, they're permanently gone from the database.

If you have a recent backup like eric mentions, you can open the sql dump in a text file and look under the w3t_Messages table for 'em.

smoknz28 #278341 08/20/2004 11:02 AM
Joined: Mar 2000
Posts: 180
Member
Member
Offline
Joined: Mar 2000
Posts: 180
Yeah, I backed up the board at like 5am this morning...

CPBpnM #278342 08/21/2004 2:17 AM
Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
why not just add another routine to your PM where if a user deleted their PM, instead of writing, R or W or whatever the current "Read/Replied/CC" commented are... it would write "D"... and if listing the PM - it would display all except the ones with "D"....

Admins could read EVERYONE's PM with a command such as...
SELECT *
FROM `ubb_Messages`
WHERE `M_Uid` = ###
ORDER BY `M_Sent` DESC

But regular members would only see the message without "D" in the status column...

If you set your MESSAGE PURGE to XX days, then all PM (including those with "D" status) would be purged at XX days.

Its just a matter of editing the DELETE command in the php file to update a column, rather than to mark it for deletion,... and then for the listing commands to list only messages for user NOT CONTAINING "D".

I hope this helps!


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Sponsored Links
Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
OK, sorry.. I read your initial post as something that you wanted to do in the FUTURE.... not as something that you wanted to bring back/read from the past

never mind my comments then.... Unless you want wanted to know how to do it in the future tipsy


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)