Author |
Topic |
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 27 April 2004 : 13:25:28
|
How do I go about archiving ALL of the topics in a selected forum? I'm thinking it's something to do with admin_forums.asp, the whole "for counter = 1 to 6" bit and subarchivestuff but I can't figure it out.
Any help would be great. |
Bandlink.net - http://www.bandlink.net/ Bandlink Music Forums - http://www.bandlink.net/forum/ |
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
|
miperez
Junior Member
Spain
243 Posts |
Posted - 28 April 2004 : 11:50:08
|
Hi, MarkJH.
I think that the easiest way to do that is going into the Admin section, and clicking on "Archive forum topics", then "Archive topics from a forum", and then selecting the desired forum and clicking on "selected forums". |
Best Regards
Mikel Perez
"Hell is the place where everything test perfectly, and nothing works"
|
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
Jeepaholic
Average Member
USA
697 Posts |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 28 April 2004 : 14:46:50
|
quote: Originally posted by miperez
Hi, MarkJH.
I think that the easiest way to do that is going into the Admin section, and clicking on "Archive forum topics", then "Archive topics from a forum", and then selecting the desired forum and clicking on "selected forums".
That only archive topics that are at least a month old. I want to archive EVERYTHING in a forum. Basically, it's part of a mini-modification I'm working on to close a forum forever, archiving everything and leaving the archives intact and accessible from default.asp
Ruirib/Jeepaholic; that script looks like just want I need! So, setting the date to today's would archive the entire forum, right? |
Bandlink.net - http://www.bandlink.net/ Bandlink Music Forums - http://www.bandlink.net/forum/ |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
Jeepaholic
Average Member
USA
697 Posts |
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 29 April 2004 : 13:23:30
|
Got this error when attempting to run the script:
Server: Msg 207, Level 16, State 1, Line 51 Invalid column name 'T_ARCHIVE_FLAG'. Server: Msg 207, Level 16, State 1, Line 51 Invalid column name 'T_EVENT_DATE'. Server: Msg 207, Level 16, State 1, Line 51 Invalid column name 'T_ISEVENT'. |
Bandlink.net - http://www.bandlink.net/ Bandlink Music Forums - http://www.bandlink.net/forum/ |
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
|
Jeepaholic
Average Member
USA
697 Posts |
Posted - 29 April 2004 : 21:53:10
|
Ooooooo, didn't consider that I have the Events Mod in place. You'll need to remove all references to T_EVENT_DATE and T_ISEVENT.
As for the T_ARCHIVE_FLAG field, what version of Snitz are you running? I thought that was a standard field?
Doubtful that it will archive polls without modification. Assuming that all the poll database columns are located within the TOPIC and/or REPLY tables, you could make sure they're included in the script - much like you removed the Event fields from mine. |
Al Bsharah Aholics.com
Jeepaholics Anonymous Broncoholics Anonymous Network Insight
|
Edited by - Jeepaholic on 29 April 2004 21:55:49 |
|
|
Topic |
|