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/O Code)
 To: Richard Kinser & Slemieux......
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 10 May 2001 :  21:11:23  Show Profile
If it works for the 30 days, then it should work for all of the other days as well. Thanks for testing it out..
Go to Top of Page

DarlingBri
Junior Member

United Kingdom
378 Posts

Posted - 10 May 2001 :  21:55:50  Show Profile  Visit DarlingBri's Homepage
Alan, that is a beautiful, beautiful thing :o) Thank you!

--Happy Bri

*****
"Bother," said Pooh, as Piglet was assimilated by the Borg.
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 10 May 2001 :  22:39:14  Show Profile  Send e3stone an AOL message
I'm sort of confused...I was going to add Alan's 30 day delete code to my pm_view.asp, but mine doesn't look the same. I can't find the lines he's referring to around #62
Here is my pm_view.asp file http://www.insidewaco.com/forum/pm_view.txt

Is there an updated file that I haven't gotten?

<-- Eric -->


http://insidewaco.com/forum/home.asp
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 10 May 2001 :  22:44:03  Show Profile
There were a few changes made, mainly cosmetic. The code in question was added so that there was a default cookie setting for the inbox/outbox setting.
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 10 May 2001 :  23:04:40  Show Profile  Send e3stone an AOL message
ok, so in my version would it matter where I put Alan's code?

<-- Eric -->


http://insidewaco.com/forum/home.asp
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 10 May 2001 :  23:20:31  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
e3stone, add it below the include for inc_top.asp is fine. don't forget to inclose my code inside <% %> asp delimiters though

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 10 May 2001 :  23:29:53  Show Profile  Send e3stone an AOL message
cool, thanks Alan

<-- Eric -->


http://insidewaco.com/forum/home.asp
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 10 May 2001 :  23:39:28  Show Profile  Send e3stone an AOL message
hmmm, doesn't this code only delete the message if the user views their private messages? what if I have a user that has 20 messages in their box and they never go and check them, thus never accessing pm_view.asp? The messages don't get deleted, right?

Another question: if I delete a member, are all their stored pm's deleted as well?

<-- Eric -->


http://insidewaco.com/forum/home.asp
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 10 May 2001 :  23:45:55  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
Yep you're right this will only delete it when the go to check their pm's, To make it do the pruning when anyone checks their pm's at pm_view.asp, just remove M_TO = " & strUserMemberID & " AND from the sql statement and delete the second statement, so that it'll look like below:


'Delete messages past 30 days old
strMessageDays = datetostr(dateAdd("d",-30,strForumTimeAdjust))

SQL = "DELETE FROM " & strTablePrefix & "PM WHERE M_SENT < '" & strMessageDays & "'"
my_Conn.Execute SQL




- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 10 May 2001 :  23:47:32  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
quote:


Another question: if I delete a member, are all their stored pm's deleted as well?

<-- Eric -->


http://insidewaco.com/forum/home.asp



No it does not. Their PM's will remain there because the default pop_delete.asp has no idea what PM's are since PM is a mod.

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 10 May 2001 :  23:52:34  Show Profile  Send e3stone an AOL message
Alan, I think you and Huw need to have a contest on who responds the quickest to questions with the right answer

Alan: 4 minutes 32.67582 seconds
Huw: 4 minutes 33.56453 seconds

Anytime I post a question, I go check another page and come back and there's an answer

Opps, forgot Richard
Richard: 4 minutes 33.23454 seconds

<-- Eric -->


http://insidewaco.com/forum/home.asp

Edited by - e3stone on 10 May 2001 23:53:45
Go to Top of Page

Ribkick
Junior Member

USA
296 Posts

Posted - 11 May 2001 :  15:46:29  Show Profile
Richard, I downloaded your PM manager as well. I put it up and it worked fine. Thank you, this gives me a custom way to manage the PM as well if the automatic one by Alan isn't enough.

With the people we'll be inviting to our forum, I can see them getting very chatty LOL. Thanks again all for your hard work in these help forums.

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 11 May 2001 :  19:44:32  Show Profile
Cool Glad it works for you.
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 22 May 2001 :  13:04:59  Show Profile  Visit dayve's Homepage
quote:

http://www1.domaindlx.com/dssdbs/files/admin_pmmaint.zip

You'll just need to add a link to it in your admin_home.asp page.



beautiful, just beautiful... I don't particularly care for automation of this process so this works out perfect for me... thanks guys once again.

Dayve
Go to Top of Page

Gandalf il Bianco
Starting Member

Italy
18 Posts

Posted - 22 May 2001 :  20:30:29  Show Profile  Visit Gandalf il Bianco's Homepage  Send Gandalf il Bianco an ICQ Message
It works perfectly! Great mod Richard!

Go to Top of Page
Page: of 4 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.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07