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)
 IPGate 2.4.3 beta and 2.3
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 11

gpctexas
Junior Member

320 Posts

Posted - 05 April 2007 :  19:53:09  Show Profile  Visit gpctexas's Homepage  Reply with Quote
quote:
Originally posted by modifichicci

quote:
autoclean is used in inc_ipgate.asp in 2.4.3 in this statement:


I cannot see the statment in inc_ipgate in the zip in your sig..
Nor in my files.. Is that in a more recent version? Or my files are wrong?



Lemme look into why my pc version is different from web server version<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip

Edited by - gpctexas on 05 April 2007 19:53:32
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 05 April 2007 :  20:04:53  Show Profile  Visit gpctexas's Homepage  Reply with Quote
Here is the recent untested version. Backup old files before upgrading and test on a test forum first.
I'm unsure what bugs there are if any.

be sure to read the 2.3 to 2.34 txt file for some changes.
http://www.gpctexas.net/ipgate_v244.zip<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 05 April 2007 :  20:09:33  Show Profile  Visit gpctexas's Homepage  Reply with Quote
quote:
Originally posted by bozan74

quote:
Originally posted by gpctexas

This is the function in question with the error happening with Response.Cookies(trim(cookiename)).Expires = cookiedate
with the cookiedate causing the error

sub writethecookie (cookietype, cookiedate)
if strIPGateCok = 1 then
Response.Cookies(trim(cookiename))=cookietype
Response.Cookies(trim(cookiename)).Expires = cookiedate
end if

end sub


I have no way to test, but please try to change in inc_ipgate.asp
Response.Cookies(trim(cookiename)).Expires = cookiedate

to

Response.Cookies(trim(cookiename)).Expires = chkString(cookiedate,"SQLString")




Uhm... I've made the change, but the result is always the same:

Type mismatch: 'Response.Cookies(...).Expires'





Im currently building a debug page for you to gather some information that ipgate uses. DO not change anything with your forum, Im am using current files.<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip

Edited by - gpctexas on 05 April 2007 20:13:06
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 05 April 2007 :  20:50:23  Show Profile  Visit gpctexas's Homepage  Reply with Quote
locate
sub writethecookie (cookietype, cookiedate)
if strIPGateCok = 1 then
Response.Cookies(trim(cookiename))=cookietype
Response.Cookies(trim(cookiename)).Expires = cookiedate
end if

end sub
replace with
sub writethecookie (cookietype, cookiedate)
if mlev >=3 then
%>
<p>CookieType=<%=cookietype%><br>
CookieDate=<%=cookiedate%><br>
CookieName=<%=cookiename%><br>
</p>
<%
end if

if strIPGateCok = 1 then
Response.Cookies(trim(cookiename))=cookietype
Response.Cookies(trim(cookiename)).Expires = cookiedate
end if

end sub


When it errors, give me the 3 items on the screen relating to the cookie information.<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

bozan74
Starting Member

11 Posts

Posted - 06 April 2007 :  02:46:16  Show Profile  Reply with Quote
Ok this is the message:

CookieType=Banned
CookieDate=06 May 2007 00:00:00
CookieName=IPGate

I've found this on another forum:

http://www.thescripts.com/forum/thread51179.html

(perhaps may help you?)

<
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 06 April 2007 :  19:54:47  Show Profile  Visit gpctexas's Homepage  Reply with Quote
The date getting passed to the cookie is not the right format
should be Month day, year or it is not like the time at the end of the date.

I will check on a work around
<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip

Edited by - gpctexas on 06 April 2007 20:06:36
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 06 April 2007 :  20:09:50  Show Profile  Visit gpctexas's Homepage  Reply with Quote
try

in inc_ipgate.asp
locate
call writethecookie ("Banned", ChkDate(rs1("IPLIST_ENDDATE"), " " ,true))
replace with
call writethecookie ("Banned", ChkDate(rs1("IPLIST_ENDDATE"), " " ,false))

locate

call writethecookie ("Watched", ChkDate(rs1("IPLIST_ENDDATE"), " " ,true))
replace with
call writethecookie ("Watched", ChkDate(rs1("IPLIST_ENDDATE"), " " ,false))

locate

call writethecookie ("Blocked", ChkDate(rs1("IPLIST_ENDDATE"), " " ,true))
replace with
call writethecookie ("Blocked", ChkDate(rs1("IPLIST_ENDDATE"), " " ,false))
<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

bozan74
Starting Member

11 Posts

Posted - 07 April 2007 :  04:39:15  Show Profile  Reply with Quote
I've done these change, but the problem remain:

Type mismatch: 'Response.Cookies(...).Expires'

<

Edited by - bozan74 on 07 April 2007 04:40:03
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 07 April 2007 :  16:28:30  Show Profile  Visit gpctexas's Homepage  Reply with Quote
then it is a the date format then, undo the previous test and I will dig somemore.<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 07 April 2007 :  17:25:42  Show Profile  Visit gpctexas's Homepage  Reply with Quote
I will eventually find this :)
try

in inc_ipgate.asp
locate
call writethecookie ("Banned", ChkDate(rs1("IPLIST_ENDDATE"), " " ,true))
replace with
call writethecookie ("Banned", StrToDate(rs1("IPLIST_ENDDATE")))

locate

call writethecookie ("Watched", ChkDate(rs1("IPLIST_ENDDATE"), " " ,true))
replace with
call writethecookie ("Watched", StrToDate(rs1("IPLIST_ENDDATE")))

locate

call writethecookie ("Blocked", ChkDate(rs1("IPLIST_ENDDATE"), " " ,true))
replace with
call writethecookie ("Blocked", StrToDate(rs1("IPLIST_ENDDATE")))
<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

bozan74
Starting Member

11 Posts

Posted - 08 April 2007 :  04:49:23  Show Profile  Reply with Quote
No more error message!

But, i have a question: when a user connect to the forum, and don't log-in, there is always this message in the top of the homepage:

Message: Your or another persons activity is being logged

Why does it appear? is there a way to make it disappear?<

Edited by - bozan74 on 08 April 2007 05:38:29
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 08 April 2007 :  14:52:26  Show Profile  Visit gpctexas's Homepage  Reply with Quote
Change your cookie name near the top of inc_ipgate.asp and see if it clears up. also while you are there,
locate
useautoban = 1
change to
useautoban = 0
That setting whem set to 1 would generate the message if someone closely match an ip and automatically add them into the db.

Also see if anyone is setup as "watched" in admin_ipgate.asp


If that doesn't work, you can remove the section in inc_ipgate.asp
locate
case "watched"
%>
<table border="0" width="100%" id="table1" style="border-collapse: collapse">
<tr>
<td align="center" <% if strIPGateCss = 1 then response.write(forumcss) else response.write(forumnocss) end if %>>
<% if strIPGateCss = 0 then response.write(fontnocss)%>
<b>Message: <%=StrIPGateWarnMsg%></b>
<% if strIPGatecCss = 0 then response.write ("</font>") %>
</td>
</tr>
</table>
<%
and remove it<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip

Edited by - gpctexas on 08 April 2007 14:59:26
Go to Top of Page

Desmomax
New Member

55 Posts

Posted - 15 April 2007 :  13:39:09  Show Profile  Reply with Quote
Hallo gpctexas!
hope you can help me as well...
i have installed your IPGate 2.4.3 Beta 2, i received an email from a user that every time he try to enter the result is this error:

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

Tipo non corrispondente: '[string: "15, 192.168.200.15, "]'

/myforum/inc_ipgate.asp, line 377

the error line of inc_ipgate is:
num = Int(Mid(DottedIP, PrevPos + 1, pos - PrevPos - 1))


Looks like some problem with his Ip , i receive many other visit (around 200 each day) without any problem..

many thanx

Massimiliano
<


Il forum

Edited by - Desmomax on 15 April 2007 13:41:58
Go to Top of Page

palmdoc
Starting Member

23 Posts

Posted - 15 April 2008 :  20:58:52  Show Profile  Visit palmdoc's Homepage  Reply with Quote
Hi has anyone experienced a problem with IPGate whereby Registration activation email does not go out to the user? I notice after installing IPGate that users do not get the email (I tested this myself). Otherwise forum email (subscriptions, lost password) works.
<
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 16 April 2008 :  20:09:52  Show Profile  Visit gpctexas's Homepage  Reply with Quote
make sure you edited config.asp and the inc_header.asp right. Check and make sure you didnt accidently delete varaible etc from config.asp when adding ipgate vars. IPGate does not interfere with any of the email functions<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page
Page: of 11 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.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07