Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
3 registered (Gizmo, zurih, 1 invisible), 24 Guests and 21 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 11/10/06
Posts: 39
Top Posters (30 Days)
Ruben Rocha 155
Rick 122
Gizmo 110
Thelockman 62
driv 55
phoebe 39
ScriptKeeper 38
AllenAyres 35
Ian 31
Mark S 30
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
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 Online   sleepy

***

Registered: 06/04/06
Posts: 11967
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 Online   sleepy

***

Registered: 06/04/06
Posts: 11967
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: 3191
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 Online   sleepy

***

Registered: 06/04/06
Posts: 11967
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: 3191
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 Online   sleepy

***

Registered: 06/04/06
Posts: 11967
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: 3191
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
Neptin
Recent Topics
Pruning Messages
by EMG
11/18/08 06:57 PM
7.4.1 Advanced Search - Default to Referer Forum?
by Jim
11/18/08 01:32 AM
Move charset out of language files?
by Gizmo
11/17/08 09:33 PM
Where is Moderation Queue?
by luket
11/17/08 08:27 PM
Custom Page or Content
by FordDoctor
11/17/08 05:28 PM
Forum Stats
4244 Members
33 Forums
30478 Topics
154602 Posts

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