yourWBB Homeseite fuer 2.3.x |
xXxStylXXx unregistriert
|
|
so hab jetzt die seite eingerichtet funtz auch alles perfekt bis auf, wenn ich meinen link zum board auf rufe kommt sofort die homesite! da soll aber vorher die enter seite kommen wie kann ich das änderen?
|
|
10.07.05 10:46 |
|
|
streetracer04
Mitglied
Dabei seit: 04.06.05
Beiträge: 69
Forenversion: WBB 2.3
|
|
Ich schätze mal in der .htacces-Datei
Das steht ja
code: |
1:
|
DirectoryIndex home.php |
|
drin - ändere home.php einfach mal in deiner Enter-Seite um
kA, ob das wirklich so einfach ist, aber probier's mal aus
__________________ Banner entfernt, bitte Regeln beachten!
|
|
10.07.05 14:12 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Wulfnoth
Mitglied
Dabei seit: 08.03.04
Beiträge: 213
Herkunft: Bremen
|
|
Zitat: |
Original von Wulfnoth
Hallo,
Ist es eigentlich möglich die Boxen auf die rechte Seite zu verlagern?
Wäre wirklich schön!
Gruß
Wulfnoth |
Kann mir vielleicht noch jemand helfen?
|
|
10.07.05 19:22 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
KIGG
Mitglied
Dabei seit: 10.07.05
Beiträge: 48
Forenversion: 2.3
|
|
Hallo,
also ich muss zugeben, ich habe nicht dem gesamten Thread gelesen, weiß daher nicht ob es schon das selbe Problem gibt oder nicht.
Also Problem #1: Es heißt ja:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
|
suche in header.tpl:
------------------------------
<td class="logobackground" align="center"><if($style['logoimage']!="")><then><a href="index.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td>
</tr>
<tr>
<td align="center"><span class="smallfont">
------------------------------
füge hinter:
------------------------------
<td align="center"><span class="smallfont">
------------------------------
folgendes ein: (Leerzeichem am Ende auch!!!!)
------------------------------
<a href="home.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_home.gif" border="0" alt="{$lang->items['LANG_GLOBAL_HOME']}" title="{$lang->items['LANG_GLOBAL_HOME']}" /></a> |
|
Nur, das klappt das in anderen Styles als dem Standart nicht so gut.
Wo muss das in den folgendes header-Templates hin?
1. (Green_Vision):
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
|
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
<tr>
<td class="mainpage" align="center" style="background-image: url(images/green_vision/bg_endless_2.gif);">
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="logobackground" align="center"><if($style['logoimage']!="")><then><a href="index.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td>
</tr>
</table>
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="{$style['imagefolder']}/menue_l_r.gif" border="0" alt="" title="" /></td>
<td align="center" class="menuebg"><span class="smallfont"><if($wbbuserdata['userid'])><then><a href="usercp.php{$SID_ARG_1ST}" onmouseover="topbutton1.src='{$style['imagefolder']}/top_hover_usercp.gif';" onmouseout="topbutton1.src='{$style['imagefolder']}/top_usercp.gif';"><img name="topbutton1" src="{$style['imagefolder']}/top_usercp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_USERCP']}" title="{$lang->items['LANG_GLOBAL_USERCP']}" /></a><a href="pms.php{$SID_ARG_1ST}" onmouseover="topbutton2.src='{$style['imagefolder']}/top_hover_pms.gif';" onmouseout="topbutton2.src='{$style['imagefolder']}/top_pms.gif';"><img name="topbutton2" src="{$style['imagefolder']}/top_pms.gif" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']}" /></a></then><else><a href="register.php{$SID_ARG_1ST}" onmouseover="topbutton3.src='{$style['imagefolder']}/top_hover_register.gif';" onmouseout="topbutton3.src='{$style['imagefolder']}/top_register.gif';"><img name="topbutton3" src="{$style['imagefolder']}/top_register.gif" border="0" alt="{$lang->items['LANG_GLOBAL_REGISTER']}" title="{$lang->items['LANG_GLOBAL_REGISTER']}" /></a></else></if><a href="calendar.php{$SID_ARG_1ST}" onmouseover="topbutton4.src='{$style['imagefolder']}/top_hover_calendar.gif';" onmouseout="topbutton4.src='{$style['imagefolder']}/top_calendar.gif';"><img name="topbutton4" src="{$style['imagefolder']}/top_calendar.gif" border="0" alt="{$lang->items['LANG_GLOBAL_CALENDAR']}" title="{$lang->items['LANG_GLOBAL_CALENDAR']}" /></a><a href="memberslist.php{$SID_ARG_1ST}" onmouseover="topbutton5.src='{$style['imagefolder']}/top_hover_members.gif';" onmouseout="topbutton5.src='{$style['imagefolder']}/top_members.gif';"><img name="topbutton5" src="{$style['imagefolder']}/top_members.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" title="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" /></a><a href="team.php{$SID_ARG_1ST}" onmouseover="topbutton6.src='{$style['imagefolder']}/top_hover_team.gif';" onmouseout="topbutton6.src='{$style['imagefolder']}/top_team.gif';"><img name="topbutton6" src="{$style['imagefolder']}/top_team.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TEAM']}" title="{$lang->items['LANG_GLOBAL_TEAM']}" /></a><a href="search.php{$SID_ARG_1ST}" onmouseover="topbutton7.src='{$style['imagefolder']}/top_hover_search.gif';" onmouseout="topbutton7.src='{$style['imagefolder']}/top_search.gif';"><img name="topbutton7" src="{$style['imagefolder']}/top_search.gif" border="0" alt="{$lang->items['LANG_GLOBAL_SEARCH']}" title="{$lang->items['LANG_GLOBAL_SEARCH']}" /></a><a href="misc.php?action=faq{$SID_ARG_2ND}" onmouseover="topbutton8.src='{$style['imagefolder']}/top_hover_faq.gif';" onmouseout="topbutton8.src='{$style['imagefolder']}/top_faq.gif';"><img name="topbutton8" src="{$style['imagefolder']}/top_faq.gif" border="0" alt="{$lang->items['LANG_GLOBAL_FAQ']}" title="{$lang->items['LANG_GLOBAL_FAQ']}" /></a><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then><a href="acp/index.php" target="_blank" onmouseover="topbutton9.src='{$style['imagefolder']}/top_hover_acp.gif';" onmouseout="topbutton9.src='{$style['imagefolder']}/top_acp.gif';"><img name="topbutton9" src="{$style['imagefolder']}/top_acp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_ACP']}" title="{$lang->items['LANG_GLOBAL_ACP']}" /></a></then></if><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then><a href="acp/index.php" target="_blank" onmouseover="topbutton10.src='{$style['imagefolder']}/top_hover_modcp.gif';" onmouseout="topbutton10.src='{$style['imagefolder']}/top_modcp.gif';"><img name="topbutton10" src="{$style['imagefolder']}/top_modcp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MODCP']}" title="{$lang->items['LANG_GLOBAL_MODCP']}" /></a></then></if><a href="index.php{$SID_ARG_1ST}" onmouseover="topbutton11.src='{$style['imagefolder']}/top_hover_start.gif';" onmouseout="topbutton11.src='{$style['imagefolder']}/top_start.gif';"><img name="topbutton11" src="{$style['imagefolder']}/top_start.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a></span></td>
</tr>
<tr>
<td><img src="{$style['imagefolder']}/bottom_l_r.gif" border="0" alt="" title="" /></td>
<td class="butbottom"></td>
<td><img src="{$style['imagefolder']}/bottom_l_r.gif" border="0" alt="" title="" /></td>
</tr>
</table> |
|
2. (Simple_Life)
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
|
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
<tr>
<td class="mainpage" align="center">
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="logobackground" align="center"><if($style['logoimage']!="")><then><a href="index.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td>
</tr>
<a href="home.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_home.gif" border="0" alt="{$lang->items['LANG_GLOBAL_HOME']}" title="{$lang->items['LANG_GLOBAL_HOME']}" /></a>
<tr>
<td class="mainpage"><table style="width:590px" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left" style="background-image: url({$style['imagefolder']}/top_bg.gif);"><img src="{$style['imagefolder']}/header_left.gif" border="0" alt="" title="" /></td>
<td align="left" style="background-image: url({$style['imagefolder']}/top_bg.gif);"><span class="headerfont"> <a href="index.php{$SID_ARG_1ST}">Forum</a> <a href="memberslist.php{$SID_ARG_1ST}">Mitglieder</a> <a href="search.php{$SID_ARG_1ST}">Suche</a> <a href="team.php{$SID_ARG_1ST}" >Team</a> <a href="misc.php?action=faq{$SID_ARG_2ND}">Faq</a><if($wbbuserdata['userid'])><then> <a href="usercp.php{$SID_ARG_1ST}">Profil</a> <a href="pms.php{$SID_ARG_1ST}">Nachrichten</a></then><else> <a href="register.php{$SID_ARG_1ST}">Registrieren</a></else></if><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then> <a href="acp/index.php" target="_blank">Admin CP</a></then></if><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then> <a href="acp/index.php" target="_blank">Mod CP</a></then></if></span></td>
<td align="right" style="background-image: url({$style['imagefolder']}/top_bg.gif);"><img src="{$style['imagefolder']}/header_right.gif" border="0" alt="" title="" /></td>
</tr>
</table>
</td>
</tr>
</table><br /> |
|
Aber, auch mit dem StandartStyle bekomme ich folgende Meldung:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
|
SQL-DATABASE ERROR
Database error in WoltLab Burning Board (2.3.2): Invalid SQL: SELECT p.*, pc.cache, t.threadid, t.boardid, t.topic, t.closed, t.important, t.replycount, t.views FROM bb1_posts p LEFT JOIN bb1_threads t ON (p.threadid = t.threadid) LEFT JOIN bb1_postcache pc ON (p.postid=pc.postid) WHERE p.postid=
mysql error: You have an error in your SQL syntax near '' at line 1
mysql error number: 1064
mysql version: 3.23.49-log
php version: 4.3.12-dev
Date: 11.07.2005 @ 11:19
Script: /forum/home.php
Referer: http://seelzeforen.de/forum/index.php |
|
Kann mir noch geholfen werden?? Danke euch vielmals im Voraus!
|
|
11.07.05 11:20 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Wulfnoth
Mitglied
Dabei seit: 08.03.04
Beiträge: 213
Herkunft: Bremen
|
|
Im Prinzip musst du ja im Header einen Button einbauen. Und dafür nimmst du am besten einen Code der da schon drin ist und ersetzt die relevanten Stellen.
|
|
11.07.05 12:02 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
KIGG
Mitglied
Dabei seit: 10.07.05
Beiträge: 48
Forenversion: 2.3
|
|
Zitat: |
Original von KIGG
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
|
SQL-DATABASE ERROR
Database error in WoltLab Burning Board (2.3.2): Invalid SQL: SELECT p.*, pc.cache, t.threadid, t.boardid, t.topic, t.closed, t.important, t.replycount, t.views FROM bb1_posts p LEFT JOIN bb1_threads t ON (p.threadid = t.threadid) LEFT JOIN bb1_postcache pc ON (p.postid=pc.postid) WHERE p.postid=
mysql error: You have an error in your SQL syntax near '' at line 1
mysql error number: 1064
mysql version: 3.23.49-log
php version: 4.3.12-dev
Date: 11.07.2005 @ 11:19
Script: /forum/home.php
Referer: http://seelzeforen.de/forum/index.php |
|
|
Ja, das mit dem Templates schaffe ich glaube schon.
Das Zitierte Problem ist das wichtigste.
|
|
11.07.05 12:33 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
KIGG
Mitglied
Dabei seit: 10.07.05
Beiträge: 48
Forenversion: 2.3
|
|
Achso, ist nur unsauber programmiert, oder wie?
Lag ja alles nur an den Einstellungen...
|
|
11.07.05 14:29 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
KIGG
Mitglied
Dabei seit: 10.07.05
Beiträge: 48
Forenversion: 2.3
|
|
Zitat: |
Original von MrMind
Zitat: |
Original von KIGG
Achso, ist nur unsauber programmiert, oder wie?
|
Würd ich net sagen, normalerweise sollte alles ordentlich gecodet sein.
Ist der Fehler nun weg?
Mfg
MrMind |
Ja, nachdem ich die Einstellungen zum sonswievielten Mal durchgegangen bin, hab ich gerafft, dass die Nullen schuld waren
Danke für den Support!
|
|
11.07.05 14:35 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
xXxStylXXx unregistriert
|
|
|
16.07.05 14:52 |
|
|
Grabwolf
Mitglied
Dabei seit: 02.10.04
Beiträge: 327
Forenversion: 2.3
|
|
Vielleicht gab es die Frage schonmal, aber nehmt es mir bitte nicht übel, denn ich habe nicht die Lust und auchnicht die Zeit nochmal alles zu durchsuchen
Es geht darum das ich auf der Homeseite eine eigene Box erstellen möchte. Wenn das geht dann möchte ich gerne wissen wie, wenn es nicht geht, dann trotzdem für die Antwort danke
Gruss
Grabwolf
|
|
20.07.05 21:05 |
E-Mail
Finden
Als Freund hinzufügen
|
|
|