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)
 Forum time range operativity
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

MAP
New Member

Italy
50 Posts

Posted - 24 August 2002 :  15:23:58  Show Profile  Visit MAP's Homepage
Hello...
A question regarding security of the forum.
Does exists a Mod usable to decide at what time the forum is available or not?

For example:
Is it possible set the forum to be operative only from 8.00 AM to 02.00 AM?

This could be usefull to let at the administrator and moderators more possibility to check "on line" eventual illegal operations against the forum, also. My point of view is that often hackers and similars make their intervents when the forum activity is very low (in the night or early in the morning).

I hope that this personal suggestion could be useful.


MAP

dayve
Forum Moderator

USA
5820 Posts

Posted - 24 August 2002 :  18:09:18  Show Profile  Visit dayve's Homepage
in your inc_header.asp you can take advantage of how down.asp is used. find this:


if Application("down") then
if not Instr(strScriptName,"admin_") > 0 then
Response.redirect("down.asp")
end if
end if


and change it to this:


dim downHour
downHour = hour(ChkTime(DateToStr(strForumTimeAdjust)))



if Application("down") OR (downHour >= 2 AND downHour <= 8) then
if not Instr(strScriptName,"admin_") > 0 then
Response.redirect("down.asp")
end if
end if


this is just off the top of my head, I have not tested this at all.

Go to Top of Page

MAP
New Member

Italy
50 Posts

Posted - 25 August 2002 :  05:26:43  Show Profile  Visit MAP's Homepage
Oh dayve! Many thanks.
This add will be very usefull for me and I hope for others, too.

Have a nice day.


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