Viktor's Supportboard (https://www.v-gn.de/wbb/index.php)
- Support (https://www.v-gn.de/wbb/board.php?boardid=6)
-- Hack & Addon Support (wBB2.3.x) (https://www.v-gn.de/wbb/board.php?boardid=71)
--- IP to Country (https://www.v-gn.de/wbb/thread.php?threadid=2566)
Geschrieben von Viktor am 04.09.2012 um 19:41:
|
Zitat: Original von Dragonheart
Hi,
bis jetzt kamen keine Fehler mehr im Log. Danke dir, scheint zu kalppen.
Ahso wann sollte man ip_einlesen.php wieder ausführen? Ist V 1.2 noch aktuell, finde hier nix weiter. |
|
|
Hallo,
schön das es klappt und ich habe es hier im Board auch geändert.
Jo das einlesen neuer IP's sollte man schon ab und zu machen.
Es werden fast täglich die IP's geändert.
Die V1.2 ist noch aktuell.
Gruß
Viktor
Geschrieben von Dragonheart am 04.09.2012 um 21:03:
Hi,
oki
werde ich machen.
Geschrieben von dl6uhu am 07.09.2013 um 15:21:
Hallo zusammen,
habe heute den Hack VGIPLand-IPv4-IPv6 in mein Forum eingebaut.
Setup-Routine funktionierte einwandfrei. Leider erhalte ich beim Aufruf der WiW eine weisse Seite. Bin etwas ratlos.
Viele Grüße
René
(dl6uhu)
Geschrieben von Viktor am 07.09.2013 um 18:53:
|
Zitat: Original von dl6uhu
Hallo zusammen,
habe heute den Hack VGIPLand-IPv4-IPv6 in mein Forum eingebaut.
Setup-Routine funktionierte einwandfrei. Leider erhalte ich beim Aufruf der WiW eine weisse Seite. Bin etwas ratlos.
Viele Grüße
René
(dl6uhu) |
|
|
Hallo,
vielleicht einen Einbaufehler.
Hänge doch mal deine Datei "wiw.php" hier an dann schaue ich mal.
Gruß
Viktor
Geschrieben von dl6uhu am 07.09.2013 um 19:10:
Hallo Viktor,
das ist total nett...
Hab zwar auch schon mehrmal drüber geschaut, aber manchmal ist man auch betriebsblind.
Viele Grüße
René
(dl6uhu)
Geschrieben von Viktor am 07.09.2013 um 19:18:
Hallo,
versuche es mal mit der Datei im Anhang.
Die Datei "/acp/lib/vgipland_function.inc.php" ist auch vorhanden.
Gruß
Viktor
Geschrieben von dl6uhu am 08.09.2013 um 11:51:
Hallo Viktor,
zuächst noch einmal vielen Dank für deine schnelle Hilfe. Leider ging es mit der angehängten Daten auch nicht ohne Fehler. Habe anschließend noch einmal den Einbau bezüglich der wiw.php neu gemacht und nun geht's (fast).
Habe allerdings noch einen Fehler im Template. Vielleicht kannst du mir da bei gelegenheit auch noch einen Tipp geben.
|
|
|
|
Zitat: <?xml version="1.0" encoding="{$lang->items['LANG_GLOBAL_ENCODING']}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{$lang->items['LANG_GLOBAL_DIRECTION']}" lang="{$lang->items['LANG_GLOBAL_LANGCODE']}" xml:lang="{$lang->items['LANG_GLOBAL_LANGCODE']}">
<head>
<title>$master_board_name | {$lang->items['LANG_WIW_TITLE']}</title>
$headinclude
<if($wiw_autorefresh > 0)><then><meta http-equiv="refresh" content="$wiw_autorefresh; url=wiw.php?sortby=$_GET[sortby]&order=$_GET[order]<if($wbbuserdata['us
erid'])><then>{$SID_ARG_2ND}</then></if>" /></then></if>
</head>
<body>
$header
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tablea"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tablea_fc">
<td align="left"><span class="smallfont"><b><a href="index.php<if($wbbuserdata['userid'])><then>{$SID_ARG_1ST}</then></if>
">$master_board_name</a> » {$lang->items['LANG_WIW_TITLE']}</b></span></td>
<td align="right"><span class="smallfont"><b>$usercbar</b></span></td>
</tr>
</table></td>
</tr>
</table><br />
<form method="get" action="wiw.php">
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td align="center" class="tabletitle"><span class="smallfont"><b>{$lang->items['LANG_WIW_USERNAME']}</b></span></td>
<if($wbbuserdata['a_can_view_ipaddress']==1)>
<then>
<td class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_WIW_IPADDRESS']}</b></span></td>
<td class="tabletitle"><span class="smallfont"><b>{$lang->items['LANG_WIW_USERAGENT']}</b></span></td>
</then>
<else>
<td class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_WIW_IPADDRESS_LAND']}</b></span></
td>
</else>
</if>
<td align="center" class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_WIW_LASTACTIVITY']}</b></span></td
>
<td align="center" class="tabletitle"><span class="smallfont"><b>{$lang->items['LANG_WIW_REQUEST_URI']}</b></span></td>
</tr>
<if($useronline_bit!="")><then>
<tr>
<td class="tablecat" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>6</then><else>4
</else></if>"><span class="smallfont"><b>$onlineuser User online</b></span></td>
</tr>
$useronline_bit
</then></if>
<if($guestonline_bit!="")><then>
<tr>
<td class="tablecat" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>6</then><else>4
</else></if>"><span class="smallfont"><b>$onlineguest $lang_guest_title online</b></span></td>
</tr>
$guestonline_bit
</then></if>
<if($botonline_bit!="")><then>
<tr>
<td class="tablecat" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>6</then><else>4
</else></if>"><span class="smallfont"><b>$onlinebots $lang_bot_title online</b></span></td>
</tr>
$botonline_bit
</then></if>
<tr>
<td class="tablea" align="center" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>5</then><else>4
</else></if>"><span class="normalfont">{$lang->items['LANG_WIW_SORTOPTIONS']}
<input src="{$style['imagefolder']}/go.gif" type="image" />
<input type="hidden" name="sid" value="$session[hash]" />
</span></td>
</tr>
</table>
</form>
$footer
</body>
</html> |
|
|
|
|
|
Viele Grüße
René
Geschrieben von Bone Dragon am 08.09.2013 um 14:23:
Kleiner Hinweis für dich:
Bitte Codestellen entweder mittels Buttons (Für PHP-Code:
, Für anderen Code:
) einfügen oder als Anhang (zip-Format) anhängen.
Wobei die Methode mittels Anhang bei Grossen Code-Blöcken zu bevorzugen ist.
Versuche mal bitte diesen Code:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
|
<?xml version="1.0" encoding="{$lang->items['LANG_GLOBAL_ENCODING']}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{$lang->items['LANG_GLOBAL_DIRECTION']}" lang="{$lang->items['LANG_GLOBAL_LANGCODE']}" xml:lang="{$lang->items['LANG_GLOBAL_LANGCODE']}">
<head>
<title>$master_board_name | {$lang->items['LANG_WIW_TITLE']}</title>
$headinclude
<if($wiw_autorefresh > 0)><then><meta http-equiv="refresh" content="$wiw_autorefresh; url=wiw.php?sortby=$_GET[sortby]&order=$_GET[order]<if($wbbuserdata['us
erid'])><then>{$SID_ARG_2ND}</then></if>" /></then></if>
</head>
<body>
$header
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tablea"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tablea_fc">
<td align="left"><span class="smallfont"><b><a href="index.php<if($wbbuserdata['userid'])><then>{$SID_ARG_1ST}</then></if>
">$master_board_name</a> » {$lang->items['LANG_WIW_TITLE']}</b></span></td>
<td align="right"><span class="smallfont"><b>$usercbar</b></span></td>
</tr>
</table></td>
</tr>
</table><br />
<form method="get" action="wiw.php">
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td align="center" class="tabletitle"><span class="smallfont"><b>{$lang->items['LANG_WIW_USERNAME']}</b></span></td>
<if($wbbuserdata['a_can_view_ipaddress']==1)>
<then>
<td colspan="2" class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_WIW_IPADDRESS']}</b></span></td>
<td class="tabletitle"><span class="smallfont"><b>{$lang->items['LANG_WIW_USERAGENT']}</b></span></td>
</then>
<else>
<td class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_WIW_IPADDRESS_LAND']}</b></span></
td>
</else>
</if>
<td align="center" class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_WIW_LASTACTIVITY']}</b></span></td
>
<td align="center" class="tabletitle"><span class="smallfont"><b>{$lang->items['LANG_WIW_REQUEST_URI']}</b></span></td>
</tr>
<if($useronline_bit!="")><then>
<tr>
<td class="tablecat" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>6</then><else>4
</else></if>"><span class="smallfont"><b>$onlineuser User online</b></span></td>
</tr>
$useronline_bit
</then></if>
<if($guestonline_bit!="")><then>
<tr>
<td class="tablecat" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>6</then><else>4
</else></if>"><span class="smallfont"><b>$onlineguest $lang_guest_title online</b></span></td>
</tr>
$guestonline_bit
</then></if>
<if($botonline_bit!="")><then>
<tr>
<td class="tablecat" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>6</then><else>4
</else></if>"><span class="smallfont"><b>$onlinebots $lang_bot_title online</b></span></td>
</tr>
$botonline_bit
</then></if>
<tr>
<td class="tablea" align="center" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>6</then><else>4
</else></if>"><span class="normalfont">{$lang->items['LANG_WIW_SORTOPTIONS']}
<input src="{$style['imagefolder']}/go.gif" type="image" />
<input type="hidden" name="sid" value="$session[hash]" />
</span></td>
</tr>
</table>
</form>
$footer
</body>
</html> |
|
Geschrieben von dl6uhu am 08.09.2013 um 16:36:
Hallo Bone Dragon,
das sieht schon viel besser aus - vielen Dank.
Würde allerdings noch ganz gern die horizontale Reihe der Flaggen verschwinden lassen.
Viele Grüße
René
Geschrieben von Bone Dragon am 08.09.2013 um 16:44:
Also so sehe ich in dem Code nun nichts.
Häng mir mal bitte alle wiw-templates an.
Geschrieben von dl6uhu am 08.09.2013 um 20:50:
Hallo Bone Dragon,
habe noch mal alle WIW-Templates durchsucht und den Störenfried ausgemacht. In der wiw_userbit.tpl war Kudelmuddel drin.
Nun läuft alles zu vollsten Zufriedenheit.
Vielen Dank nochmals
Viele Grüße
René
(dl6uhu)
Geschrieben von golf3look am 14.10.2013 um 18:48:
Vielen dank dafür. Klappt ohne probs.
Geschrieben von Tappi am 01.04.2019 um 23:26:
*puuuuuuuuuuuust*
https://www.v-gn.de/wbb/filebase.php?fileid=12&lim=10
Habe den ja auch vor Urzeiten runtergeladen, in einem Board ist er noch verbaut.
Wollte anfragen ob ich den so ohne weiteres einbauen kann, oder ob das Teil angepasst werden muss wegen PHP7 ??
Habe bei mir auf der Platte:
wBB23_IP_Land_V1.0.zip
wBB23_IP_Land_Update_V10_V11.zip
und wBB23_VGIPLand_IPv4_IPv6.zip laut der Anleitung ist dies IP-Land V2.0 also sind quasi die anderen beiden eh schon "veraltet"
Sucher ergab:
ipv6 - ip-to-country
Also muss erst das obere installiert werden und dann die "V2.0"
Also Frage, wobei ich mal davon ausgehe, muss des angepasst werden?
Geschrieben von Tappi am 02.04.2019 um 20:50:
Super ich danke dir ---->
Da du von PHP7 jetzt nichts geschrieben hast, gehe ich davon aus ... das läuft da auch
Geschrieben von Viktor am 02.04.2019 um 20:56:
|
Zitat: Original von Tappi
Super ich danke dir ---->
Da du von PHP7 jetzt nichts geschrieben hast, gehe ich davon aus ... das läuft da auch
|
|
|
Hallo,
da es hier unter PHP 7 läuft sollte es klappen.
Gruß
Viktor
Geschrieben von Tappi am 02.04.2019 um 20:59:
Forensoftware: Burning Board 2.3.6, entwickelt von WoltLab® GmbH