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/Delete Post Time Limits
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 6

Doughnut
Starting Member

United Kingdom
40 Posts

Posted - 06 April 2005 :  08:43:49  Show Profile  Visit Doughnut's Homepage  Reply with Quote
That works
Not too sure about the delete bit though, just testing it!<
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 06 April 2005 :  10:29:08  Show Profile  Reply with Quote
quote:
Originally posted by Doughnut

That works
Not too sure about the delete bit though, just testing it!


That's good .

To test you need to be signed in as an ordinary member (no admin or mod) and edit or delete a topic in a forum that has not had a time limit set yet (time limit is still "Null").<

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

Doughnut
Starting Member

United Kingdom
40 Posts

Posted - 06 April 2005 :  11:13:19  Show Profile  Visit Doughnut's Homepage  Reply with Quote
quote:
Originally posted by cripto9t
To test you need to be signed in as an ordinary member (no admin or mod) and edit or delete a topic in a forum that has not had a time limit set yet (time limit is still "Null").

It's a weird thing but that is how I was testing it but I couldn't reproduce the error, I got the people complaining about the problems to test it for me after the changes were made (your adjusted code) and it's fine now.... just waiting for em to get back to me on the delete side of things.

Looks good so far <
Go to Top of Page

Doughnut
Starting Member

United Kingdom
40 Posts

Posted - 06 April 2005 :  12:24:59  Show Profile  Visit Doughnut's Homepage  Reply with Quote
Ayyyeee all works perfectly now!
Thanks cripto <
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 06 April 2005 :  14:17:18  Show Profile  Reply with Quote
Your welcome

If have any more problems with it let me know.
I'm going to try to update the download with these changes today.<

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

cripto9t
Average Member

USA
881 Posts

Posted - 06 April 2005 :  14:32:11  Show Profile  Reply with Quote
quote:
Originally posted by Doughnut

It's a weird thing but that is how I was testing it but I couldn't reproduce the error


I thought things like that only happened to me .<

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

Doughnut
Starting Member

United Kingdom
40 Posts

Posted - 06 April 2005 :  19:27:48  Show Profile  Visit Doughnut's Homepage  Reply with Quote
Seems to happen to me all the time <
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 19 April 2005 :  12:42:21  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
worked like a charm. Thanks alot!
<

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 20 April 2005 :  07:03:55  Show Profile  Reply with Quote
quote:
Originally posted by tribaliztic

worked like a charm. Thanks alot!



Your welcome :^).<

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

Massimo
Junior Member

Italy
125 Posts

Posted - 10 June 2005 :  11:47:50  Show Profile  Visit Massimo's Homepage  Reply with Quote
Italian mods 16/10/2004

http://www.superdeejay.net/guida_forumxp/tempo_risposte_full.asp<

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


Edited by - Massimo on 10 June 2005 11:52:03
Go to Top of Page

musicaroma
Starting Member

19 Posts

Posted - 30 August 2005 :  09:28:00  Show Profile  Visit musicaroma's Homepage  Send musicaroma an ICQ Message  Reply with Quote
I tried this mod exactely but when i go to edit a topic to set the time limit it gives me this error:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[TCX][MyODBC]Unknown column 'F_EDIT_TIME' in 'field list'

/forum/post.asp, line 461


this is the post.asp page
strSql = "SELECT F_SUBJECT, F_URL, F_PRIVATEFORUMS, F_PASSWORD_NEW, F_EDIT_TIME," & _
"F_DEFAULTDAYS, F_COUNT_M_POSTS, F_SUBSCRIPTION, F_MODERATION, F_DESCRIPTION " & _
" FROM " & strTablePrefix & "FORUM " & _
" WHERE FORUM_ID = " & strRqForumId

(line 461) set rs = my_Conn.Execute (strSql)



i dont use access but mysql



why?
<

Please, use an easy english!
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 30 August 2005 :  09:57:00  Show Profile  Reply with Quote
Did you run the dbs file for this mod as per the readme?

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Glisborg
Starting Member

9 Posts

Posted - 19 February 2006 :  16:39:09  Show Profile  Reply with Quote
I get this error when I try to edit a post now:
Microsoft VBScript runtime error '800a005e'

Invalid use of Null: 'split'

/Forum/post.asp, line 278

What is wrong????<
Go to Top of Page

Glisborg
Starting Member

9 Posts

Posted - 19 February 2006 :  16:43:45  Show Profile  Reply with Quote
It seems like this error only comes in forums that has no limit set.<
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 20 February 2006 :  08:15:08  Show Profile  Reply with Quote
quote:
Originally posted by cripto9t

Try this Doughnut
change this line, its just above line 304
if (rs.EOF or rs.BOF) or trim(rs("F_EDIT_TIME")) = "" then

to this
if (rs.EOF or rs.BOF) or (trim(rs("F_EDIT_TIME")) = "") or (isNull(rs("F_EDIT_TIME"))) then

Probably have to do the same for delete.




This should fix it. There are two places in post.asp with this line that need to be changed.
oops, 1 place in post.asp and 1 place in pop_delete.asp.
I'm sorry I thought I fixed the zip.<

    _-/Cripto9t\-_

Edited by - cripto9t on 20 February 2006 09:00:34
Go to Top of Page
Page: of 6 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000 Version 3.4.07