Author |
Topic |
|
Maxime
Average Member
France
521 Posts |
Posted - 22 November 2014 : 04:26:15
|
Hello,
I'm looking for a way to change IP for countries in the display of the country because for me it is Saudi Arabia, while I am in France, which is registered each time when I change things in my profile. If someone could create a page for it that would be nice.
Mod here: http://www.snitzbitz.com/mods/details.asp?Version=All&mid=335 |
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
|
Edited by - Maxime on 22 November 2014 04:36:14 |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 22 November 2014 : 14:41:00
|
What is your IP (go to "whatismyip.com" to verify)? Your forum IP address is: 178.248.213.79 - which, according to the IPtoCountry database is in France.... |
Edited by - Carefree on 22 November 2014 14:46:38 |
|
|
Maxime
Average Member
France
521 Posts |
Posted - 23 November 2014 : 03:01:11
|
Here is my ip address and if there was an administration page to correct IP database it would be good for the mod. I sent you an email with the IP address |
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 23 November 2014 : 08:14:19
|
quote: Originally posted by Maxime
I sent you an email with the IP address
I didn't get any EMail from you.
quote: if there was an administration page to correct IP database it would be good for the mod
OK, I agree with that. I'll write one. I wrote one.
Here you go:
"admin_iptocountry.asp"
|
Edited by - Carefree on 24 November 2014 17:00:47 |
|
|
Maxime
Average Member
France
521 Posts |
Posted - 26 November 2014 : 05:13:05
|
Hello Carefree,
I have this error when I put the IP: ADODB.Recordset error '800a0cc1'
Can not find the object in the collection corresponding to the name or ordinal reference requested.
/admin_iptocountry.asp, line 101
Bizarre for sending email I used for the forum and the box told me that it had been sent. |
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
|
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 26 November 2014 : 11:21:20
|
Forgot to include that change to the dbs file, it's fixed on Snitzbitz. Here's a simple fix so you don't have to re-download.
"admin_ip2c.asp"
<!--#INCLUDE FILE="config.asp"-->
<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#INCLUDE FILE="inc_header.asp" -->
<%
if Session(strCookieURL & "Approval") <> "15916941253" then
scriptname = split(request.servervariables("SCRIPT_NAME"),"/")
Response.Redirect "admin_login.asp?target=" & scriptname(ubound(scriptname))
end if
strSql = "ALTER TABLE " & strTablePrefix & "IPTOCOUNTRY ADD IPID INT IDENTITY"
my_Conn.Execute(strSql)
Response.Redirect "admin_home.asp"
%> |
|
|
Maxime
Average Member
France
521 Posts |
Posted - 15 December 2014 : 02:34:30
|
Hello Carefree, I installed your page, but there was a change of IP fields. I wish I could modier the beginning and ending IP of a country and this is not the case with the code you've written. And I always when I go to edit my profile Saudi Arabia, which is displayed instead of France. |
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
|
|
|
|
Topic |
|