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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Snitz Forums Archiving - 1.0 FINAL
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 8

Capt_Dunzell
Junior Member

USA
160 Posts

Posted - 16 February 2001 :  18:13:21  Show Profile  Visit Capt_Dunzell's Homepage
Okay, I got rid of the error, and it gives the updated count report, but the archive topics are not being deleted.





http://www.dunzellsden.com/forum/
Go to Top of Page

Capt_Dunzell
Junior Member

USA
160 Posts

Posted - 16 February 2001 :  18:15:51  Show Profile  Visit Capt_Dunzell's Homepage
I cannot delete indivudual posts in the archives with the delete icon either.

And the drop down page number selector brings up a page cannot be found error, but the page numbers at the bottom still function.

Could this all be related? Im using the latest zip for this mod.

http://www.dunzellsden.com/forum/
Go to Top of Page

Capt_Dunzell
Junior Member

USA
160 Posts

Posted - 16 February 2001 :  18:34:43  Show Profile  Visit Capt_Dunzell's Homepage
If I remove line 251, my_conn.execute(strsql) ,
the error goes away.

I dont know if that is helpful or not.

http://www.dunzellsden.com/forum/
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 16 February 2001 :  20:19:59  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
No, thats the part that executes the script...

When you confirm the delete, and it gives the error, can you paste the url in here? I wanna see if the date querystring looks ok. I think that might be it.

----
Da_Stimulator
Snitz Forums Dev Team Member
http://stimmy.cfm-resources.com/forum - my testing forums.
Go to Top of Page

Capt_Dunzell
Junior Member

USA
160 Posts

Posted - 16 February 2001 :  20:33:52  Show Profile  Visit Capt_Dunzell's Homepage
Here is the URL after I hit yes to confirm the delete and the error shows up.

http://capt_dun/admin_forums.asp?action=deletearchive&id=3&confirm=yes&date=20010116173853

http://www.dunzellsden.com/forum/
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 17 February 2001 :  19:06:28  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Huwr I cant figure it out...

----
Da_Stimulator
Snitz Forums Dev Team Member
http://stimmy.cfm-resources.com/forum - my testing forums.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 17 February 2001 :  19:32:42  Show Profile  Visit HuwR's Homepage
capt_dunzel

Is this what your archive delete sub looks like ?

Sub subdeletearchivetopics(strForum_id, strDateOlderThan)
strsql = "Delete from " & strTablePrefix & "ARCHIVE_TOPICS WHERE FORUM_ID=" & strForum_id & " AND T_LAST_POST < '" & strDateOlderThan & "'"
my_conn.execute(strsql)
strsql = "DELETE FROM " & strTablePrefix & "ARCHIVE_REPLY WHERE FORUM_ID=" & strForum_id & " AND R_DATE < '" & strDateOlderThan & "'"
my_conn.execute(strsql)
Call subdoupdates()
End Sub


Go to Top of Page

Capt_Dunzell
Junior Member

USA
160 Posts

Posted - 17 February 2001 :  19:44:38  Show Profile  Visit Capt_Dunzell's Homepage
No.

Is that what I should have?

http://www.dunzellsden.com/forum/
Go to Top of Page

Capt_Dunzell
Junior Member

USA
160 Posts

Posted - 17 February 2001 :  19:51:44  Show Profile  Visit Capt_Dunzell's Homepage
Got it, there was a typo.

Outstanding! Thanks to you Huwr and Da_Stimulator!

The only other problem I am having with this is that the drop down page selector at the top is not working. It lists all the page numbers but it sends you to an unavailable page.

http://www.dunzellsden.com/forum/
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 17 February 2001 :  19:52:35  Show Profile  Visit HuwR's Homepage
I am looking in to that at the moment, just discovered it myself

Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 17 February 2001 :  20:02:59  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Where was the typo? was it only on yours or did it come with the package... I might need to fix it.

----
Da_Stimulator
Snitz Forums Dev Team Member
http://stimmy.cfm-resources.com/forum - my testing forums.
Go to Top of Page

Capt_Dunzell
Junior Member

USA
160 Posts

Posted - 17 February 2001 :  20:07:35  Show Profile  Visit Capt_Dunzell's Homepage
It looks like it was part of the admin_forum.asp that I got out of the download.

Yes, just downloaded it again to double check, thats it.



http://www.dunzellsden.com/forum/
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 18 February 2001 :  00:55:28  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Ok

----
Da_Stimulator
Snitz Forums Dev Team Member
http://stimmy.cfm-resources.com/forum - my testing forums.
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 18 February 2001 :  20:34:00  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Since no bugs have been reported in a while, I'm declaring it stable for normal use... 'final' version.

----
Da_Stimulator
Snitz Forums Dev Team Member
http://stimmy.cfm-resources.com/forum - my testing forums.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 18 February 2001 :  20:54:45  Show Profile  Visit HuwR's Homepage
couple of minor fixes, and a small enhancement.

Added a new column to FORUM which records the last archived date. So you can se in admin when it was last archived, also enclosed the admin stuff in a table to match the rest of the forum, thanks to kycable for doing the table stuff.

If you overwrite your dbs file with the one in the zip and re-run it, it will add the field, ignore the table creation errors if you get them, it's because you have already installed the mod.

updated files are here

also minor tweak to archive display, to allow you to reply if the archived topic id still in the main forum

sorry Stim


Go to Top of Page
Page: of 8 Previous Topic Topic Next Topic  
Previous Page | 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.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07