Was ist hier los?
BenediktRB.de

wBB 2 Style Tutorial

Der Teil mit dem Coden :D

Vorbereitung:

ACP >> Templates bearbeiten
Standardtemplates >> Header >> Template kopieren

Templatepack wählen:
Templatepack: Templatepack Blackmastah
Speichern

ACP >> Templates bearbeiten
Standardtemplates >> Footer >> Template kopieren

Templatepack wählen:
Templatepack: Templatepack Blackmastah
Speichern

ACP >> Templates bearbeiten >> Templatepack Blackmastah
Header >> editieren

Alles überschreiben mit diesem:

<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="left"><if($style['logoimage']!="")><then><a href="index.php?sid=$session[hash]"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td> </tr> <tr> <td align="left" style="background-image: url({$style['imagefolder']}/top_bg.gif);"> <tr> <td align="right" style="background-image: url({$style['imagefolder']}/top_bg.gif);"><span class="smallfont"><if($wbbuserdata['userid'])><then><a href="usercp.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_usercp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_USERCP']}" title="{$lang->items['LANG_GLOBAL_USERCP']}" /></a><if($wbbuserdata['receivepm']==1)><then><a href="pms.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_pms.gif" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']}" /></a></then></if></then><else><a href="register.php?sid=$session[hash]"><img 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=$session[hash]"><img 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=$session[hash]"><img 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=$session[hash]"><img 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=$session[hash]"><img 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&amp;sid=$session[hash]"><img src="{$style['imagefolder']}/top_faq.gif" border="0" alt="{$lang->items['LANG_GLOBAL_FAQ']}" title="{$lang->items['LANG_GLOBAL_FAQ']}" /></a><a href="index.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_start.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then><a href="acp/index.php" target="_blank"><img 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"><img src="{$style['imagefolder']}/top_modcp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MODCP']}" title="{$lang->items['LANG_GLOBAL_MODCP']}" /></a></then></if></span></td> </tr> </table> <table style="width:100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td></td> </tr> <tr> <td ></td> <br/> <td style="width:100%;" class="mainpage" align="center">

Falls die Buttons in der Mitte oder Rechts sein sollen musst du bei dieser:

<td align="left"

Angabe bei den Button anstatt left - center oder right schreiben.

ACP >> Templates bearbeiten >> Templatepack Blackmastah
Footer >> editieren

Alles überschreiben mit diesem:

<br /><tr> <td align="right" style="background-image: url({$style['imagefolder']}/footer_bg.gif); height:25px;"> <table cellpadding="0" cellspacing="0" border="0" style="width: 100%; height:25px;"> <tr> <td align="left"><span class="smallfont"> Powered by <b>Burning Board $boardversion</b>© 2001-2003 <b><a href="http://www.woltlab.de" target="_blank">WoltLab GbR</a></b></span></td> <td align="right"> <span class="smallfont"><b><a href="http://www.blackmastah.de" target="_blank">Blackmastah</a></b></span></td> </tr> </table></td></tr>

Hier ist es wichtig, dass du im oberen Teil des Templates, bei den beiden Angaben von height: xx px die Pixel Anzahl deines footer_bg.gif eingibst. Ansonsten ist es verzerrt.

CODE FÜR DAS WBB 2.3 ! <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> <tr> <td align="right" style="background-image: url({$style['imagefolder']}/top_bg.gif);"><span class="smallfont"><if($wbbuserdata['userid'])><then><a href="usercp.php{$SID_ARG_1ST}"><img 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}"><img 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}"><img 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}"><img 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}"><img 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}"><img 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}"><img 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}"><img 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"><img 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"><img 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}"><img src="{$style['imagefolder']}/top_start.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a></span></td> </tr> </table><br />

Diesen Code mit dem des Header Templates ersetzen