Speedrider
Danke hört man immer wieder gerne.
BlueEYES
HI!
Ist ein Super Hack er funktioniert auch.
Aber leider habe ich jetzt ein Problem mit der Beitragsanzeige und weiß derzeit nicht wo man diesen Fehler beheben kann.
wenn ich einen Beitrag öffnen will zeigt er mir den Autor und den jeweiligen Beitragsinhalt nicht mehr an.
siehe Bild unten
Vielleicht kann mir da einer helfen oder einen Tipp geben wo ich diesen Fehler beheben kann.
MFg BlueEyes
Speedrider
Hallo
Wende dich in diesem Fall an Woltlab.
Da dies nichts mit dem Hack zu tun hat.
BlueEYES
Danke für die Antwort hat sich aber schon erledigt.
Hatte mich im thread_postbit-Template vertan und somit die Fehlerhafte Anzeige verursacht.
Also Klasse Hack!
MFG BlueEyes
almac
Ich hatte vorher im wbb 2.1 den von Merides eingebaut und vermisse in dieser Version einige gute Sachen die Merides Hack konnte.
Ist denn schon eine Erneuerung deines Hack geplant?
Was wird denn neu sein?
Habe den Hack von Speedrider eingebaut, der läuft auch sehr gut,
dafür danke für diese gute Arbeit.
Dennoch wäre es super wenn einiges noch dazu kommt!
Speedrider
Poste es doch einfach als Verbesserungsvorschlag.
Und danke für das Lob.
brotmaschine
@BlueEYES: was genau hast du denn verändern müssen?
Ich habe nämlich genau das selbe Problem und bin noch nicht fündig geworden
Ich habe das wbb 2.3.2 installiert und die Anzeige mit den offline und online ist da jetzt wohl nicht mehr per Grafik sondern per Text.
Jetzt seh ich nicht mehr durch und hab natürlich die orginal abgespeicherte versehentlich überschrieben mit ner anderen...
Hat jemand das Orginaltemplate zur "thread_postbit.tpl"?
@Speedrider: wie muß ich das da jetz einfügen?
Speedrider
In der 2.3.2 hat sich nichts geändert.
Der Quelltext hat sich an denn zu änderen stellen nicht geändert.
Dirk17
Wann kommt endlich die neue Version raus?
Speedrider
Wie oben schon erwähnt. ENDE MAI.
PS:
Wann kommt sie?
Wenn sie fertig ist.
brotmaschine
ich habe es hinbekommen.
nach 3maligen durchsuchen
Der Code ist an dieser Stelle etwas unübersichtlich was die schöne if-then Schleife betrifft und ich habe immer aus der ersten Schleife das /then /if mit weggelöscht.
Im Anhang mal das Orginaltemplate des wbb 2.3.2 incl. der Abwesenheitsänderung (ohne andere Hacks)
Speedrider
An dieser Stelle, musst du dich bei woltab beschwären.
Ich kann leider nichts machen das der code dort so arg durcheinander ist.
Del Piero
Ich habe mit der Usercp.tpl probleme da die schon bearbeitet ist. würde mich freuen wenn mir jemand das Bearbeiten könnte
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:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
|
<?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_USERCP_TITLE']}</title>
$headinclude
</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_USERCP_TITLE']}</b></span></td>
<td align="right"><span class="smallfont"><b>$usercbar</b></span></td>
</tr>
</table></td>
</tr>
</table><br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle" colspan="3" align="left"><span class="normalfont"><b>{$lang->items['LANG_USERCP_OVERVIEW']}</b></span></td>
</tr>
<tr align="center">
<td class="tablea" style="width:33%">
<a href="usercp.php?action=profile_edit{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_profile_edit.gif" border="0" alt="{$lang->items['LANG_USERCP_PROFILE_EDIT']}" title="{$lang->items['LANG_USERCP_PROFILE_EDIT']} - {$lang->items['LANG_USERCP_PROFILE_EDIT_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usercp.php?action=profile_edit{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_PROFILE_EDIT']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_PROFILE_EDIT_DESC']}</span></td>
<td class="tableb" style="width:33%">
<a href="usercp.php?action=signature_edit{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_signature_edit.gif" border="0" alt="{$lang->items['LANG_USERCP_SIGNATURE_EDIT']}" title="{$lang->items['LANG_USERCP_SIGNATURE_EDIT']} - {$lang->items['LANG_USERCP_SIGNATURE_EDIT_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usercp.php?action=signature_edit{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_SIGNATURE_EDIT']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_SIGNATURE_EDIT_DESC']}</span></td>
<td class="tablea" style="width:33%">
<a href="usercp.php?action=options_change{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_options_change.gif" border="0" alt="{$lang->items['LANG_USERCP_OPTIONS_CHANGE']}" title="{$lang->items['LANG_USERCP_OPTIONS_CHANGE']} - {$lang->items['LANG_USERCP_OPTIONS_CHANGE_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usercp.php?action=options_change{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_OPTIONS_CHANGE']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_OPTIONS_CHANGE_DESC']}</span></td>
</tr>
<tr align="center">
<td class="tableb" style="width:33%">
<a href="usercp.php?action=password_change{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_password_change.gif" border="0" alt="{$lang->items['LANG_USERCP_PASSWORD_CHANGE']}" title="{$lang->items['LANG_USERCP_PASSWORD_CHANGE']} - {$lang->items['LANG_USERCP_PASSWORD_CHANGE_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usercp.php?action=password_change{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_PASSWORD_CHANGE']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_PASSWORD_CHANGE_DESC']}</span></td>
<td class="tablea" style="width:33%">
<a href="usercp.php?action=email_change{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_email_change.gif" border="0" alt="{$lang->items['LANG_USERCP_EMAIL_CHANGE']}" title="{$lang->items['LANG_USERCP_EMAIL_CHANGE']} - {$lang->items['LANG_USERCP_EMAIL_CHANGE_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usercp.php?action=email_change{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_EMAIL_CHANGE']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_EMAIL_CHANGE_DESC']}</span></td>
<td class="tableb" style="width:33%">
<a href="usercp.php?action=buddy_list{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_buddy_list.gif" border="0" alt="{$lang->items['LANG_USERCP_BUDDY_LIST']}" title="{$lang->items['LANG_USERCP_BUDDY_LIST']} - {$lang->items['LANG_USERCP_BUDDY_LIST_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usercp.php?action=buddy_list{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_BUDDY_LIST']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_BUDDY_LIST_DESC']}</span></td>
</tr>
<tr align="center">
<td class="tablea" style="width:33%">
<a href="usercp.php?action=ignore_list{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_ignore_list.gif" border="0" alt="{$lang->items['LANG_USERCP_IGNORE_LIST']}" title="{$lang->items['LANG_USERCP_IGNORE_LIST']} - {$lang->items['LANG_USERCP_IGNORE_LIST_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usercp.php?action=ignore_list{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_IGNORE_LIST']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_IGNORE_LIST_DESC']}</span></td>
<td class="tableb" style="width:33%">
<a href="usercp.php?action=favorites{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_favorites.gif" border="0" alt="{$lang->items['LANG_USERCP_FAVORITES']}" title="{$lang->items['LANG_USERCP_FAVORITES']} - {$lang->items['LANG_USERCP_FAVORITES_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usercp.php?action=favorites{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_FAVORITES']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_FAVORITES_DESC']}</span></td>
<td class="tablea" style="width:33%">
<a href="usercp.php?action=avatars{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_avatars.gif" border="0" alt="{$lang->items['LANG_USERCP_AVATARS']}" title="{$lang->items['LANG_USERCP_AVATARS']} - {$lang->items['LANG_USERCP_AVATARS_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usercp.php?action=avatars{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_AVATARS']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_AVATARS_DESC']}</span></td>
</tr>
<tr align="center">
<td class="tableb" style="width:33%">
<a href="pms.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/usercp_pm.gif" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']} - {$lang->items['LANG_USERCP_PMS_DESC']}" /></a><br />
<span class="normalfont"><b><a href="pms.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_PMS']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_PMS_DESC']}</span></td>
<td class="tablea" style="width:33%">
<a href="usercp.php?action=attachments{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_attachments.gif" border="0" alt="{$lang->items['LANG_USERCP_ATTACHMENTS']}" title="{$lang->items['LANG_USERCP_ATTACHMENTS']} - {$lang->items['LANG_USERCP_ATTACHMENTS_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usercp.php?action=attachments{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_ATTACHMENTS']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_ATTACHMENTS_DESC']}</span></td>
<td class="tableb" style="width:33%">
<a href="usergroups.php?action=groups{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_usergroups.gif" border="0" alt="{$lang->items['LANG_USERCP_USERGROUPS']}" title="{$lang->items['LANG_USERCP_USERGROUPS']} - {$lang->items['LANG_USERCP_USERGROUPS_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usergroups.php?action=groups{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_USERGROUPS']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_USERGROUPS_DESC']}</span></td>
</tr>
<if($wbbuserdata['isgroupleader']==1||$wbbads[0]!=0)>
<then>
<tr align="center">
<if($wbbuserdata['isgroupleader']==1&&$wbbads[0]==0)><then>
<td class="tablea" style="width:33%">
<a href="usergroups.php?action=groupleaders{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_groupleader.gif" border="0" alt="{$lang->items['LANG_USERCP_GROUPLEADER']}" title="{$lang->items['LANG_USERCP_GROUPLEADER']} - {$lang->items['LANG_USERCP_GROUPLEADER_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usergroups.php?action=groupleaders{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_GROUPLEADER']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_GROUPLEADER_DESC']}</span>
</td>
<td class="tableb" style="width:33%"> </td>
<td class="tablea" style="width:33%"> </td>
</then>
<else>
<if($wbbuserdata['isgroupleader']==1&&$wbbads[0]!=0)><then>
<td class="tablea" style="width:33%">
<a href="usergroups.php?action=groupleaders{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_groupleader.gif" border="0" alt="{$lang->items['LANG_USERCP_GROUPLEADER']}" title="{$lang->items['LANG_USERCP_GROUPLEADER']} - {$lang->items['LANG_USERCP_GROUPLEADER_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usergroups.php?action=groupleaders{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_GROUPLEADER']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_GROUPLEADER_DESC']}</span>
</td>
<td class="tableb" style="width:33%">
<a href="usercp.php?action=wbbads{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_usergroups.gif" border="0" alt="{$lang->items['LANG_USERCP_USERGROUPS']}" title="{$lang->items['LANG_USERCP_USERGROUPS']} - {$lang->items['LANG_USERCP_USERGROUPS_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usercp.php?action=wbbads{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_WBBADS']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_WBBADS_DESC']}</span>
</td>
<td class="tablea" style="width:33%"> </td>
</then>
<else>
<if($wbbuserdata['isgroupleader']==0&&$wbbads[0]!=0)><then>
<td class="tablea" style="width:33%">
<a href="usercp.php?action=wbbads{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_usergroups.gif" border="0" alt="{$lang->items['LANG_USERCP_USERGROUPS']}" title="{$lang->items['LANG_USERCP_USERGROUPS']} - {$lang->items['LANG_USERCP_USERGROUPS_DESC']}" /></a><br />
<span class="normalfont"><b><a href="usercp.php?action=wbbads{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_WBBADS']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_WBBADS_DESC']}</span>
</td>
<td class="tableb" style="width:33%"> </td>
<td class="tablea" style="width:33%"> </td>
</tr>
</then>
</if>
</else>
</if>
</else>
</if>
</then>
</if>
</table>
$footer
</body>
</html>
|
|
Speedrider
Mir fehlt leider derzeit die Zeit, um es dir zu machen.
Aber Vergleich doch einfach mal die orig. mit meinem Code durch das das du siehst was ich geändert habe wirst du das bestimmt auch hinbekommen.
PS: V2.2 dauert länger als geplant.
Fragt nicht wann sie kommt, ich weiß es selbst nicht da ich nicht jeden Tag in meinem Ferien Coden möchte und ich noch nebenbei ein Cms Programmiere.
zeitter1
HuHu aber ich habe hier ein großes prob !
ich bekomme folgende meldung seitdem ich denn hack eingebaut habe
"Parse error: parse error in /srv/www/htdocs/web92/html/wbb2/thread.php(345) : eval()'d code on line 28
Parse error: parse error in /srv/www/htdocs/web92/html/wbb2/thread.php(345) : eval()'d code on line 28
Parse error: parse error in /srv/www/htdocs/web92/html/wbb2/thread.php(345) : eval()'d code on line 28"
-> erledigt !!! supper support hier !!! danke !
Speedrider
Es ist nichts in der php Datei falsch.
Sondern in der tpl namens thread_postbit.
Der fehler befindet sich in zeile 28.
zeitter1
Suppa danke das war ein boses <if> was da hinsollte xD war aber net warscheinlich geloscht von mir xD aber super support hier !!!
viel erfolg !
Und schones wochenende xD !
Speedrider
Danke wünsch ich dir auch.
streetracer04
Das ist nen klasse Hack! Danke, Speedrider![IMG]http://www.y******.info/images/y******_blue/icons/icon13.gi
f[/IMG][IMG]http://www.y******.info/images/y******_blue/icons/icon13.gif[/I
MG]
Aber eine Frage hab ich noch - was habe ich falsch gemacht, wenn die abwesenden Mitglieder über der Useronline-Statistik stehen und die mit einem viel zu dickem, schwarzen Strich von den Foren abgetrennt werden?
Sag mir mal, welche Datei(en) und/oder Template(s) das sein könnten, dann häng ich die an
THXy[IMG]http://www.y******.info/images/y******_blue/icons/icon13.gif[/IMG]
Speedrider
Das ist die tpl index. Dein fehler ist das du denn Code von mir obendrüber von der Useronlineanzeige eingefügt hast.
Deswegen auch der Dicke strich.