Statistik |
Beiträge: 144.531 (Täglich: 19,19 )
Themen: 16.700
Mitglieder: 13.209
Neuestes Mitglied: zitronentee.
Ausl. d. letzten Minute: 220%
Ausl. d. letzten 5 Minuten: 310%
Ausl. d. letzten 15 Minuten: 314%
Aktulle Uhrzeit: 15:25
Freier Webspace: 4.04 TB
PHP-Version: 7.4.33
|
|
|
Supportthread für Wiw-Plus |
|
Jetzt hab ichs gerafft.
Im ersten Template (wiw) fehlt der else-Eintrag für den IP2Land-Eintrag.
Vergleiche bitte nochmal mit der Einbauanleitung aus der Database
Gruß Mike
|
|
01.02.2012 15:48 |
|
|
|
hm ok hatte gefehlt geht aber immer noch net
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:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
|
<?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]{$SID_ARG_2ND}" /></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{$SID_ARG_1ST}">$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="left" class="tabletitle" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>5</then><else>3</else></if>"><span class="smallfont"><b>{$lang->items['LANG_WIW_USERONLINE_TITLE']}</b></span></td>
</tr>
<td 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 class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_WIW_LASTACTIVITY']}</b></span></td>
<td class="tabletitle"><span class="smallfont"><b>{$lang->items['LANG_WIW_REQUEST_URI']}</b></span></td>
</tr>
<if($useronline!="")><then>
$useronline
</then></if>
</table><br />
<if($guestonline!="")><then>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td align="left" class="tabletitle" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>5</then><else>3</else></if>"><span class="smallfont"><b>{$lang->items['LANG_WIW_GUESTONLINE_TITLE']}</b></span></td>
</tr>
<td 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>
</if>
<td class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_WIW_LASTACTIVITY']}</b></span></td>
<td class="tabletitle"><span class="smallfont"><b>{$lang->items['LANG_WIW_REQUEST_URI']}</b></span></td>
</tr>
$guestonline
</table>
</then></if>
<br />
<if($botonline!="")><then>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td align="left" class="tabletitle" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>5</then><else>3</else></if>"><span class="smallfont"><b>{$lang->items['LANG_WIW_BOTONLINE_TITLE']}</b></span></td>
</tr>
<td 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>
</if>
<td class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_WIW_LASTACTIVITY']}</b></span></td>
<td class="tabletitle"><span class="smallfont"><b>{$lang->items['LANG_WIW_REQUEST_URI']}</b></span></td>
</tr>
$botonline
</table>
</then></if>
<br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<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> |
|
|
|
01.02.2012 16:22 |
|
|
|
Freund der Südsee...
Warum Du nicht das von mir geänderte wiw-Template übnernommen hast, wird immer ein Geheimnis bleiben. Denn nun hast Du wieder das PRoblem mit den fehlenden <tr>-Tags.
Dann sehe ich in Deinem COde, dass Du den IP2Land-Teil (die else-Schleife) nur im ersten Abschnitt eingebaut hast, nicht aber bei den Bots und Gästen.
Und zu guter Letzt könnte ich wetten, dass in der Einbauanleitung auch noch etwas darüber steht, dass in der Tabellenzeile für die Überschriften colspan zu ändern ist.
Gruß Mike
|
|
01.02.2012 17:39 |
|
|
|
|
Zitat: Original von C-Board
Freund der Südsee...
Warum Du nicht das von mir geänderte wiw-Template übnernommen hast, wird immer ein Geheimnis bleiben. Denn nun hast Du wieder das PRoblem mit den fehlenden <tr>-Tags.
Dann sehe ich in Deinem COde, dass Du den IP2Land-Teil (die else-Schleife) nur im ersten Abschnitt eingebaut hast, nicht aber bei den Bots und Gästen.
Und zu guter Letzt könnte ich wetten, dass in der Einbauanleitung auch noch etwas darüber steht, dass in der Tabellenzeile für die Überschriften colspan zu ändern ist.
Gruß Mike |
|
|
hm dachte hatte dein tpl aber bei den ganzen testen hatte ich das alte wieder drin nun ist das tpl richtig oder nicht
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:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
|
<?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]{$SID_ARG_2ND}" /></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{$SID_ARG_1ST}">$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="left" class="tabletitle" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>5</then><else>3</else></if>"><span class="smallfont"><b>{$lang->items['LANG_WIW_USERONLINE_TITLE']}</b></span></td>
</tr>
<tr>
<td 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 class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_WIW_LASTACTIVITY']}</b></span></td>
<td class="tabletitle"><span class="smallfont"><b>{$lang->items['LANG_WIW_REQUEST_URI']}</b></span></td>
</tr>
<if($useronline!="")>
<then>
$useronline
</then>
</if>
</table>
<br />
<if($guestonline!="")>
<then>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td align="left" class="tabletitle" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>5</then><else>4</else></if>"><span class="smallfont"><b>{$lang->items['LANG_WIW_GUESTONLINE_TITLE']}</b></span></td>
</tr>
<tr>
<td 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>
</if>
<td class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_WIW_LASTACTIVITY']}</b></span></td>
<td class="tabletitle"><span class="smallfont"><b>{$lang->items['LANG_WIW_REQUEST_URI']}</b></span></td>
</tr>
$guestonline
</table>
</then>
</if>
<br />
<if($botonline!="")>
<then>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td align="left" class="tabletitle" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>5</then><else>3</else></if>"><span class="smallfont"><b>{$lang->items['LANG_WIW_BOTONLINE_TITLE']}</b></span></td>
</tr>
<tr>
<td 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>
</if>
<td class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_WIW_LASTACTIVITY']}</b></span></td>
<td class="tabletitle"><span class="smallfont"><b>{$lang->items['LANG_WIW_REQUEST_URI']}</b></span></td>
</tr>
$botonline
</table>
</then>
</if>
<br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<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>
|
|
zu 2 raffe ich gerade nicht was du da meinst ??
Zu 3 allso ich sehe davon nix in der Einbauanleitung .
LG
|
|
01.02.2012 19:00 |
|
|
|
Was ist so schwer daran, den TPL-Code mal etwas konzentrierter anzuschauen?
Dann würde Dir auffallen, dass Du die else-Schleife nur einmal eingebaut hast, aber in den anderen beiden Abschnitten für Bots und Gäste eben nicht.
Schon mal in Deinem Forum WIW angesehen??? Da kann selbst ich das sehen, das die drei Abschnitte unterschiedlich sind.
Und wenn Du mal die Spalten zählst, wird Dir auffallen, dass Du mit dem Kopf der Tabellen
code: |
1:
|
<td align="left" class="tabletitle" colspan="<if($wbbuserdata['a_can_view_ipaddress']==1)><then>5</then><else>3</else></if>"><span class="smallfont"><b>{$lang->items['LANG_WIW_USERONLINE_TITLE']}</b></span></td> |
|
vermutlich nicht auskommst. Drei bei normalen Usern, obwohl ja bereits 4 Spalten angezeigt werden sollen. Das kann doch nicht ausreichen.
Gruß Mike
|
|
01.02.2012 19:13 |
|
|
|
Ich habe mir mal eben den Hack, um den es in diesem Thread geht, angeschaut.
Laut Batida soll ein ganzer Abschnitt des wiw-Templates ersetzt werden gegen 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:
|
<form method="get" action="wiw.php">
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td 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>
</if>
<td class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_WIW_LASTACTIVITY']}</b></span></td>
<td class="tabletitle"><span class="smallfont"><b>{$lang->items['LANG_WIW_REQUEST_URI']}</b></span></td>
</tr>
<if($useronline_bit!="")><then>
<tr>
<td class="tabletitle" 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="tabletitle" 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="tabletitle" 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>3</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>
|
|
Der Code laut Einbauanleitung ist total anders, als in Deinem Template.
Kann es sein, dass Du einen ganz anderen Hack verbaut hast?
Gruß Mike
|
|
01.02.2012 19:48 |
|
|
|
ich raffe immer noch nicht was ich nun genau machen soll das es richtig aussehen tut
und ich habe den hack hier aus der DB geladen
|
|
01.02.2012 20:04 |
|
|
omar
HFW™
Zeige omar auf Karte
Dabei seit: 13.07.2004
Beiträge: 452
4 Filebase-Einträge
Alter: 57 Jahre
Herkunft: Bremen wBB-Version: wBB2.3 PHP-Version: 4 - 8.2 MySQL-Version: 8Mysql+10.5.11-Maria Wo bist du gehostet?: H-F-W™
Bewertung:
Level: 43 [?]
Erfahrungspunkte: 3.253.614
Nächster Level: 3.609.430
|
|
|
27.03.2012 22:19 |
|
|
|
Diese Fehlermeldung hat nichts mit dem wiw-plus zu tun, da eine solche Abfrage dort nicht vorkommt.
Ich habe gerade mal sämtliche Dateien in meinem wwb-Ordner bei mir durchsuchen lassen und konnte die Zeichenfolge
php: |
1:
|
SELECT COUNT(postid) as newposts FROM bb |
|
nicht finden.
Das bringt mich zu der Vermutung, dass die Fehlermeldung mit einem Hack zusammenhängen muss, den ich nicht verbaut habe, aber du schon....
Wo erscheint diese Fehlermeldung denn ? Nur auf der wiw-Seite oder auf jeder Seite im Forum ?
Greetz
Günni
__________________
|
|
27.03.2012 23:49 |
|
|
|
Dann kann es schonmal nicht an der wiw.php liegen....
Denn dann würde es nur passieren, wenn die wiw.php aufgerufen wird....
Tipp: Wenn du einen guten Editor hast (ich z.B. nutze den Macromedia Dreamweaver) , dann kannst du alle Dateien in einem Ordner (inkl. Unterordner) nach bestimmten Zeichenketten durchsuchen...
Mach das mal mit der Zeichenfolge
php: |
1:
|
SELECT COUNT(postid) as newposts FROM bb |
|
Greetz
Günni
__________________
|
|
27.03.2012 23:59 |
|
|
|
Denk dann passt das Thema nicht hier her!
Glau ich bin damit zugegeben etwas überfordert
__________________ ...die Linke zum Gruß
Günni
|
|
28.03.2012 00:02 |
|
|
|
Hallo omar,
hab dich freigeschalten und A-Rechte gegeben!
__________________ ...die Linke zum Gruß
Günni
|
|
28.03.2012 09:33 |
|
|
|
|
|
|