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)
 Edit time limit mod
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

cripto9t
Average Member

USA
881 Posts

Posted - 29 October 2004 :  16:01:19  Show Profile
quote:
Originally posted by matko


Hope this will help (it works for me fine now)




It does . Thanks matko.

The code has been updated.

    _-/Cripto9t\-_
Go to Top of Page

matko
New Member

54 Posts

Posted - 01 November 2004 :  05:22:40  Show Profile
Cripto9t, are you sure that this expression will work
if Mode_Type = "Edit" then
I am not sure variable Mode_Type will ever get a value "Edit" in pop_delete.asp.
I think in this instance it only gets values DeleteTopic or DeleteReply
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 01 November 2004 :  18:36:26  Show Profile
if Mode_Type = "DeleteReply" then

Thanks again matko . I was in a hurry when I edited. I'll fix the code.

Code Updated 11/1/04

    _-/Cripto9t\-_

Edited by - cripto9t on 01 November 2004 18:41:40
Go to Top of Page

arzuna
Starting Member

3 Posts

Posted - 15 November 2004 :  17:04:30  Show Profile  Visit arzuna's Homepage
This is really a great mod and exactly what I was looking for!

One question though...

Does it implement different time limiting options for Edit and Delete(I think it doesn't but maybe I'm wrong).

Is there a way to do this too? (through a new "strDeleteTime" for instance?)

Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 16 November 2004 :  07:10:17  Show Profile
quote:
Originally posted by arzuna

This is really a great mod and exactly what I was looking for!

One question though...

Does it implement different time limiting options for Edit and Delete(I think it doesn't but maybe I'm wrong).

Is there a way to do this too? (through a new "strDeleteTime" for instance?)




Arzuna they use the same time. Try this. It uses "strEditTime" as an on/off switch for both.

In config.asp add strDeleteTime

Dim strEditPost, strEditTime, strDeleteTime

and
strEditPost = Application(strCookieURL & "STREDITPOST")
strEditTime = Application(strCookieURL & "STREDITTIME")
strDeleteTime = Application(strCookieURL & "STRDELETETIME")


In pop_delete.asp change this line
dim intTime : intTime = int(strEditTime * -86400)

to this
dim intTime : intTime = int(strDeleteTime * -86400)


I think that will get it.


    _-/Cripto9t\-_
Go to Top of Page

Massimo
Junior Member

Italy
125 Posts

Posted - 17 November 2004 :  18:47:58  Show Profile  Visit Massimo's Homepage
http://www.superdeejay.net/guida_forumxp/tempo_risposte_full.asp

or

http://www.superdeejay.net/guida_forumxp/tempo_risposte_full.html

Massimo Farieri
Snitz Italian Community
===============
http://www.snitz.it
http://www.superdeejay.net/forum/

Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 18 November 2004 :  08:23:42  Show Profile
Good stuff Massimo. I couldn't find it on the download page though, my italian is no good.

    _-/Cripto9t\-_
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous 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.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07