Previous Thread
Next Thread
Print Thread
Rate Thread
#219276 06/18/2002 4:16 AM
Joined: Apr 2002
Posts: 141
Member
Member
Offline
Joined: Apr 2002
Posts: 141
After converting from UBBC to UBBT I have had nothing but trouble. Not so much because of bugs in UBBT or anything but because the import script screwed up.
My members are reporting all kind of strange things happening to there PM's.
Now I would like to purge all PM's and set the PM counter in the members profiles to 0.
Can anyone send me the right sql commands to do this?

Regards,

Ron.


Those who fail to read ask many questions:-)
Sponsored Links
Joined: Apr 2002
Posts: 141
Member
Member
Offline
Joined: Apr 2002
Posts: 141
I found it allready:-)


Those who fail to read ask many questions:-)
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
You should post the solution anyway, for the benefit of others.

Looking at delete.php, it should be
code:
DELETE FROM w3t_Messages;
UPDATE w3t_Users SET U_Privates = 0;



But don't try this until someone else confirms that this is correct.

Joined: Apr 2002
Posts: 141
Member
Member
Offline
Joined: Apr 2002
Posts: 141
Oops, sorry! That is what I did.

I'll post it next time:-))


Those who fail to read ask many questions:-)
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Can't this be done from the admin section? By setting the the number of days the PM's are to be older than to 0 and then clearing. This is how I would do it in the past.

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
I would think so... "Delete Old Messages"


- Allen wavey
- What Drives You?
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Just wondering, I know 5.4.6 will only show "1" message deleted when it really cleared many more. Does 6.0.1 do this?

Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
That's been fixed for 6.0.1


UBB.threads Developer
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
hehe thanks for the update.

I been needing to get 6.0.1 up and running for myself... (it's on the list)

Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
Thanks, I forgot about that feature.

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)