IPGate 2.4.4 RC3 Updated 7-4-2007

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/64986?pagenum=1
05 November 2025, 06:50

Topic


gpctexas
IPGate 2.4.4 RC3 Updated 7-4-2007
14 June 2007, 20:51


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 smilesmilecool *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
<

 

Replies ...


Etymon
14 June 2007, 23:51


Thank you ... as always! smile<
modifichicci
17 June 2007, 14:14


Ok it seems working, but ...
where is used strIPGateTyp (there was an incongruence between strIPGateTyp and strIPGateType..) variable that is inserted by dbs in config_new? It was used in inc_ipgate in previous versions , is it useful or we can delete it?<
gpctexas
17 June 2007, 21:18


Im thinking it might have been a typo will look through and make sure.<
gpctexas
17 June 2007, 21:31


I think you can safely remove it. I dont see it used anywhere anymore. That variable was ported into strIPGatelog which now can be set as 0, 1, 2 which is the different logging levels. Before strIPGatelog and strIPGateTyp both referenced logging from the original author, in this release I merged them to keep my sanity.<
modifichicci
18 June 2007, 15:22


ok thank you!!<
gpctexas
01 July 2007, 17:56


Updated to RC2
If you have issues where banned users are not logged in any version, RC2 should solve it.<
Desmomax
17 January 2008, 10:43


Hallo,
i have ipgate 2.4.4 June 2007 installed in my forum
www.ilbraccoitaliano.net/myforum
and i have inserted the include as you suggest in readme file:

<!--#INCLUDE FILE="inc_ipgate.asp"-->

to the very bottom of inc_header.asp right after the %>

should look like
%>
<!--#INCLUDE FILE="inc_ipgate.asp"-->

if i do so the mod doesnt work, if i insert the include at the top, just after :
<!--#INCLUDE FILE="inc_func_common.asp" -->
it works...
moreover i have an error message coming pretty often, the error message is:

Errore di run-time di Microsoft VBScript error '800a01fb'

Si è verificata un'eccezione: 'rs.Open'

/myforum/inc_ipgate.asp, line 89


could you please help me? this error disappear if i update the page, i have no idea what kind of message is.. the strange thing is that this error came out after 6 months i have installed your mod..
many thanx
<
gpctexas
17 January 2008, 16:51


Can you copy and paste the ipgate forum variables from the forum variable page?
Also the error shown might indicate a corrupt mdac install. What db are you using?<
Desmomax
18 January 2008, 09:23


mysql 5.0
where can i found ipgate variables you need?
i try to reinstall the mdac...
may i also know where is the correct include position in inc_header?
thanx
<
Desmomax
18 January 2008, 10:14


i updated the driver but the error still come:
Errore di run-time di Microsoft VBScript error '800a01fb'

Si è verificata un'eccezione: 'rs.Open'

/myforum/inc_ipgate.asp, line 89

<
Desmomax
18 January 2008, 10:25


here is my config.asp

link removed for security reasons<
modifichicci
18 January 2008, 12:31


Its better you delete your data from the string connection..<
gpctexas
18 January 2008, 13:30


There is a link in your admin settings that will show you your forum variables.
<
Desmomax
21 January 2008, 09:22


is this that you need? (in meanwhile the error appers lots of time during the day...)


NOTA: La seguente tabella mostra i valori di differenti variabili usate dal Forum. /myforum/STRIPGATEBAN 1
/myforum/STRIPGATELCK 0
/myforum/STRIPGATECOK 1
/myforum/STRIPGATEMET 0
/myforum/STRIPGATEMSG Sei stato bannato da questo Forum! /myforum/STRIPGATELKMSG Il Forum è attualmente chiuso
/myforum/STRIPGATENOACMSG L'accesso alla pagina richiesta ti e' stato disabilitato
/myforum/STRIPGATEWARNMSG You are not allowed access to the page requested. /myforum/STRIPGATEVER 2.4.4
/myforum/STRIPGATELOG 2
/myforum/STRIPGATETYP 0
/myforum/STRIPGATEEXP 7
/myforum/STRIPGATECSS 0
/myforum/STRIPGATECTR 1
/myforum/STRIPGATESHOWRECS 10
/myforum/STRIPGATEAUTOCLEAN 7<
gpctexas
21 January 2008, 15:00


yeah but only needed the STRIPGATE*** ones. The variable I was looking for is there.
You might wanna edit your reply and remove everything but STRIPGATE**** variables.<
Desmomax
22 January 2008, 03:51


ok... i did
any idea? i still receive the same error.. <
gpctexas
22 January 2008, 14:09


There is a possibility that it is related to the STRIPGATEAUTOCLEAN variable. There have been problems in the past with date format.
Date not in the format of mon day year I have seen cause problems<
Desmomax
22 January 2008, 14:36


thanx.. how can i see if you are right? i try to set it off.. <
Desmomax
23 January 2008, 08:46


now the log is off, but this morning i received this error:

Errore di run-time di Microsoft VBScript error '800a01fb'

Si è verificata un'eccezione: 'rs1.Open'

/myforum/inc_ipgate.asp, line 96


i really need help :(
<
gpctexas
23 January 2008, 19:58


I not quite sure where to go, have you checked any other mods that you are using? I looked at the error code on google and it points towards a few things
1. object not being created
2. server problem
3. some code somewhere closing the db object.<
Desmomax
25 January 2008, 04:07


yes, i checked.. but the error is always with your mod... :(
<
gpctexas
25 January 2008, 16:52


I am getting different line numbers on what you sent,
first you had error at
Si è verificata un'eccezione: 'rs.Open'

/myforum/inc_ipgate.asp, line 89

and last error you sent the error was at
Si è verificata un'eccezione: 'rs1.Open'

/myforum/inc_ipgate.asp, line 96

Your errors are moving around line numbers

Please zip and email me txt versions of
inc_header.asp
config.asp ==> remove connection string
inc_ipgate.asp
<
Desmomax
28 January 2008, 11:24


many thanx
is coming<
Desmomax
31 January 2008, 04:23


Did you receive my files? any news? many thanx.. i really appreciate<
Desmomax
31 January 2008, 05:26


This morning i received 15 times the error:
Errore di run-time di Microsoft VBScript error '800a01fb'

Si è verificata un'eccezione: 'rs1.Open'

/myforum/inc_ipgate.asp, line 96

:(
<
gpctexas
01 February 2008, 15:08


I have them and I'm looking at a couple changes. I got a project at work dumped on me with 5 days left to make it work.<
gpctexas
01 February 2008, 15:16


Check your mail for a message from me<
Desmomax
04 February 2008, 10:50


MANY THANX
i uploaded your files.. no error until now.. <
Desmomax
07 February 2008, 08:57


After two day testing.. i received twice only this error:

Errore di run-time di Microsoft VBScript error '800a01fb'

Si è verificata un'eccezione: 'my_Conn.Open'

/myforum/inc_header.asp, line 135


any idea? many thanx
<
gpctexas
07 February 2008, 16:02


that is unrelated to the ipgate mod. I changed ipgates object variables and sent you the files to eliminate any possible conflicts with ipgate and any other mods. I suspect that you have a mod misbehaving before the inc_ipgate.asp. You will need to sort through your code and see what mod or code is killing your objects.<
Desmomax
11 February 2008, 04:00


I am not enought expert to do it... :(
<
golfmann
11 February 2008, 12:11


I have a question... On my log files, even though a member is logged in, on the post_info.asp page it keeps saying it' s a guest (with the same IP):

Member: Guest
Log Record: #150840
IP Address: 75.121.99.136
Date Visited: 02/11/2008 11:55:12
Page Visited: post_info.asp


??? smile<
gpctexas
11 February 2008, 19:32


Originally posted by golfmann
I have a question... On my log files, even though a member is logged in, on the post_info.asp page it keeps saying it' s a guest (with the same IP):

Member: Guest
Log Record: #150840
IP Address: 75.121.99.136
Date Visited: 02/11/2008 11:55:12
Page Visited: post_info.asp


??? smile

I have seen that when inc_ipgate.asp wasnt at the bottom of inc_header.asp But it been a while. I waould have to try and reproduce it to figure it out.<
golfmann
12 February 2008, 19:03


It's not a biggie, just kind of wierd...
While I'm on the subject, it would be "nice" to be able to ignore admins on the logs. a LOT of the log and database hits are of me as admin...
I know I'm there and where I go. Seems kind of a waste of resources and bandwidth loading the log pages showing admin activity.
Could that "If mlev>" code be added inside for the drop down choices? You could have off, banned/watched, everybody less admins, or everybody. tongue
Again, not a biggie, and I like your mod very much!
Thanks for all your work on it over the years!
John<
speddy
16 May 2008, 06:19


the first time I installed IPgate all works fine, but now at the second installation I can't save my IPGate configuration settings. It always went back to: Banning off , Logging Users off ect.
Please help<
gpctexas
16 May 2008, 09:04


check the edits for config.asp make aure all the edits are there.
Originally posted by speddy
the first time I installed IPgate all works fine, but now at the second installation I can't save my IPGate configuration settings. It always went back to: Banning off , Logging Users off ect.
Please help
<
speddy
19 May 2008, 03:10


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<
Carefree
19 May 2008, 03:17


That sounds like your database didn't take the dbs file.<
speddy
19 May 2008, 03:24


Any idea how to fix that?<
gpctexas
19 May 2008, 15:34


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
02 June 2008, 16:30


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?<
Todd
10 August 2008, 12: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<
gpctexas
11 August 2008, 00:29


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.<
Carefree
11 August 2008, 03:22


"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.
Code:

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
<
Todd
12 August 2008, 21:55


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.<
Andy Humm
06 September 2008, 04:04


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<
HuwR
06 September 2008, 04:34


you need to do something like chkDate(DateAdd("d",(-1*StrIpgateExp), date())," ",true)<
Andy Humm
06 September 2008, 11:41


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
06 September 2008, 12:06


oops sorry, I completely missed a bit out. should have been


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


<
Andy Humm
06 September 2008, 12:26


Thanks Huwr all okay, just changed the true to false to hide the hrs:min:secs<
HuwR
06 September 2008, 13:06


cool smile<
© 2000-2021 Snitz™ Communications