FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » How to remove Private Messages?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
How to remove Private Messages? [message #14980] Wed, 26 November 2003 23:53 Go to next message
Victor_M is currently offline  Victor_M   United States
Messages: 51
Registered: January 2003
Location: NJ, USA
Karma: 0
Member
In the continuing saga of how a webhost screwed things up, we just found out that PM's from one person's inbox are showing up on other people's inboxes. In one case, a phone number and home address was seen by people who shouldn't have seen it. Not to mention all kinds of other private messages.

We removed the feature for now and doubt that we could fix the existing data. We prefer to delete all the PMs and start over. How can I do that?
Re: How to remove Private Messages? [message #14981 is a reply to message #14980] Wed, 26 November 2003 23:54 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Delete all entries from the pmsg table.

FUDforum Core Developer
Re: How to remove Private Messages? [message #28666 is a reply to message #14981] Fri, 04 November 2005 13:55 Go to previous messageGo to next message
defa is currently offline  defa   Germany
Messages: 14
Registered: July 2005
Karma: 0
Junior Member
I actually want to do the same thing (delete all messages older then 14days). But actually it seems like the messages are one stored in the DB and the content of them ist stored in an file called "private" in the message directory.

So removing PM's from the DB is absolutely no problem - but how to delete specific messages out of the private file?

I tried to look into the sources, bute couldn't find an entry which does the content deleting. So - I wonder - does fudForum delete the content from the "prvate" file? And if so, where can I find the function which does it?


bye + thanx
defa
Re: How to remove Private Messages? [message #28672 is a reply to message #28666] Fri, 04 November 2005 22:13 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Running the compactor clears out removed message bodies from the private file.

FUDforum Core Developer
Re: How to remove Private Messages? [message #28691 is a reply to message #14980] Sat, 05 November 2005 20:22 Go to previous messageGo to next message
trashpunk is currently offline  trashpunk   Germany
Messages: 8
Registered: October 2005
Karma: 0
Junior Member
is it possible to run the compactor if the forum runs with php_safemode on? i got a error and the private file was destroyed
Re: How to remove Private Messages? [message #28694 is a reply to message #28691] Sat, 05 November 2005 21:27 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Yes it is possible, just make sure you are using FUDforum 2.7.3 or later.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Use og FUDForum Cookies
Next Topic: Banned user keeps coming back
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 16:05:08 GMT 2024

Total time taken to generate the page: 0.02900 seconds