Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Are you using the slanted apostrophe like that? - you just need the straight dash - like this ' :


UPDATE w3t_Posts
SET B_Replies = '0'
WHERE B_Board = 'archive'


The favorites and reminders *might* not cause an issue for you. I'm just making you aware of potential problem areas.

Unfortunatley there isn't a real easy way to check that stuff. If it were that easy, then it would be a feature from the admin menu.

Usually what's needed is some kind of script which checks the stuff and removes where necessary. So if the post number in the favorites table doesn't exist, then it can be deleted too.


I just like to throw appropriate caution as someone new comes along, finds a thread like this and runs the query to delete stuff... which often creates problems for them.

A good guide, if you want to delete posts, take a look at the scripts in the admin section that perform this action and see what tables they are updating etc... That's a good guideline of what needs to be done, depsning on what's being removed/changed.

Sponsored Links
Entire Thread
Subject Posted By Posted
Delete all threads prior to specific date Gregori 01/02/2004 5:47 PM
Re: Delete all threads prior to specific date omegatron 01/02/2004 6:02 PM
Re: Delete all threads prior to specific date slayer60 01/02/2004 6:05 PM
Re: Delete all threads prior to specific date Gregori 01/02/2004 7:23 PM
Re: Delete all threads prior to specific date omegatron 01/02/2004 7:40 PM
Re: Delete all threads prior to specific date Gregori 01/02/2004 8:58 PM
Re: Delete all threads prior to specific date omegatron 01/03/2004 12:26 AM
Re: Delete all threads prior to specific date JoshPet 01/03/2004 12:35 AM
Re: Delete all threads prior to specific date Gregori 01/03/2004 2:06 AM
Re: Delete all threads prior to specific date Gregori 01/03/2004 2:27 AM
Re: Delete all threads prior to specific date JoshPet 01/03/2004 2:58 AM
Re: Delete all threads prior to specific date JoshPet 01/03/2004 3:00 AM
Re: Delete all threads prior to specific date Gregori 01/03/2004 3:13 AM
Re: Delete all threads prior to specific date JoshPet 01/03/2004 4:39 AM
Re: Delete all threads prior to specific date Gregori 01/03/2004 12:06 PM

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,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online 961
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 0
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
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)