Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
5 registered (Harold, Island Piper, Ruben Rocha, sbserves, 1 invisible), 30 Guests and 25 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 11/21/08
Posts: 1
Top Posters (30 Days)
Ruben Rocha 179
Gizmo 112
Rick 106
Thelockman 79
driv 43
AllenAyres 35
ntdoc 28
Ian 24
Sirdude 23
ScriptKeeper 20
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 Offline

***

Registered: 06/04/06
Posts: 12007
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: 12007
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: 3202
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: 12007
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: 3202
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: 12007
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: 3202
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
No Birthdays
Recent Topics
I'm the Admin but.....
by David DelMonte
Today at 11:12 AM
Fatal error: Smarty::require_once
()

by ThreadsUser
Today at 08:17 AM
PayPal batch file for ID'ing expired and failed payment subscriptions?
by Mitch P.
Today at 06:02 AM
Shrinking graemlins
by Djuma
Yesterday at 05:48 PM
2 problems I'm seeing now.
by DougMM
Yesterday at 04:39 PM
Forum Stats
4261 Members
33 Forums
30535 Topics
154977 Posts

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