Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Delete all users
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

tcadieux
Junior Member

153 Posts

Posted - 02 March 2005 :  14:50:47  Show Profile
My boss wants me to wipe the database clean and start with some different parameters for Registration. I have some customisation though and i would rather just clean out the Members table than start with a new DB and have to customise again.

I tried just wiping out all non-admins from the DB but i got an error when trying to load it up the first time. Is there any easy way to do this?

Podge
Support Moderator

Ireland
3776 Posts

Posted - 02 March 2005 :  14:56:56  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
You can use setup.asp to reset the database though this would remove all topics, etc.

Is that what you want to do?


Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

tcadieux
Junior Member

153 Posts

Posted - 02 March 2005 :  14:57:29  Show Profile
Absolutely, so long as the Forums remain?
Go to Top of Page

tcadieux
Junior Member

153 Posts

Posted - 02 March 2005 :  15:07:24  Show Profile
actually, i treid that ands the users and Topics are all still there?
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 02 March 2005 :  16:44:50  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
When you say "forums remain" do you mean that you want all categories & seperate forums on the board to remain.
or do you want to start entirely from scratch?

If you want to delete users, topics, forums you could execute these sql queries (untested)
delete from FORUM_MEMBERS where MEMBER_ID <> 1
delete from FORUM_FORUM
delete from FORUM_TOPICS
delete from FORUM_REPLY


If you want to keep topics, etc. you know that you can just enable the extra member profile fields and have your userbase enter the extra details.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.

Edited by - Podge on 02 March 2005 16:46:40
Go to Top of Page

tcadieux
Junior Member

153 Posts

Posted - 03 March 2005 :  08:20:50  Show Profile
I would like to keep the Forums, but remove all topics and all Members except those that are Admins. i'll try messing around with the Sql statement, thx

Edited by - tcadieux on 03 March 2005 08:32:42
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 03 March 2005 :  08:54:03  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
delete from FORUM_MEMBERS where MEMBER_LEVEL < 3

Should get rid of any member not an admin.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

tcadieux
Junior Member

153 Posts

Posted - 03 March 2005 :  08:55:10  Show Profile
What about all the Topics? The forums shoudl stay, along with who is the moderator.
Go to Top of Page

tcadieux
Junior Member

153 Posts

Posted - 03 March 2005 :  08:56:19  Show Profile
The response i get is "there were 0 Lines of code"?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 03 March 2005 :  09:11:12  Show Profile  Send ruirib a Yahoo! Message
How can you delete users and then keep the posts? Who should be shown as author of each post? How to keep a moderator, if you plan to delete the users? Have you considered all of this?

Wouldn't it be wiser to develop code to restrict access to all members until they provide all the (new) required info?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 03 March 2005 :  09:18:45  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
quote:
How can you delete users and then keep the posts? Who should be shown as author of each post? How to keep a moderator, if you plan to delete the users? Have you considered all of this?

He wants to delete the topics also.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

tcadieux
Junior Member

153 Posts

Posted - 03 March 2005 :  09:19:42  Show Profile
Topics and Replies can go, just the forums and Admins should stay...

Edited by - tcadieux on 03 March 2005 09:20:08
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 03 March 2005 :  09:47:17  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
delete from FORUM_TOPICS
delete from FORUM_REPLY

should work (I haven't tested it)

If you have already deleted all members, you will need to create an admin.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

tcadieux
Junior Member

153 Posts

Posted - 03 March 2005 :  09:49:35  Show Profile
I get this response "There were 0 lines of code"

I should mention i am using Access 2000

Edited by - tcadieux on 03 March 2005 09:49:55
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 03 March 2005 :  09:51:35  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
If you have a copy of Access 2000, just open up the db.
Click the tables tab on the left and delete whatever you need to.

Are you getting any errors now when you goto the board?

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

tcadieux
Junior Member

153 Posts

Posted - 03 March 2005 :  09:53:35  Show Profile
that's what i was doing, but i then get an error on my Active Users mod...I just want to avoid rebuilding the Forums and the Mods i had added.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07