Statistik |
Beiträge: 144.505 (Täglich: 19,21 )
Themen: 16.699
Mitglieder: 13.209
Neuestes Mitglied: zitronentee.
Ausl. d. letzten Minute: 151%
Ausl. d. letzten 5 Minuten: 209%
Ausl. d. letzten 15 Minuten: 210%
Aktulle Uhrzeit: 06:37
Freier Webspace: 4.09 TB
PHP-Version: 7.4.33
|
|
|
Supportthread für Wiw-Plus |
|
hallo Viktor,
yapp, danke ... das klappt prima ... nur eine kleinigkeit noch ...
im wiw wird nun als aufenthaltsort des mitglieds "LANG_WIW_PORTAL" angezeigt.
was ich ich wo ändern damit dort zb. "Ist auf der Startseite" oder "ist im Portal" angezeigt wird?
liebe grüße
TieU
|
|
29.03.2006 10:02 |
|
|
janolaf
wBB2-User
Zeige janolaf auf Karte
Dabei seit: 23.05.2004
Beiträge: 1.918
2 Filebase-Einträge
Alter: 59 Jahre
Herkunft: nahe bei Kölle wBB-Version: wBB2.3 PHP-Version: 5.2.6 MySQL-Version: 5.0.26 Wo bist du gehostet?: selbst ist der Mann
Bewertung:
Level: 52 [?]
Erfahrungspunkte: 13.885.244
Nächster Level: 16.259.327
|
|
hallo TieU ,
geh ins
--> acp
--> sprachvariable erstellen
bei --> Kategorie: wählst du aus --> wiw
bei --> Sprachvariable: schreibst du rein --> LANG_WIW_PORTAL
bei --> Textinhalt: schreibst du rein --> ist im portal (oder was auch immer dann angezeigt werden soll)
gruß janolaf
__________________ wenn du total verliebt in zwei glänzende augen schaust, vergewissere dich ,
ob es nicht nur die sonne ist, die durch den hohlen schädel scheint.
|
|
29.03.2006 10:50 |
|
|
|
hallo janolaf,
herzlichen dank! ... das hat wunderbar geklappt! ...
liebe grüße
TieU
|
|
29.03.2006 11:59 |
|
|
|
Wer sich die gesperrten User im WIW anzeigen lassen will (manchmal ganz hilfreich), kann folgende Änderungen machen:
Öffne wiw.php
Suche:
php: |
1:
|
$result = $db->query("SELECT s.*, u.username, u.invisible, u.useronlinegroupid, |
|
Füge nach u.invisible, folgendes ein: u.blocked, (Das Komma bitte nicht vergessen !!!)
Suche im Abschnitt
php: |
1:
|
// User-Erkennung Anfang |
|
folgendes:
php: |
1:
|
$location = $row['location']; |
|
und füge darüber ein:
php: |
1:
2:
|
$blockedimg = '';
if($row['blocked']==1) $blockedimg = " <img src=\"images/blocked.gif\" alt=\"User ist gesperrt\" title =\"User ist gesperrt\" />"; |
|
Suche:
php: |
1:
2:
3:
|
$bot_yn=0;
$guest_yn=0;
} |
|
und füge über der geschweiften Klammer folgendes ein:
php: |
1:
|
$blockedimg = ''; |
|
Jetzt speichern und hochladen.
Jetzt ins ACP gehen und das Template wiw_userbit zum editieren öffnen.
Jetzt gibt es 2 Möglichkeiten:
a) alle können das Symbol sehen
b) nur diejenigen, die auch die IP sehen können, sehen das Symbol
Version a)
Suche:
Füge direkt danach ein:
Speichern, Fertig
Version b)
Suche:
Füge direkt danach ein:
code: |
1:
|
<if($wbbuserdata['a_can_view_ipaddress']==1)><then>$blockedimg</then></if> |
|
Speichern, Fertig
Jetzt noch die Grafik in den Ordner /images auf den Server laden und es sollte alles klappen.
Diese Anzeige funzt nur bei gesperrten Usern, die sich auf dem Board befinden. Sie funzt nicht mit gesperrten IP-Adressen.
Greetz
Günni
__________________
|
|
30.03.2006 02:48 |
|
|
|
Das hat mit dem WIW nichts zu tun....
Dazu müsste man die komplette User-Online-Geschichte umbasteln
Greetz
Günni
__________________
|
|
30.03.2006 21:50 |
|
|
|
Ne, meinte nicht mit namen. *g
ich meinte nur einen counter.
so, wie es jetzt ist
Zur Zeit sind 3 Mitglieder und 2 Besucher im Forum unterwegs.
das z.b.
Zur Zeit sind 3 Mitglieder, 2 Bot`s und 2 Besucher im Forum unterwegs.
|
|
31.03.2006 19:51 |
|
|
|
Auch dafür müsste man die Useronline-Geschichte anpassen und die komplette Bot-Erkennung da reinbasteln.
Greetz
Günni
__________________
|
|
31.03.2006 20:13 |
|
|
|
Die Erweiterung mit den gesperrten Usern bezieht sich auf das WIW-Plus und nicht auf ein Standard-WIW.
Für ein Standard-WIW musst du den Code nach
php: |
1:
2:
|
eval("\$useronline .= \"".$tpl->get("wiw_userbit")."\";");
} |
|
einfügen
Greetz
Günni
__________________
|
|
06.04.2006 00:45 |
|
|
|
Jo habe ich bemerkt
Ich versuche das mal was du jetzt gesagt hast
|
|
06.04.2006 00:48 |
|
|
|
Super es funktioniert.
Vielen Dank für den schnellen Support.
|
|
06.04.2006 00:56 |
|
|
|
hallo!
Eigentlich super Hack, aber ich habe ein Problem, das im Bild verdeutlicht wird!
hier meine wiw.tpl!
Bitte ändern!
Danke!
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:
|
<?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 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>
$footer
</body>
</html> |
|
__________________
|
|
07.04.2006 15:33 |
|
|
|
Nimm mal 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:
|
<?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 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>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>
|
|
Greetz
Günni
__________________
|
|
07.04.2006 15:58 |
|
|
|
Schick mir bitte mal den Link zu deinem Forum per PN.
Und ein Testzugang wäre auch gut.
Ich brauch sowas immer visuell
Greetz
Günni
__________________
|
|
07.04.2006 23:32 |
|
|
|
hast ne PN!
__________________
|
|
08.04.2006 10:47 |
|
|
|
sorry, ich weiß du hast mit dem wm-tipper jetzt viel zu tun, aber hättest du trotzdem ein paar Minuten für mich Zeit?
Wäre wirklich super, ich will das Board jetzt nämlcih bald eröffnen, da kann es nicht schaden, wenn solche schönheitsfehler weg sind!
Vielen Dank!
NFL
__________________
|
|
10.04.2006 09:15 |
|
|
|
Sorry, hatte das etwas vergessen
Versuch mal diesen Code hier:
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:
|
<?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 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_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>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> |
|
Greetz
Günni
__________________
|
|
10.04.2006 16:55 |
|
|
|
jeah, cool, klappt 1A!
danke für den tollen hack!
__________________
|
|
10.04.2006 20:31 |
|
|
|
|
|
|