Bannerrotation v2.1

Sould
Fehler in der Anleitung:

Befehl findet er nicht per suchfunktion in der usercp.php
falsch: if(!$wbbuserdata['userid']) access_error();
richtig: if (!$wbbuserdata['userid']) access_error();


Für die es wissen kein Problem, aber wenn es neulinge installieren haben sie nen Problem wenn die die suchfunktion nutzen mit der CTRL + F taste....

Dann könnte man noch in der Anleitung dazu schreiben, das man die Gruppenrechte in der Administrationrechte einstellen muss um die Banner zu bearbeiten.

Und es wäre nicht schlecht den code zu erwähnen den man in die gewünschte TPL einbauen soll....

Bei mir funzt es nun aber soweit nachdem ich hier mal alles durchgelesen haben smile
PyroGX
@soult
bei der 2.3.2 ging das problemlos
werde es die tage mal alles überprüfen
BrinaSophie
Hallo!

Habe den Hack vorhin eingebaut... die dateien hochgeladen.. und war alles korrekt.. da ich die setup aber noch net ausgeführt hatte, wurde noch nichts nagezeigt, aber fehler gabs trotzdem nicht.. nun hatte ich dann die setup datei ausgeführt....

seit dem ist eine farbe falsch.. wenn man die seite neu lädt sieht man noch ganz kurz die eigentliche farbe... aber dann wird die schnell mit so ner dunklen farbe ersetzt... das ist bei jeder der folgenden zeile "Foren, Beiträge, Themen, Letzter Beitrag".. wo liegt der fehler? wie bekomm ich die alte farbe wieder..
ich häng mal n bild an uum welche spalte es geht...
danke schon einmal!

[IMG]http://www.elternvilla.de/fehler.gif[/IMG]
PyroGX
dieses problem kann ich nicht nachvollziehen da die setup eigentlich nix an den templates oder designpacks ändert

was ich mir vorstellen könnte wäre das du im ordner templates noch alte templates hattest die du dann mit importiert hast und deine im ACP geänderten überschrieben hast
BrinaSophie
hmm... an welcher datei würde das denn liegen? weisst du da was?

wie gesagt.. bevor ich die setup-datei ausgeführt hab, hat noch alles funktioniert, und ich hatte heut schon mehrere hacks eingebaut und somit templates hochgeladen und gecached, aber da war alles noch ok!!! bis halt zu der setup datei des bannerrotation!!! daher kann das ja nur daran liegen eigentlich.. ging ja vorher alles verwirrt


edit: fehler behoben... wurde wohl irgendwas verändert.. war nun auf einmal wieder n cellpic drinne, was eigentlich schon ewigkeiten draussen war böse genauso wie im header.tpl auch was altes wieder hergestellt wurden ist.. wieso auch immer verwirrt
PyroGX
nur um das nochmal zu bestätigenes lag NICHT an meinem hack smile
RubStudent
Der Hack scheint wirklich klasse zu sein! Freude

Ist es möglich, daß bestimmte Sponsoren nur für bestimmte Gruppen angezeigt werden? Oder anders ausgedrückt, können bestimmte Kategorien nur für bestimmte Benutzergruppen angezeigt werden?
Bsp.: Die Gruppe Chemie bekommt nur Werbung von Chemie-Lehrern angezeigt. Wobei die Gruppe Bio davon verschont bleibt.

Vielen Dank für eure Antworten!!! smile

Viele Grüße,
RubStudent
PyroGX
direkt ist das nicht möglich
man könnte es aber evtl übers template scripting hinbekommen
RubStudent
Das hört sich gut an. smile

Hast du einen Hinweis wie es funktionieren würde?
Sould
Bei mir sieht es nun echt geil aus... schaut selbst auf www.love-board.de ganz unten Augenzwinkern
sofam
Hallo zusammen,
hab soeben alles installiert. jetzt finde ich aber nichts im acp.. an was kann das liegen? verwirrt
PyroGX
adminrechte richtig eingestellt?
sofam
Servus,
hab in Gruppen Bearbeiten --> Admin. Rechte --> Kann Banner hinzufügen/bearbeiten/entfernen? --> Ja

aber wenn ich in Usercp.php auf Bannerübersicht klicke, kommt folgendes:

Parse error: parse error, unexpected ';' in /srv/www/htdocs/web246/html/wbb2/usercp.php(1317) : eval()'d code on line 34

Parse error: parse error, unexpected ';' in /srv/www/htdocs/web246/html/wbb2/usercp.php(1317) : eval()'d code on line 34

Da stimmt doch was mit usercp.php nicht, gelle... habs jetzt div. male ausgebessert, kommt aber immer des gleiche.
Hab sie mal angehängt.

Thx
netzreiter
Hallo ich habe die Bannerrotation mit dem Code:
code:
1:
2:
3:
<td align="center"><span class="smallfont"><expression>banner()</expression></span></td>

In den Fotter eingebunden , er ist auch zu sehen , nur er liegt genau auf dem Copy auf und ich kann eintragen was ich will ich bekomme keinen abstand dazwischen.

Ich hänge die footer.tpl mal mit an , eventuell findest du ja den fehler?

THX
Sammy71
Zitat:
Original von netzreiter
Hallo ich habe die Bannerrotation mit dem Code:
code:
1:
2:
3:
<td align="center"><span class="smallfont"><expression>banner()</expression></span></td>

In den Fotter eingebunden , er ist auch zu sehen , nur er liegt genau auf dem Copy auf und ich kann eintragen was ich will ich bekomme keinen abstand dazwischen.

Ich hänge die footer.tpl mal mit an , eventuell findest du ja den fehler?

THX


dann setze danach einfach mal --> <br> dann haste eine leerzeile drinne
BlueEYES
Hi ihr!

Wollte gerade auch diesen klasse Hack einbauen und hänge gerade beim Ändern der UserCp.Tpl fest.

finde einfach nicht den Inhalt wie laut Anleitung verwirrt

Anleitung zum editieren der usercp.tpl

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
<if($wbbuserdata['isgroupleader']==1)>
  <then>
 <tr align="center">
  <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>
 </tr>
  </then>
 </if>		    



in folgendes umändern:

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:
<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>


nun finde ich aber wie gesagt nicht den teil so haargenau wie oben vorgegeben und will auch keinen fehler riskieren daher folgende Frage könnt ihr mir da weiter helfen im Anhang befindet sich meine Usercp.tpl als Textdatei.

Wäre für ne rasche Lösung dankbar damit ich das fertig bekomme. Danke!
PyroGX
Zitat:
Original von sofam
Servus,
hab in Gruppen Bearbeiten --> Admin. Rechte --> Kann Banner hinzufügen/bearbeiten/entfernen? --> Ja

aber wenn ich in Usercp.php auf Bannerübersicht klicke, kommt folgendes:

Parse error: parse error, unexpected ';' in /srv/www/htdocs/web246/html/wbb2/usercp.php(1317) : eval()'d code on line 34

Parse error: parse error, unexpected ';' in /srv/www/htdocs/web246/html/wbb2/usercp.php(1317) : eval()'d code on line 34

Da stimmt doch was mit usercp.php nicht, gelle... habs jetzt div. male ausgebessert, kommt aber immer des gleiche.
Hab sie mal angehängt.

Thx


lade bitte das template "usercp_wbbads_viewbit" nochmal neu hoch und importiere es

da scheint bei dir ein fehler drin zu sein (zeile 34)


Zitat:
Original von netzreiter
Hallo ich habe die Bannerrotation mit dem Code:
code:
1:
2:
3:
<td align="center"><span class="smallfont"><expression>banner()</expression></span></td>

In den Fotter eingebunden , er ist auch zu sehen , nur er liegt genau auf dem Copy auf und ich kann eintragen was ich will ich bekomme keinen abstand dazwischen.

Ich hänge die footer.tpl mal mit an , eventuell findest du ja den fehler?

THX


sei mir bitte nicht böser aber das is mir zu unordentlich smile

ich würde es an deiner stelle in ein extra fenster packen (mir hat woltlab auf anfrage absolut keine änderung am footer erlaubt, nichtmal das ich darüber ein einer extra zeile (gleiche tabelle) nen anderes copyright reinschreibe unglücklich also lieber aufpassen)
hier dann der geänderte 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:
<br />

<if($imprint_url != '')>
	<then>
		<p align="center" class="normalfont"><a href="{$imprint_url}">{$lang->items['LANG_GLOBAL_IMPRINT']}</a></p>
	</then>
	<else>
		<if($imprint_text != '')>
			<then>
				<p align="center" class="normalfont"><a href="misc.php?action=imprint{$SID_ARG_2ND}">{$lang->items['LANG_GLOBAL_IMPRINT']}</a></p>
			</then>
		</if>
	</else>
</if>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" align="center">
 <tr>
  <td class="tablea"><span class="smallfont"><expression>banner()</expression></span></td>
 </tr>
</table><br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" align="center">
 <tr>
  <td class="tablea"><span class="smallfont"><a href="http://www.woltlab.de" target="_blank" style="text-decoration: none">{$lang->items['LANG_GLOBAL_COPYRIGHT']}</a></span></td>
 </tr>
</table><br />
</td>
</tr>
</table>


wenn du es trotz "warnung" meiner seite gerne über dem copyright haben willst wäre der 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:
<br />

<if($imprint_url != '')>
	<then>
		<p align="center" class="normalfont"><a href="{$imprint_url}">{$lang->items['LANG_GLOBAL_IMPRINT']}</a></p>
	</then>
	<else>
		<if($imprint_text != '')>
			<then>
				<p align="center" class="normalfont"><a href="misc.php?action=imprint{$SID_ARG_2ND}">{$lang->items['LANG_GLOBAL_IMPRINT']}</a></p>
			</then>
		</if>
	</else>
</if>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" align="center">
 <tr>
  <td class="tableb"><span class="smallfont"><expression>banner()</expression></span><br /></td>
 </tr>
 <tr>
  <td class="tablea"><span class="smallfont"><a href="http://www.woltlab.de" target="_blank" style="text-decoration: none">{$lang->items['LANG_GLOBAL_COPYRIGHT']}</a></span></td>
 </tr>
</table><br />
</td>
</tr>
</table>


beides codes stammen vom orginal footer ab
dein footercode war voll mit fehlern (offene spalten und zeilen) das es einfacher war den orginalen zu nehmen smile

@BlueEYES
das du das nicht findest liegt daran das du schon den away hack eingabaut hast



888 ACHTUNG 888
das dingen ist komplett ungetestet
baue es bitte mal testweise ein und teste möglichst viele möglichkeiten durch und berichte obs so geklappt hat


leider kann ichs nicht anhänges (es öffnet sich kein fenster beim bearbeiten der dateianhänge unglücklich )

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:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
<?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> &raquo; {$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']==0 && $wbbuserdata['can_set_away_message']==0 && $wbbads[0]!=0)>
 <then>
 <tr align="center">
  <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>
 <else>
  <if($wbbuserdata['isgroupleader']==0 && $wbbuserdata['can_set_away_message']==1 && $wbbads[0]==0)>
   <then>
 <tr align="center">
  <td class="tablea" style="width:33%">  
   <a href="usercp.php?action=away{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_away.gif" border="0" alt="{$lang->items['LANG_AWAY_USERCP']}" title="{$lang->items['LANG_AWAY_USERCP']} - {$lang->items['LANG_AWAY_USERCP_DESC']}" /></a><br />
   <span class="normalfont"><b><a href="usercp.php?action=away{$SID_ARG_2ND}">{$lang->items['LANG_AWAY_USERCP']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_AWAY_USERCP_DESC']}</span>
  </td>
  <td class="tableb" style="width:33%"> </td>
  <td class="tablea" style="width:33%"> </td>
 </tr>
   </then>
   <else>
    <if($wbbuserdata['isgroupleader']==0 && $wbbuserdata['can_set_away_message']==1 && $wbbads[0]!=0)>
	 <then>
 <tr align="center">
  <td class="tablea" style="width:33%">  
   <a href="usercp.php?action=away{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_away.gif" border="0" alt="{$lang->items['LANG_AWAY_USERCP']}" title="{$lang->items['LANG_AWAY_USERCP']} - {$lang->items['LANG_AWAY_USERCP_DESC']}" /></a><br />
   <span class="normalfont"><b><a href="usercp.php?action=away{$SID_ARG_2ND}">{$lang->items['LANG_AWAY_USERCP']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_AWAY_USERCP_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>
 </tr>
	 </then>
	 <else>
	  <if($wbbuserdata['isgroupleader']==1 && $wbbuserdata['can_set_away_message']==0 && $wbbads[0]==0)>
	   <then>
 <tr align="center">
  <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>
 </tr>
	   </then>
	   <else>
	    <if($wbbuserdata['isgroupleader']==1 && $wbbuserdata['can_set_away_message']==0 && $wbbads[0]!=0)>
	     <then>
 <tr align="center">
  <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>
 </tr>
	     </then>
	     <else>
	      <if($wbbuserdata['isgroupleader']==1 && $wbbuserdata['can_set_away_message']==1 && $wbbads[0]==0)>
	       <then>
 <tr align="center">
  <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=away{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_away.gif" border="0" alt="{$lang->items['LANG_AWAY_USERCP']}" title="{$lang->items['LANG_AWAY_USERCP']} - {$lang->items['LANG_AWAY_USERCP_DESC']}" /></a><br />
   <span class="normalfont"><b><a href="usercp.php?action=away{$SID_ARG_2ND}">{$lang->items['LANG_AWAY_USERCP']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_AWAY_USERCP_DESC']}</span>
  </td>
  <td class="tablea" style="width:33%"> </td>
 </tr>
	       </then>
	       <else>
	        <if($wbbuserdata['isgroupleader']==1 && $wbbuserdata['can_set_away_message']==1 && $wbbads[0]!=0)>
	         <then>
 <tr align="center">
  <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=away{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_away.gif" border="0" alt="{$lang->items['LANG_AWAY_USERCP']}" title="{$lang->items['LANG_AWAY_USERCP']} - {$lang->items['LANG_AWAY_USERCP_DESC']}" /></a><br />
   <span class="normalfont"><b><a href="usercp.php?action=away{$SID_ARG_2ND}">{$lang->items['LANG_AWAY_USERCP']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_AWAY_USERCP_DESC']}</span>
  </td>
  <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>
 </tr>
	         </then>
	        </if>
	       </else>
	      </if>
	     </else>
	    </if>
	   </else>
	  </if>
	 </else>
	</if>
   </else>
  </if>
 </else>
</if>

</table>
$footer
</body>
</html>
Sould
Hallo ich bekomme folgenden Fehler angezeigt:

Fatal error: Call to undefined function: banner() in /home/httpd/vhosts/renaultforum.alternativprovider.de/httpdocs/global.php(4
19) : eval()'d code on line 15

Kommt immer wenn ich den befehl im footer einfüge...
nIcKi
Also drei Sachen....
Die banner werden bei mir im footer nicht angezeigt,
kann es an einem der drei Fehler liegen die bei der inst kammen?

Hab das wBB 2.3.3

Bei der Installation
.. kam der Fehler
code:
1:
Warning: fclose(): supplied argument is not a valid stream resource in /www/htdocs/v158560/board/acp/setup.php on line 199


bei der usercp.php
Konnte ich bestimmte daten nicht finden unglücklich

bei der usercp.tpl
Konnte ich bestimmte daten auch net nicht finden unglücklich

Kanns mir jemand machen?
Was hab ich falsch gemacht?
Im Anhang die Standart Dateien.

Mir fällt gerade auf das die Werbung nur da is wenn man nicht eingeloggt is, warum?
Sould
Hast du die Gruppenrechte eingestellt ?