Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
2 registered (Djuma, packlite), 23 Guests and 18 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 12/29/03
Posts: 1667
Top Posters (30 Days)
Ruben Rocha 103
Rick 80
Mark S 71
Thelockman 58
Gizmo 54
driv 35
ntdoc 32
Sirdude 32
packlite 24
AllenAyres 22
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Page 2 of 3 < 1 2 3 >
Topic Options
Rate This Topic
#177440 - 02/04/07 09:10 AM Re: Delete all PMs with 'Welcome' Subject [Re: Gizmo]
24hourcampfire Offline
journeyman

Registered: 11/02/06
Posts: 56
Like me.

I just upgraded and found that every single PM the site has ever generated are back. Purged PMs, weren't. Everybody's mailbox is full, full, full.

Any way to delete everything before a certain date, or let's not be picky, by ANY orderly means en masse???

Rick
_________________________
Rick Bin
24hourcampfire.com

http://www.24hourcampfire.com/ubbthreads/ubbthreads.php

Top
#177465 - 02/04/07 02:00 PM Re: Delete all PMs with 'Welcome' Subject [Re: 24hourcampfire]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
Well, theres a reason they're "back"; they never where gone...

Keep in mind that there are 2 parties in a PM, not just one. So when one person deletes, it's still there for the other user, until they delete the message as well.

There where two differant ways to go about pm importing:
A. Don't import them, gone forever.
B. Import all pm's and assign them to the users who had posted in them.

Seeing as most users use pm's, we all harassed rick till he went with B :x...

And you could purge pm's by using the datestamp and a unix epoch date...
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#184511 - 05/20/07 03:12 AM Re: Delete all PMs with 'Welcome' Subject [Re: 24hourcampfire]
cclapper Offline
stranger

Registered: 05/20/07
Posts: 3
hmm.. I hope Rick can fix it..
_________________________
http://www.you-switch.org - Youswitch provides advice on switching utility bills.
http://www.broardband.net - broadband advice

Top
#184512 - 05/20/07 04:13 AM Re: Delete all PMs with 'Welcome' Subject [Re: cclapper]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
the only real "fix" would be to not import PM's... Theres not much of a grey area, as in there isn't really a way to check if they exist for both or one user with the import scripts.
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#184523 - 05/20/07 10:15 PM Re: Delete all PMs with 'Welcome' Subject [Re: Gizmo]
ntdoc Offline

***

Registered: 11/08/06
Posts: 3244
I'm not sure and have not looked, but don't ALL messages regardless of type or area contain a unique id ? If not perhaps it would be a good idea to implement a unique ID for all messages that way in the future it could be used for multiple purposes of tracking or other uses.

Top
#184525 - 05/20/07 10:42 PM Re: Delete all PMs with 'Welcome' Subject [Re: ntdoc]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
All messages do have a unique id; it'd be their index id in the database
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#184548 - 05/21/07 07:24 PM Re: Delete all PMs with 'Welcome' Subject [Re: Gizmo]
ntdoc Offline

***

Registered: 11/08/06
Posts: 3244
Well then perhaps I'm off base but if he's trying to keep out duplicates can't some type of query be written to ignore duplicates based on the unique id ?

Top
#184557 - 05/21/07 08:31 PM Re: Delete all PMs with 'Welcome' Subject [Re: ntdoc]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
just becuse it's the same content in the message doesn't mean it's the same message; a new message is created when a user signs up, it's not the same message at all, so each message would have it's own id
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#184563 - 05/21/07 10:03 PM Re: Delete all PMs with 'Welcome' Subject [Re: Gizmo]
ntdoc Offline

***

Registered: 11/08/06
Posts: 3244
True, I get ya

Top
#192931 - 07/26/07 09:11 AM Re: Delete all PMs with 'Welcome' Subject [Re: Gizmo]
Taylor Offline
journeyman

Registered: 10/06/06
Posts: 85
Thank you for the script Gizmo.
I am one of the large site owners that does not have a clue about MySQL that welcomes anything that can make my look like if I did :-)

Top
Page 2 of 3 < 1 2 3 >


Shout Box

Today's Birthdays
Anoneguy
Recent Topics
How to Change Link Color / Underline in styles?
by ECNet
Today at 10:00 PM
Chaging the "max online" number and date
by wanted
Today at 02:22 PM
7.4.1. In Threaded Mode - "Mark All Read" Doesn't Work
by packlite
Today at 10:26 AM
Custom island with sql connection
by Robje01
Today at 09:13 AM
Arabic letters test
by Cowabanga
Today at 04:47 AM
Forum Stats
4296 Members
33 Forums
30686 Topics
155997 Posts

Max Online: 978 @ 06/24/07 08:19 PM