Author |
Topic |
cripto9t
Average Member
USA
881 Posts |
Posted - 26 January 2005 : 13:16:05
|
This mod allows Administrators and Forum Moderators to set Edit and/or Delete time limits for normal users posts.
Features:
- On/Off for Edit and Delete in "Admin Options".
- Individual forum time limits, set in forum properties (edit/create forum).
- Time limits can be set in either minutes, hours or days.
- Time limits do not apply to Administrators or Forum Moderators.
Note: This mod depends on forum time which can be adjusted in "Admin Options". If the forum time is adjusted, it will screw-up the time limits for all prior posts.
Download: Right Click and Save Demo: Here - Use the test forum, it's set for 2 minutes. The other forums are no limit.< |
_-/Cripto9t\-_ |
Edited by - cripto9t on 26 January 2005 15:19:09 |
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 26 January 2005 : 14:15:02
|
I thought/think someone has done this MOD before.
If it has been done or not dont really matter. Nice MOD and well done.< |
De Priofundus Calmo Ad Te Damine |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 26 January 2005 : 15:15:54
|
quote: Originally posted by PeeWee.Inc
I thought/think someone has done this MOD before.
If it has been done or not dont really matter. Nice MOD and well done.
Thanks PeeWee. This is the only one I've been able to find http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=39699 . I'm not sure how it works but the link to the Time Limit part is broken. I think it's an across the board time limit though.
I posted some code earlier that I can't seem to find with search, that had an across the board time limit also. That code is what I built this mod around. < |
_-/Cripto9t\-_ |
|
|
nsukz
Starting Member
20 Posts |
Posted - 13 February 2005 : 17:32:33
|
According to cripto9t, we have to edit 7 asp files, i did exactly he said but still couldnt work out. Can anybdy help me by sending all the edited 7 asp files in my email nsukz@hotmail.co.uk. I will be very grateful.< |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 14 February 2005 : 09:36:44
|
quote: Originally posted by nsukz
According to cripto9t, we have to edit 7 asp files, i did exactly he said but still couldnt work out. Can anybdy help me by sending all the edited 7 asp files in my email nsukz@hotmail.co.uk. I will be very grateful.
nsukz, the edits are marked in the sample files. Just search for "edit time" in each file to find the changes. Also I have the line numbers listed in the head notes of each file.
What sort of problem are you having?< |
_-/Cripto9t\-_ |
|
|
rabufo
Junior Member
Italy
328 Posts |
Posted - 14 February 2005 : 14:31:11
|
quote:
Demo: Here
sorry for the off topic cripto9t....any way to get the very good weblog you've there??< |
|
|
nsukz
Starting Member
20 Posts |
Posted - 14 February 2005 : 16:55:30
|
Now im getting this error.
Your strDBType is not set, please edit your config.asp to reflect your database type.
but i referred to my config.sys 'strDBType = "sqlserver" strDBType = "access" 'strDBType = "mysql" < |
|
|
rasure
Junior Member
289 Posts |
|
nsukz
Starting Member
20 Posts |
Posted - 15 February 2005 : 03:48:40
|
I edited by my self using the refrence of the config.sys inside the zip file.< |
|
|
nsukz
Starting Member
20 Posts |
Posted - 15 February 2005 : 06:50:40
|
This is my config.sys
...< |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 15 February 2005 : 08:26:18
|
nsukz, those changes look alright and shouldn't have caused that error. It sounds like the connection to your database got off somehow. You can probably get more help for that error in this forum http://forum.snitz.com/forum/forum.asp?FORUM_ID=111 .
If you made a backup copy of config.asp , you could go back to it. I'm sorry I couldn't be of more help.
< |
_-/Cripto9t\-_ |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 15 February 2005 : 09:26:27
|
quote: Originally posted by rabufo
sorry for the off topic cripto9t....any way to get the very good weblog you've there??
As you can probably tell by looking at the head, they arn't quite finished . I got burned out and quit on them.
I used CSS for the display and back when I made them I was only useing Internet Explorer, so they look like crap in Netscape.
But if you ignore the display, everything else works , but I'm sure there are still some minor bugs.
They are basically another forum, useing the "topics" and "reply" tables. If I remember right the only database upgrade is for the "links" (I used OneWayMules' "links manager" as a model). The calender is one I found on the net and modified a little and the archives I did from scratch.
I think I noted all the changes needed for the basic Snitz files. So if you would like the code, I can probably get them together and e-mail to you.
< |
_-/Cripto9t\-_ |
|
|
nsukz
Starting Member
20 Posts |
Posted - 15 February 2005 : 10:32:55
|
its done. it works now. Thanks cripto9t. Now to give edit/delete limit i went to forum properties and theres a option of mins,hrs, days or no limit. So if i put 10 minute, does this mean that users can edit or delete the topic withing 10 minutes time and after that users cannot. < |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 15 February 2005 : 12:22:07
|
quote: Originally posted by nsukz
its done. it works now. Thanks cripto9t.
I'm glad you got it working .
quote: Originally posted by nsukz
So if i put 10 minute, does this mean that users can edit or delete the topic withing 10 minutes time and after that users cannot.
That's right. The time is based on your database server time which can be adjusted in "Admin Options".
You will have to edit each forum to set a time limit. e.g. each forum has a separate time limit. Default is no limit.
If you have any problems/questions let me know, o.k.
< |
_-/Cripto9t\-_ |
|
|
rabufo
Junior Member
Italy
328 Posts |
Posted - 16 February 2005 : 04:12:51
|
quote:
I think I noted all the changes needed for the basic Snitz files. So if you would like the code, I can probably get them together and e-mail to you.
thank you cripto, you're very kind I'd like to install the weblogs section only (I really like the way you organize it and how it looks) without calendar, links and other mods', so I think it'll be easier to implement it. If you want, you can send files to rabufo@libero.it
Thank you very much in advance....< |
|
|
nsukz
Starting Member
20 Posts |
Posted - 27 March 2005 : 15:26:30
|
I managed to implement edit time limit by the guides of cripto9t, but now administrator cannot delete the users, im getting this error message
"Microsoft JET Database Engine error '80040e37'
The Microsoft Jet database engine cannot find the input table or query 'FORUM_PM'. Make sure it exists and that its name is spelled correctly.
/snitz/pop_delete.asp, line 654" < |
|
|
Topic |
|