Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
0 registered (), 33 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 07/21/08
Posts: 45
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#678 - 06/19/06 08:55 PM Purging Welcome Messages
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
When importing your old forum to your test forum you'll notice that some pm's you've deleted in the past have come back, this is because they are linked from the other user involved in the message's inbox.

You'll find that a lot of these are the "Welcome to our forums" pm's that many of you have enabled; in larger forums you'll have quite the bombardement...

Well, just load up your control panel and run the follwoing SQL Query (Tools -> Database Tools -> SQL Command):
Code:
DELETE FROM `forums_PRIVATE_MESSAGE_POSTS` WHERE `POST_BODY` LIKE CONVERT( _utf8 'Welcome to our%' USING latin1 );

DELETE FROM `forums_PRIVATE_MESSAGE_TOPICS` WHERE `TOPIC_SUBJECT` LIKE CONVERT( _utf8 'Welcome to our%' USING latin1 );


Now, you'll want to make sure that you replace "welcome to our" with the subject line of your welcome message. There are two queries because of the two sql tables used.

Since I have used several similar but not exact lines I am using a wildcard search to nuke old pm's.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#690 - 06/20/06 01:50 PM Re: Purging Welcome Messages [Re: Gizmo]
AllenAyres Offline

Registered: 12/29/03
Posts: 1995
Loc: Texas
danke smile
_________________________
- Allen
- ThreadsDev | PraiseCafe
Top
#691 - 06/20/06 02:42 PM Re: Purging Welcome Messages [Re: ]
Ian Spence Offline
Registered: 06/04/06
Posts: 255
will probably want to remove from PRIVATE_MESSAGE_USERS as well, since it's 2 rows per pm
Top
#692 - 06/20/06 04:50 PM Re: Purging Welcome Messages [Re: Ian Spence]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
removing from PRIVATE_MESSAGE_USERS will be a smidge harder, as theres not really anything to search by lol.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#1995 - 07/27/06 03:40 PM Re: Purging Welcome Messages [Re: Gizmo]
AllenAyres Offline

Registered: 12/29/03
Posts: 1995
Loc: Texas
any automagic way of getting rid of the hundreds now in my inbox? tongue
_________________________
- Allen
- ThreadsDev | PraiseCafe
Top
#1997 - 07/27/06 04:01 PM Re: Purging Welcome Messages [Re: ]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
:shrug: dont' feel like doing another importer to see why it woudln't work :x...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image