Jim B
Problembeschreibung:
Ich möchte mein Forum von Grund auf neu installieren, da ich etliche Hacks ein und ausgebaut hab (zuletzt ein Lexikon von wbb-help) und mitlerweile Fehler entstanden sind, die ich einfach nicht mehr lösen kann (z.B. Grafikfehler im Bereich "Forum"). Ich möchte jetzt ein Backup von dem Foruminhalt machen, so wie es ist, alles formatieren und neu installieren und dann den ganzen Inhalt wieder drauf kopieren. Ich hab nur Schiss, daß ich das ganze Forum lösche.

Gibt es da Möglichkeiten?
Fehlermeldung:
Link zum Forum oder Screenshot:
www.leanbodies.de
EDIT: Ich sehe gerade, dass es die Funktion "Datenbank sichern" gibt. Jetzt gibt es die Möglichkeit "Struktur und Daten" zusätzlich "Mit »DROP TABLE«" wählbar, oder: "Nur Daten" zusätzlich "it »DELETE ALL« (Nicht bei Kommandozeilenaufruf)" wählbar. Was muss ich wählen, damit ich die Daten, so wie sie sind, wieder ins Forum bekomme? Sind denn auch wirklich alle Daten wieder da, wie User, Forenaufteilung, Beiträge, usw?
Gruß Jim
Biggi
Um ein Backup der Datenbank zu machen, empfhele ich dir
MySQLDumper.
Die Funktion im ACP ist nicht empfehlenswert, meiner Ansicht nach.
So ein Datenbankbackup solltest du übrigens öfter mal machen. Je nach Aktivität im Board sogar täglich.
Aber um dein Board hackfrei zu kriegen, brauchst du keins.
Dazu spielst du einfach die originalen Dateien per FTP über deine veränderten drüber (confic.inc.php und options.inc.php dabei unberührt lassen) und importierst im ACP den Standardstyle.
Reste von Hacks, die in der Datenbank verbleiben, stören in der Regel nicht.
Jim B
Das Problem ist, ich habe das Lexikon von wbb-help installiert, und eigentlich gar keine Änderungen, außer die Installation an sich vorgenommen, totzdem habe ich diesen Grafikfehler auf der Index.php.
EDIT: Wird mit dem MySQLDumper das komplette Forum, so wie es ist gespeichert und wieder hergestellt? Oder werden nur die Inhalte, also Texte, sowie User usw. gespeichert?
Hamsterinfos
mit dem MSQLdumper machste ein komplettes Dantenbank Backup
Also Alles was da drinne ist
*Nicole*
Wer von euch kann ein Backup wieder hochladen?
Also ich hab ein forum wo im Moment seit installationen, und änderungen nur fehler.
und ich komme auch im Moment net in mein Forum rein, da angeblich meine Index.php net stimmt. aber ich hab da erstends nix geändert, und 2. hab ich sogar die original php wieder hoch geladen, aber auch da geht nix. Jetzt wollte ich mein Backup was ich habe hochladen.
aber ich kann es net.
Wer könnte es für mich machen?
Jim B
Noch mal zu meiner ersten Frage: Ist es denn möglich, nur die Beiträge, User usw. zu speichern, das Forum neu zu installieren und dann die Daten wieder draufzuspielen?
Biggi
Im Datenbankbackup wird nur die Datenbank gespeichert. Also User, Beiträge, Themen...
Das hat absolut nichts mit den Dateien und dem FTP zu tun!
Es reicht wirklich, wenn du per FTP alle Dateien, außer config.inc.php und options.inc.php, austauschst gegen die originalen, um dein Board hackfrei zu kriegen, dabei aber User, Themen, Beiträge... zu behalten.
Aber wenn du unbedingt vorher die Datenbank sichern und nachher wieder einspielen willst, was keinen Unterschied dazu macht, sie einfach so zu lassen wie sie ist, machst du das eben am besten mit dem MySQLDumper.
@ *Nicole*:
Was kommt bei dir denn für eine Fehlermeldung?
Vielleicht kann man was retten, ohne gleich ein Backup wieder einzuspielen.
Und ansonsten empfehle ich auch dir den MySQLDumper.
*Nicole*
Parse error: syntax error, unexpected T_STRING in /home/www/web641/html/index.php(235) : eval()'d code on line 77
Das ist die Fehlermeldung die bei mir kommt.
Hab ich aber auch schon hier
Wegen der gruppen_Legende gepostet.
Ich würde mich freuen, wenn mir jemand schnell helfen kann.
Da ich mein Forum brauche, und es mir wichtig ist, das es wieder geht.
Den mysqldumper habe ich, aber ich komme damit net zurecht, und ein backup hochladen kann ich net
Biggi
Der Fehler liegt, wie ich es mir dachte, nicht in der index.php.
Die Fehlermeldung besagt, daß in Zeile 235 der index.php ein Template aufgerufen wird.
In der originalen index.php steht in Zeile 235 das hier:
| code: |
1:
|
eval("\$tpl->output(\"".$tpl->get("index")."\");"); |
|
$tpl->get("index") bedeutet, daß dort das Template index geholt wird.
Der Fehler liegt also im Template index in Zeile 77.
Du kommst ja noch ins ACP über
http://www.plappermause-welt.de/acp/.
Ruf das mal auf, geh auf Templates bearbeiten, suche da das Template index und poste es mal hier mit den Code-Tags [IMG]http://your-wbb.de/images/port-dark/bbcode_code.gif[/IMG] drumrum.
Was den MySQLDumper angeht:
Die haben da ein super Supportforum dabei! Wenn du mit dem Dumper nicht klarkommst, wird dir da sicher geholfen.
Aber wo genau ist denn dein Problem, das Backup wieder einzuspielen?
Hast du es mit dem Dumper gemacht? Wenn ja, mußt du doch nur im Dumper auf "Wiederherstellung" klicken, dort dein Backup markieren und oben auf den Button "wiederherstellen" klicken.
Aber mach das mal noch nicht! Erstmal schauen wir uns mal dein Template an. Wahrscheinlich ist das gar nichts Dolles.
Jim B
| Zitat: |
Original von Biggi74
Im Datenbankbackup wird nur die Datenbank gespeichert. Also User, Beiträge, Themen...
Das hat absolut nichts mit den Dateien und dem FTP zu tun!
Es reicht wirklich, wenn du per FTP alle Dateien, außer config.inc.php und options.inc.php, austauschst gegen die originalen, um dein Board hackfrei zu kriegen, dabei aber User, Themen, Beiträge... zu behalten.
Aber wenn du unbedingt vorher die Datenbank sichern und nachher wieder einspielen willst, was keinen Unterschied dazu macht, sie einfach so zu lassen wie sie ist, machst du das eben am besten mit dem MySQLDumper.
|
Achso, jetzt hab ichs verstanden, danke dir.

Eine Frage hab ich noch: Wo sind denn dann die User und Beitrge gespeichert, wenn nicht im wbb2 Ordner?
*Nicole*
Hier ist mein index.tpl
Habe jetzt das kopiert was in den style drin ist was ist als standart gesetzt habe... sprich sonnenblumen style... hoffe das ist das richtige index.tpl
| 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:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
|
<?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_START_TITLE']}</title>
$headinclude
</head>
<body>
$header
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<if($wbbuserdata['userid']==0)>
<then>
<tr>
<td class="tablea" align="left"><span class="normalfont"><b>{$lang->items['LANG_START_WELCOME_TITLE']}</b></span></td>
</tr>
<tr>
<td class="tableb" align="left" style="text-align: justify"><span class="smallfont">{$lang->items['LANG_START_WELCOME']}</span></td>
</tr>
</then>
<else>
<tr>
<td class="tablea"><table style="width:100%" cellspacing="0" cellpadding="0" border="0">
<tr class="tablea_fc">
<td align="left"><span class="smallfont">{$lang->items['LANG_START_WELCOMEBACK']} <b>$usercbar_username</b> <a href="logout.php?u=$wbbuserdata[userid]{$SID_ARG_2ND}">{$lang->items['LANG_START_LOGOUT']}</a><br /><b><a href="search.php?action=new{$SID_ARG_2ND}">{$lang->items['LANG_START_NEWPOSTS']} $lastvisitdate <span class="time">$lastvisittime</span>.</span></td>
<td align="right"><span class="smallfont">{$lang->items['LANG_START_CURRENTTIME']} <span class="time">$currenttime</span>.<br />{$lang->items['LANG_START_TIMEZONE']}</span></td>
</tr>
</table></td>
</tr>
</else>
</if>
Im Zahlenraten Jackpot sind $jackpot $guthaben[waehrung]
</table><br />
<if($announce_status==1 && $announce_title!="" && $announce!="")><then>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle" align="left" colspan="2"><span class="normalfont"><b>» $announce_title</b></span></td>
</tr>
<tr>
<td class="tableb" align="center" style="width: 20px"><img src="{$style['imagefolder']}/announce.gif" border="0" alt="$announce_title" title="$announce_title" /></td>
<td class="tableb" align="left" style="text-align: justify"><span class="smallfont">$announce</span></td>
</tr>
</table>
<br />
</then></if>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle"><span class="smallfont"> </span></td>
<td class="tabletitle" style="width:<if($hide_modcell==0)><then>80</then><else>100</else></if>%" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_BOARDS']}</b></span></td>
<td class="tabletitle" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_POSTS']}</b></span></td>
<td class="tabletitle" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_THREADS']}</b></span></td>
<td class="tabletitle" align="center" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_START_LASTPOST']}</b></span></td>
<if($hide_modcell==0)><then><td class="tabletitle" style="width:20%" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_MODERATORS']}</b></span></td></then></if>
</tr>
$boardbit
<if($showuseronline==1)>
<then>
<tr>
<td class="tabletitle" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" align="left"><span class="smallfont"><b><a href="wiw.php{$SID_ARG_1ST}">{$lang->items['LANG_START_SHOWUSERONLINE']}</a></b></span></td>
</tr>
<tr>
<td rowspan="2" class="tableb" align="center"><img src="{$style['imagefolder']}/online.gif" alt="" title="" /></td>
<td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_USERONLINE']}</span></td>
</tr>
<tr>
<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><if($useronline=="")><then> </then></if>$useronline</span></td>
</tr>
</then>
</if>
</if>
<style type="text/css">
<!--
.Stil2 {
color: #cc0000;
font-weight: bold;
}
.Stil3 {
color: #00cc00;
font-weight: bold;
}
.Stil4 {
color: #3300cc;
font-weight: bold;
}
.Stil5 {color: #990000}
-->
</style>
<tr>
<td colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" class="tableb"><span class="smallfont"><b>Useronline Legende:</b> <span class="Stil2">Administrator</span> | <span class="Stil4">S-Moderator</span> | <span class="Stil3">Moderator</span> | <span class="Stil5">User</span> </span></td>
</tr>
<if(isset($useraway) && $wbbuserdata['can_see_away_message']==1 && $wbbuserdata['can_see_away_list']==1)>
<then>
<tr>
<td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_START_USERAWAY']}</b></span></td>
</tr>
<tr>
<td align="center" class="tableb"><img src="{$style['imagefolder']}/online.gif" alt="" title="" /></td>
<td align="left" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea"><span class="smallfont">$useraway</span></td>
</tr>
</then>
</if>
<!-- Wer War Da Anfang -->
<if($showuservisited==1)><then>
<tr><td class="tabletitle" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_SHOWUSERVISITED']}</b></span></td></tr>
<tr><td rowspan="2" class="tableb" align="center"><img src="{$style['imagefolder']}/online.gif" alt="" title="" /></td><td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_USERVISITED']}</span></td></tr>
<tr><td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><if($uservisited=="")><then> </then></if>$uservisited</span></td></tr>
</then></if>
<!-- Wer War Da Ende -->
<if($showpmonindex==1 && $wbbuserdata['userid']!=0 && $wbbuserdata['can_use_pms']==1 && $wbbuserdata['receivepm']==1)>
<then>
<tr>
<td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_START_PM']}</b></span></td>
</tr>
<tr>
<td align="center" class="tableb"><if($countnew>0)>
<then><img src="{$style['imagefolder']}/on.gif" alt="{$lang->items['LANG_START_NEWPM']}" title="{$lang->items['LANG_START_NEWPM']}" /></then>
<else><img src="{$style['imagefolder']}/off.gif" alt="{$lang->items['LANG_START_NONEWPM']}" title="{$lang->items['LANG_START_NONEWPM']}" /></else>
</if></td>
<td align="left" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea"><span class="smallfont"><b><a href="pms.php{$SID_ARG_1ST}">{$lang->items['LANG_START_PMIN']}</a></b><br />{$lang->items['LANG_START_PMS']}</span></td>
</tr>
</then>
</if>
<if(isset($birthdaybit) || isset($eventbit))>
<then>
<tr>
<td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_START_SHOWEVENTS']}</b></span></td>
</tr>
<if(isset($birthdaybit))>
<then>
<tr>
<td class="tableb" align="center"><img src="{$style['imagefolder']}/birthday.gif" alt="" title="" border="0" /></td>
<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_BIRTHDAY']}</b><br />$birthdaybit</span></td>
</tr>
</then>
</if>
<if(isset($eventbit))>
<then>
<tr>
<td class="tableb" align="center"><img src="{$style['imagefolder']}/events.gif" alt="" title="" border="0" /></td>
<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_TODAYEVENT']}</b><br />$eventbit</span></td>
</tr>
</then>
</if>
</then>
</if>
<if($showstats==1)>
<then>
<tr>
<td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_START_STATISTIC']}</b></span></td>
</tr>
<tr>
<td class="tableb" align="center"><img src="{$style['imagefolder']}/stats.gif" alt="" border="0" /></td>
<td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_STATISTIC_MEMBERS']} $stats[usercount] | {$lang->items['LANG_START_STATISTIC_THREADS']} $stats[threadcount] | {$lang->items['LANG_START_STATISTIC_POSTS']} $stats[postcount] ({$lang->items['LANG_START_STATISTIC_AVERAGE']} $postperday {$lang->items['LANG_START_STATISTIC_POSTPERDAY']})<br />
{$lang->items['LANG_START_STATISTIC_NEWESTMEMBER']} <a href="profile.php?userid=$stats[lastuserid]{$SID_ARG_2ND}">$stats[username]</a>.</span></td>
</tr>
</then>
</if>
</table>
<if($wbbuserdata['userid']==0)>
<then>
<br /><a name="login" id="login"></a>
<if($allowloginencryption==1)><then>
<script type="text/javascript" src="js/sha1.js"></script>
<script type="text/javascript" src="js/crypt.js"></script>
</then></if>
<form method="post" action="login.php" name="loginform"<if($allowloginencryption==1)><then> onsubmit="return encryptlogin(this);"</then></if>>
<input type="hidden" name="send" value="send" />
<input type="hidden" name="sid" value="$session[hash]" />
<if($allowloginencryption==1)><then>
<input type="hidden" name="authentificationcode" value="$session[authentificationcode]" />
<input type="hidden" name="crypted" value="false" /></then></if>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_LOGIN']}</b></span></td>
</tr>
<tr>
<td class="tableb"><table cellpadding="0" cellspacing="5" align="center" class="tableb_fc">
<tr>
<td><span class="smallfont">{$lang->items['LANG_START_USERNAME']}</span></td>
<td><span class="smallfont"><input type="text" name="l_username" maxlength="50" size="20" class="input" tabindex="1" /> </span></td>
<td><span class="smallfont">{$lang->items['LANG_START_PASSWORD']} (<a href="forgotpw.php{$SID_ARG_1ST}">{$lang->items['LANG_START_LOSTPW']}</a>):</span></td>
<td><span class="smallfont"><input type="password" name="l_password" maxlength="30" size="20" class="input" tabindex="2" /> </span></td>
<if($allowloginencryption==1)><then>
<td><span class="smallfont"><label for="checkbox1">{$lang->items['LANG_GLOBAL_ENCRYPT_TRANSFER']}</label></span></td>
<td><span class="smallfont"><input type="checkbox" id="checkbox1" name="activateencryption" onclick="activate_loginencryption(document.loginform);" /> </span></td></then></if>
<td><input type="submit" value="{$lang->items['LANG_START_LOGIN']}" class="input" tabindex="3" /></td>
</tr>
</table></td>
</tr>
</table></form>
<if($allowloginencryption==1)><then>
<script type="text/javascript">
<!--
activate_loginencryption(document.loginform);
//-->
</script></then></if>
</then>
</if>
<table style="width:{$style['tableinwidth']}">
<tr>
<td align="right"><span class="smallfont"><a href="search.php?action=24h{$SID_ARG_2ND}">{$lang->items['LANG_START_CURRENT_THREADS']}</a> | <a href="search.php?action=polls{$SID_ARG_2ND}">{$lang->items['LANG_START_CURRENT_POLLS']}</a> | <a href="markread.php{$SID_ARG_1ST}">{$lang->items['LANG_START_MARKREAD_ALL']}</a><if($show_archive == 1)><then> | <b><a href="archive/index.html">{$lang->items['LANG_START_ARCHIVE']}</a></b></then></if></span></td>
</tr>
</table><br />
<table>
<tr align="center">
<td><img src="{$style['imagefolder']}/on.gif" alt="{$lang->items['LANG_START_NEW_POSTS']}" title="{$lang->items['LANG_START_NEW_POSTS']}" border="0" /></td>
<td><span class="smallfont">{$lang->items['LANG_START_NEW_POSTS']} </span></td>
<td><img src="{$style['imagefolder']}/off.gif" alt="{$lang->items['LANG_START_NONEW_POSTS']}" title="{$lang->items['LANG_START_NONEW_POSTS']}" border="0" /></td>
<td><span class="smallfont">{$lang->items['LANG_START_NONEW_POSTS']} </span></td>
<td><img src="{$style['imagefolder']}/offclosed.gif" alt="{$lang->items['LANG_START_BOARD_CLOSED']}" title="{$lang->items['LANG_START_BOARD_CLOSED']}" border="0" /></td>
<td><span class="smallfont">{$lang->items['LANG_START_BOARD_CLOSED']} </span></td>
<td><img src="{$style['imagefolder']}/link.gif" alt="{$lang->items['LANG_START_BOARD_LINK']}" title="{$lang->items['LANG_START_BOARD_LINK']}" border="0" /></td>
<td><span class="smallfont">{$lang->items['LANG_START_BOARD_LINK']}</span></td>
</tr>
</table>
$footer
</body>
</html>
|
|
Biggi
Wird schon das richtige Template sein.
Hast du das mal mit Frontpage oder sowas ähnlichem bearbeitet?
Das hier gehört nicht mitten in ein Template:
| code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
|
<style type="text/css">
<!--
.Stil2 {
color: #cc0000;
font-weight: bold;
}
.Stil3 {
color: #00cc00;
font-weight: bold;
}
.Stil4 {
color: #3300cc;
font-weight: bold;
}
.Stil5 {color: #990000}
-->
</style> |
|
Ich habe mir jetzt allerdings nicht das komplette Template angesehen, sondern nur rund um Zeile 77.
Viellleicht reicht es schon, wenn du das rausschmeißt und es stattdessen ins Template css reinschreibst.
Und zwar schreibst du ans Ende direkt über
das hier:
| code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
|
.Stil2 {
color: #cc0000;
font-weight: bold;
}
.Stil3 {
color: #00cc00;
font-weight: bold;
}
.Stil4 {
color: #3300cc;
font-weight: bold;
}
.Stil5 {color: #990000} |
|
*Nicole*
Was genau soll ich jetzt rauslöschen? und wo soll ich den letzten Code raus werfen?
Soll ich das :
<style type="text/css">
<!--
.Stil2 {
color: #cc0000;
font-weight: bold;
}
.Stil3 {
color: #00cc00;
font-weight: bold;
}
.Stil4 {
color: #3300cc;
font-weight: bold;
}
.Stil5 {color: #990000}
-->
</style>
komplett löschen und stattdessen das rein setzen?
.Stil2 {
color: #cc0000;
font-weight: bold;
}
.Stil3 {
color: #00cc00;
font-weight: bold;
}
.Stil4 {
color: #3300cc;
font-weight: bold;
}
.Stil5 {color: #990000}
Biggi
Nein.
Nochmal von vorne:
Template index:
lösche:
| code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
|
<style type="text/css">
<!--
.Stil2 {
color: #cc0000;
font-weight: bold;
}
.Stil3 {
color: #00cc00;
font-weight: bold;
}
.Stil4 {
color: #3300cc;
font-weight: bold;
}
.Stil5 {color: #990000}
-->
</style> |
|
Template css:
suche (die letzten beiden Zeilen):
füge DAVOR ein:
| code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
|
.Stil2 {
color: #cc0000;
font-weight: bold;
}
.Stil3 {
color: #00cc00;
font-weight: bold;
}
.Stil4 {
color: #3300cc;
font-weight: bold;
}
.Stil5 {color: #990000} |
|
*Nicole*
Deswegen hatte ich noch m,al gefragt, da ich mir net sicher war. Oki werde es dann gleich mal machen... hoffe es klappt..
Danke dir erstmal
@Edit hab es geändert aber es kommt immer noch die gleiche fehlermeldung
Biggi
Probier es mal bitte damit:
| 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:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
|
<?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_START_TITLE']}</title>
$headinclude
</head>
<body>
$header
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<if($wbbuserdata['userid']==0)>
<then>
<tr>
<td class="tablea" align="left"><span class="normalfont"><b>{$lang->items['LANG_START_WELCOME_TITLE']}</b></span></td>
</tr>
<tr>
<td class="tableb" align="left" style="text-align: justify"><span class="smallfont">{$lang->items['LANG_START_WELCOME']}</span></td>
</tr>
</then>
<else>
<tr>
<td class="tablea"><table style="width:100%" cellspacing="0" cellpadding="0" border="0">
<tr class="tablea_fc">
<td align="left"><span class="smallfont">{$lang->items['LANG_START_WELCOMEBACK']} <b>$usercbar_username</b> <a href="logout.php?u=$wbbuserdata[userid]{$SID_ARG_2ND}">{$lang->items['LANG_START_LOGOUT']}</a><br /><b><a href="search.php?action=new{$SID_ARG_2ND}">{$lang->items['LANG_START_NEWPOSTS']} $lastvisitdate <span class="time">$lastvisittime</span>.</span></td>
<td align="right"><span class="smallfont">{$lang->items['LANG_START_CURRENTTIME']} <span class="time">$currenttime</span>.<br />{$lang->items['LANG_START_TIMEZONE']}</span></td>
</tr>
</table></td>
</tr>
</else>
</if>
<tr>
<td>Im Zahlenraten Jackpot sind $jackpot $guthaben[waehrung]</td>
</tr>
</table><br />
<if($announce_status==1 && $announce_title!="" && $announce!="")><then>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle" align="left" colspan="2"><span class="normalfont"><b>» $announce_title</b></span></td>
</tr>
<tr>
<td class="tableb" align="center" style="width: 20px"><img src="{$style['imagefolder']}/announce.gif" border="0" alt="$announce_title" title="$announce_title" /></td>
<td class="tableb" align="left" style="text-align: justify"><span class="smallfont">$announce</span></td>
</tr>
</table><br />
</then></if>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle"><span class="smallfont"> </span></td>
<td class="tabletitle" style="width:<if($hide_modcell==0)><then>80</then><else>100</else></if>%" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_BOARDS']}</b></span></td>
<td class="tabletitle" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_POSTS']}</b></span></td>
<td class="tabletitle" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_THREADS']}</b></span></td>
<td class="tabletitle" align="center" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_START_LASTPOST']}</b></span></td>
<if($hide_modcell==0)><then><td class="tabletitle" style="width:20%" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_MODERATORS']}</b></span></td></then></if>
</tr>
$boardbit
<if($showuseronline==1)>
<then>
<tr>
<td class="tabletitle" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" align="left"><span class="smallfont"><b><a href="wiw.php{$SID_ARG_1ST}">{$lang->items['LANG_START_SHOWUSERONLINE']}</a></b></span></td>
</tr>
<tr>
<td rowspan="2" class="tableb" align="center"><img src="{$style['imagefolder']}/online.gif" alt="" title="" /></td>
<td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_USERONLINE']}</span></td>
</tr>
<tr>
<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><if($useronline=="")><then> </then></if>$useronline</span></td>
</tr>
</then>
</if>
<tr>
<td colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" class="tableb"><span class="smallfont"><b>Useronline Legende:</b> <span class="Stil2">Administrator</span> | <span class="Stil4">S-Moderator</span> | <span class="Stil3">Moderator</span> | <span class="Stil5">User</span> </span></td>
</tr>
<if(isset($useraway) && $wbbuserdata['can_see_away_message']==1 && $wbbuserdata['can_see_away_list']==1)>
<then>
<tr>
<td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_START_USERAWAY']}</b></span></td>
</tr>
<tr>
<td align="center" class="tableb"><img src="{$style['imagefolder']}/online.gif" alt="" title="" /></td>
<td align="left" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea"><span class="smallfont">$useraway</span></td>
</tr>
</then>
</if>
<!-- Wer War Da Anfang -->
<if($showuservisited==1)><then>
<tr>
<td class="tabletitle" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_SHOWUSERVISITED']}</b></span></td>
</tr>
<tr>
<td rowspan="2" class="tableb" align="center"><img src="{$style['imagefolder']}/online.gif" alt="" title="" /></td><td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_USERVISITED']}</span></td>
</tr>
<tr>
<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><if($uservisited=="")><then> </then></if>$uservisited</span></td>
</tr>
</then></if>
<!-- Wer War Da Ende -->
<if($showpmonindex==1 && $wbbuserdata['userid']!=0 && $wbbuserdata['can_use_pms']==1 && $wbbuserdata['receivepm']==1)>
<then>
<tr>
<td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_START_PM']}</b></span></td>
</tr>
<tr>
<td align="center" class="tableb"><if($countnew>0)>
<then><img src="{$style['imagefolder']}/on.gif" alt="{$lang->items['LANG_START_NEWPM']}" title="{$lang->items['LANG_START_NEWPM']}" /></then>
<else><img src="{$style['imagefolder']}/off.gif" alt="{$lang->items['LANG_START_NONEWPM']}" title="{$lang->items['LANG_START_NONEWPM']}" /></else>
</if></td>
<td align="left" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea"><span class="smallfont"><b><a href="pms.php{$SID_ARG_1ST}">{$lang->items['LANG_START_PMIN']}</a></b><br />{$lang->items['LANG_START_PMS']}</span></td>
</tr>
</then>
</if>
<if(isset($birthdaybit) || isset($eventbit))>
<then>
<tr>
<td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_START_SHOWEVENTS']}</b></span></td>
</tr>
<if(isset($birthdaybit))>
<then>
<tr>
<td class="tableb" align="center"><img src="{$style['imagefolder']}/birthday.gif" alt="" title="" border="0" /></td>
<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_BIRTHDAY']}</b><br />$birthdaybit</span></td>
</tr>
</then>
</if>
<if(isset($eventbit))>
<then>
<tr>
<td class="tableb" align="center"><img src="{$style['imagefolder']}/events.gif" alt="" title="" border="0" /></td>
<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_TODAYEVENT']}</b><br />$eventbit</span></td>
</tr>
</then>
</if>
<if($showstats==1)>
<then>
<tr>
<td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_START_STATISTIC']}</b></span></td>
</tr>
<tr>
<td class="tableb" align="center"><img src="{$style['imagefolder']}/stats.gif" alt="" border="0" /></td>
<td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_STATISTIC_MEMBERS']} $stats[usercount] | {$lang->items['LANG_START_STATISTIC_THREADS']} $stats[threadcount] | {$lang->items['LANG_START_STATISTIC_POSTS']} $stats[postcount] ({$lang->items['LANG_START_STATISTIC_AVERAGE']} $postperday {$lang->items['LANG_START_STATISTIC_POSTPERDAY']})<br />
{$lang->items['LANG_START_STATISTIC_NEWESTMEMBER']} <a href="profile.php?userid=$stats[lastuserid]{$SID_ARG_2ND}">$stats[username]</a>.</span></td>
</tr>
</then>
</if>
</table>
<if($wbbuserdata['userid']==0)>
<then>
<br /><a name="login" id="login"></a>
<if($allowloginencryption==1)><then>
<script type="text/javascript" src="js/sha1.js"></script>
<script type="text/javascript" src="js/crypt.js"></script>
</then></if>
<form method="post" action="login.php" name="loginform"<if($allowloginencryption==1)><then> onsubmit="return encryptlogin(this);"</then></if>>
<input type="hidden" name="send" value="send" />
<input type="hidden" name="sid" value="$session[hash]" />
<if($allowloginencryption==1)><then>
<input type="hidden" name="authentificationcode" value="$session[authentificationcode]" />
<input type="hidden" name="crypted" value="false" />
</then></if>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_LOGIN']}</b></span></td>
</tr>
<tr>
<td class="tableb"><table cellpadding="0" cellspacing="5" align="center" class="tableb_fc">
<tr>
<td><span class="smallfont">{$lang->items['LANG_START_USERNAME']}</span></td>
<td><span class="smallfont"><input type="text" name="l_username" maxlength="50" size="20" class="input" tabindex="1" /> </span></td>
<td><span class="smallfont">{$lang->items['LANG_START_PASSWORD']} (<a href="forgotpw.php{$SID_ARG_1ST}">{$lang->items['LANG_START_LOSTPW']}</a>):</span></td>
<td><span class="smallfont"><input type="password" name="l_password" maxlength="30" size="20" class="input" tabindex="2" /> </span></td>
<if($allowloginencryption==1)><then>
<td><span class="smallfont"><label for="checkbox1">{$lang->items['LANG_GLOBAL_ENCRYPT_TRANSFER']}</label></span></td>
<td><span class="smallfont"><input type="checkbox" id="checkbox1" name="activateencryption" onclick="activate_loginencryption(document.loginform);" /> </span></td></then></if>
<td><input type="submit" value="{$lang->items['LANG_START_LOGIN']}" class="input" tabindex="3" /></td>
</tr>
</table></td>
</tr>
</table></form>
<if($allowloginencryption==1)><then>
<script type="text/javascript">
<!--
activate_loginencryption(document.loginform);
//-->
</script></then></if>
</then>
</if>
<table style="width:{$style['tableinwidth']}">
<tr>
<td align="right"><span class="smallfont"><a href="search.php?action=24h{$SID_ARG_2ND}">{$lang->items['LANG_START_CURRENT_THREADS']}</a> | <a href="search.php?action=polls{$SID_ARG_2ND}">{$lang->items['LANG_START_CURRENT_POLLS']}</a> | <a href="markread.php{$SID_ARG_1ST}">{$lang->items['LANG_START_MARKREAD_ALL']}</a><if($show_archive == 1)><then> | <b><a href="archive/index.html">{$lang->items['LANG_START_ARCHIVE']}</a></b></then></if></span></td>
</tr>
</table><br />
<table>
<tr align="center">
<td><img src="{$style['imagefolder']}/on.gif" alt="{$lang->items['LANG_START_NEW_POSTS']}" title="{$lang->items['LANG_START_NEW_POSTS']}" border="0" /></td>
<td><span class="smallfont">{$lang->items['LANG_START_NEW_POSTS']} </span></td>
<td><img src="{$style['imagefolder']}/off.gif" alt="{$lang->items['LANG_START_NONEW_POSTS']}" title="{$lang->items['LANG_START_NONEW_POSTS']}" border="0" /></td>
<td><span class="smallfont">{$lang->items['LANG_START_NONEW_POSTS']} </span></td>
<td><img src="{$style['imagefolder']}/offclosed.gif" alt="{$lang->items['LANG_START_BOARD_CLOSED']}" title="{$lang->items['LANG_START_BOARD_CLOSED']}" border="0" /></td>
<td><span class="smallfont">{$lang->items['LANG_START_BOARD_CLOSED']} </span></td>
<td><img src="{$style['imagefolder']}/link.gif" alt="{$lang->items['LANG_START_BOARD_LINK']}" title="{$lang->items['LANG_START_BOARD_LINK']}" border="0" /></td>
<td><span class="smallfont">{$lang->items['LANG_START_BOARD_LINK']}</span></td>
</tr>
</table>
$footer
</body>
</html> |
|
Da waren ein paar if-Abfragen nicht in Ordnung.
Ich hoffe, ich habe jetzt auf die Schnelle nichts übersehen.
*Nicole*
Soll ich das jetzt komplett wie du es geschrieben hast in die index.tpl setzen? und damit meine überschreiben?
*Nicole*
Ok einen moment bitte. ich mach es mal schnell
Edit:
Es hat geklappt... klasse Danke
Du bist spitze