Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 IPGate 2.4.4 RC3 Updated 7-4-2007

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
gpctexas Posted - 14 June 2007 : 20:51:24
changelog:
RC2 to RC3 July 4th
autoclean issue fixed

RC1 to RC2 status
*Banned users are now logged once more
*couple admin_ipgate.asp tweaks to ban dates
*dbs files fixed (I hope I got them all)
*logs have the ability to clean themselves after set amount of time (Yay!)
*various admin page tweaks
*Various CaSE SensItivE Fixes
*bug in inc_ipgate with cookies fixed
*Proxies-Shaggy may have fixed this one, his code is in use in inc_ipgate.asp
*Date issue using European date format fixed

no db changes between 2.3.4 to 2.44

Download at
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=194
or
http://www.gpctexas.net/ipgate_v244.zip

Features/Improvements
-Paginated Logs

-Ban by username, ipaddress, and ipaddress subnet

-You can ban by either means above. If you decide to use a browser cookie, a cookie will be placed on the users computer which flags them by their status. If that user switches names or ip address, the cookie flags them and bans them. If their ip address or username is different, a new ban record is inserted to auto ban the new username and ip address. At this time, no on off switch available for the new auto ban feature.

-You can add a list of banned pages that all users whos status is set to blocked access, can not access.

-Cookies will expire based on the end date you specify when you ban someone. Once a cookie is on their machine they are flagged until the cookie expires. A cookie expire option has been added to help alieviate accidental range bans. Remember to expire a cookie for a week before deleting a ban.

-You can log all ips or only those specified to watch in the database.

-Admin ban prevention improved

-Works with Access, MS SQL, and My SQL


Support for mod should be asked in the mod implementation forum.
Always test mod on a test copy of forum before implenting it live.
Remember to backup your files/db before upgrading
<
15   L A T E S T    R E P L I E S    (Newest First)
HuwR Posted - 06 September 2008 : 13:06:25
cool <
Andy Humm Posted - 06 September 2008 : 12:26:38
Thanks Huwr all okay, just changed the true to false to hide the hrs:min:secs<
HuwR Posted - 06 September 2008 : 12:06:01
oops sorry, I completely missed a bit out. should have been


chkDate(DateToStr(DateAdd("d",(-1*StrIpgateExp), date()))," ",true)


<
Andy Humm Posted - 06 September 2008 : 11:41:20
Huwr, I did try that initially but got the following error:
Microsoft runtime error 800a000d
Type mismatch: [string: 9/'
/forum/inc_func_common.asp, line 870


inc_func_common.asp line 870 in red:
case "dmmmy"
chkDate = Mid(fDate,7,2) & " " & _
Monthname(Mid(fDate,5,2),0) & " " & _
Mid(fDate,1,4)



I don't know whether the date display within the <%= %> has anything to with the error

This is the line of code I am working with:
<td width="503" align="left" valign="baseline" <%=forumtable%>> <%= forumfont%>Records older than <%=DateAdd("d",(-1*StrIpgateExp), date())%> will be cleared<%= endfont %></td>
Thank you Andy
Edit: admin_ipgate.asp text link added<
HuwR Posted - 06 September 2008 : 04:34:39
you need to do something like chkDate(DateAdd("d",(-1*StrIpgateExp), date())," ",true)<
Andy Humm Posted - 06 September 2008 : 04:04:32
Reading through this thread, there are slight indications of the way date format may have caused problems and it has been fixed. On the pages displayed the date format is in dd/mm/yyyy 06/09/2008 and I was wondering if we could format the way the date displays to being it inline with the rest of the forum dates ie 06 Sept 2008
There is a date string <%=DateAdd("d",(-1*StrIpgateExp), date())%>
I have tried surrounding the date() and whole string with ChkDate but can not get the dates to display the same as the rest of the forum. Any assistance to resolve date display issue, would be appreciated<
Todd Posted - 12 August 2008 : 21:55:48
Thanks to both of you, gpctexas and Carefree. I'll give this a shot shortly and post my results. I'm not in a coding mood tonight but I will get back. Your help is appreciated.<
Carefree Posted - 11 August 2008 : 03:22:32
"inc_header_short.asp" retrieves the user name from cookies, also. To preclude someone not signed in from using this to bypass security, you can insert a login redirect similar to that in "inc_header.asp". If you put this just past the chkcookie routine, it should solve that.


if strRequireReg = "1" and strDBNTUserName = "" then
	if not Instr(strScriptName,"register.asp") > 0 and _
	not Instr(strScriptName,"password.asp") > 0 and _
	not Instr(strScriptName,"rules.asp") > 0 and _
	not Instr(strScriptName,"login.asp") > 0 and _
		scriptname = split(request.servervariables("SCRIPT_NAME"),"/")
		if Request.QueryString <> "" then
			Response.Redirect("login.asp?target=" & lcase(scriptname(ubound(scriptname))) & "?" & Request.QueryString)
		else
			Response.Redirect("login.asp?target=" & lcase(scriptname(ubound(scriptname))))
		end if
	end if
end if
<
gpctexas Posted - 11 August 2008 : 00:29:22
I believe the smaller pop up windows uses a different header, inc_header_short.asp, i think. You'd have to add inc_ipgate.asp to it as well however it isn't tested and may not work there. Somethings I can think of would be the username in the logs would show guest or 0.<
Todd Posted - 10 August 2008 : 12:17:17
Great mod. I've installed it and all seems to be working real well with one exception that I've found. I'm the admin plus I have a regular user account. I've used that regular user account to test all the features against. All of the pages I've added to the block list for that user get blocked with the exception of pop up windows. One important one is the email user window which pops up.

I notice the link which launches that email popup window is a simple short java command, such as; javascript:openWindow('pop_mail.asp?id=1148')

The ones that get blocked successfully are full urls, such as; http://www.tycoforums.com/tyco/forum/privatesend.asp?method=Topic&mname=SomeUser

Did I do something wrong or does the code not account for this, or possibly not able to account for this?

I also just noted that the access to that page not being blocked is also not being logged.

Thanks,

Todd<
speddy Posted - 02 June 2008 : 16:30:48
Thanks that was the problem. But now i got problems with my Danish code page. My aa was written as å and my oe as ø
Anybody knows where to change it?<
gpctexas Posted - 19 May 2008 : 15:34:12
These are in the wrong area of config.asp
StrIPGateBan = Application(strCookieURL & "STRIPGATEBAN")
StrIPGateLck = Application(strCookieURL & "STRIPGATELCK")
StrIPGateCok = Application(strCookieURL & "STRIPGATECOK")
StrIPGateMet = Application(strCookieURL & "STRIPGATEMET")
StrIPGateMsg = Application(strCookieURL & "STRIPGATEMSG")
StrIPGateLog = Application(strCookieURL & "STRIPGATELOG")
StrIPGateExp = Application(strCookieURL & "STRIPGATEEXP")
StrIPGateCss = Application(strCookieURL & "STRIPGATECSS")
strIPGateVer = Application(strCookieURL & "STRIPGATEVER")
StrIPGateLkMsg = Application(strCookieURL & "STRIPGATELKMSG")
strIPGateNoAcMsg = Application(strCookieURL & "STRIPGATENOACMSG")
StrIPGateWarnMsg = Application(strCookieURL & "STRIPGATEWARNMSG")
strIPGateshowrecs = Application(strCookieURL & "STRIPGATESHOWRECS")
strIPGateAutoClean = Application(strCookieURL & "STRIPGATEAUTOCLEAN")

they should be in the same section as the other "APPLICATION" variables.

also
Dim StrIPGateBan ,StrIPGateLck ,StrIPGateCok ,StrIPGateMet ,StrIPGateMsg ,StrIPGateLog ,StrIPGateExp, StrIPGateCss, strIPGateVer, StrIPGateLkMsg, strIPGateNoAcMsg, StrIPGateWarnMsg, strIPGateshowrecs, strIPGateAutoClean

is also in the wrong area, they should be in the same section as the other dims<
speddy Posted - 19 May 2008 : 03:24:42
Any idea how to fix that?<
Carefree Posted - 19 May 2008 : 03:17:13
That sounds like your database didn't take the dbs file.<
speddy Posted - 19 May 2008 : 03:10:03
I have checked my config.asp but can't se any error or missing lines.

my config.asp http://www.tago.dk/Tanganyika/config.htm<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07