ThWboard Support-Forum (Archiv)

Ort: / Boardübersicht / Probleme und Fragen / Darstellungs Problem


Seite 1 von 1

Damjan_1 schrieb am 27.04.2006 um 14:30 Uhr

Bin mir net sicher, ob das hier das richtige Board ist ... aber trotzdem ;)

Vorab:
Geht um Version 2.81 mit diversen Hacks inkl Portal-Hack.
Das Problem bezieht sich alleine auf das Anzeige der News Seite.

Problem:
Das alte Design unserer Gildenseite war recht simpel und nicht besonders sehenswert. Also wurde beschlossen, das Design zu ändern. So weit, so gut.

Ne Kopie vom Board erstellt und die .html Dateien verändert. Bischen Krams eingebaut und so weiter.

Dann ein paar Anderen Bescheid gesagt zum Testen. Und bei dem testen bin ich leider immer noch. Das Problem liegt in der Darstellung der News Seite mit dem Browser Firefox. Der Mittelteil, wo die News stehen, wird komplett über die gesamte Restbreite des Bildschirms ausgedehnt und die Boxen der rechten Seite einfach unten drunter gesetzt. Seltsamerweise nur beim Betrachten der Seite mit Firefox. Alle anderen Seiten werden richtig mit der passenden Breite dargstellt (kalender, forum, member, usw).

Vielleicht kann mir ja wer helfen? Link zum Testboard : Klick mich

hier die Codes der einzelnen Dateien:

portalrow.html

<center>
<table width="96%" border="0" cellspacing="0" cellpadding="0" >
  <tr> 
    <td height="34" width="37" background="./gfx/oben_links.jpg"></td>
    <td height="34" background="./gfx/oben_mitte.jpg">&nbsp;&nbsp;<font color="$style[col_he_fo_font]" face="BlackChancery" size="3"><b>$portalrow[title]</font></b></td>
    <td height="34" width="37" background="./gfx/oben_rechts.jpg"></td>
  </tr>
  <tr>
    <td width="37"background="./gfx/mitte_links.jpg"></td>
    <td background="./gfx/papier.gif" bgcolor="$style[CellA]">
       <table width="95%" cellpadding="0" cellspacing="0">
       <tr>
        <td valign="center">$style[stdfont]$portalrow[portaltext]$style[stdfontend]</td>
       </tr>
     </table>
    </td>
    <td width="37" background="./gfx/mitte_rechts.jpg"></td>
  </tr>
  <tr>
    <td height="34" width="37" background="./gfx/unten_links.jpg"></td>
    <td height="34" background="./gfx/unten_mitte.jpg">
      <table border="0" width="85%" align="center" cellspacing="0" cellpadding="0">
        <tr>
            <td bgcolor="$style[CellB]" align="left"><left>$style[smallfont]$portal_thread[threadcreationtime] von $portal_thread[threadauthor]$style[smallfontend]</left></td>
            <td bgcolor="$style[CellB]" align="right"><right>$style[smallfont]$portal_thread[threadviews] mal gelesen | $portal_thread[threadreplies] <a href="showtopic.php?threadid=$portal_thread[threadid]">Kommentare$style[smallfontend]</a></right></td>
        </tr>
      </table>
    </td>    
    <td height="34" width="37" background="./gfx/unten_rechts.jpg"></td>
  </tr>  
</table>
<br>
</center>

frame.html

<html>
<head>
<title>Die Ehrengarde - Eine World of Warcraft Gilde auf dem RPG-Server >Die silberne Hand<</title>
<meta http-equiv="expires" content="0">
<style type="text/css">
  a:link         { color:$style[col_link]; text-decoration: none }
  a:visited      { color:$style[col_link_v]; text-decoration: none }
  a:active       { color:$style[col_link]; text-decoration: none }
  a:hover        { color:$style[col_link_hover]; text-decoration: none }

  a.bglink:link    { color:$style[colorbgfont]; text-decoration: underline}
  a.bglink:visited { color:$style[colorbgfont]; text-decoration: underline}
  a.bglink:active  { color:$style[colorbgfont]; text-decoration: underline}
  a.bglink:hover   { color:$style[colorbgfont]; text-decoration: none }

  a.hefo:link    { color:$style[col_he_fo_font]; text-decoration: underline}
  a.hefo:visited { color:$style[col_he_fo_font]; text-decoration: underline}
  a.hefo:active  { color:$style[col_he_fo_font]; text-decoration: underline}
  a.hefo:hover   { color:$style[col_he_fo_font]; text-decoration: none }

  .forumline { border: 0px #313431 solid; }
  .tbinput     { font-family: Verdana; font-size: 8pt; background-color: #eeeeee }
  .tbbutton     { font-family: Verdana; font-size: 8pt }
  .tbselect    { font-family: Verdana; font-size: 8pt; background-color: #eeeeee }
  .tbtextarea  { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; background:url(./gfx/papier1.gif) }
</style>
<SCRIPT LANGUAGE="JavaScript">
function textCounter(field, countfield, maxlimit) {
if (field.value.length > maxlimit) 
field.value = field.value.substring(0, maxlimit);
else
countfield.value = maxlimit - field.value.length;
}
</script>
</head>
<body bgcolor="$style[colorbg]" text="$style[color1]" background="./gfx/stone.jpg">
<!-- Page generated by ThWboard (http://www.thwboard.de) -->
$debug
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
      <td>
        <center><img src="./gfx/logo-eg-wow.gif" border="0"></center>
      </td>
  </tr>
  <tr>
    <td height="25" background="./gfx/leiste2.jpg"><a name="top">&nbsp;</a>
</td>
  </tr>
</table>
$portal[one]$PORTAL_ROW_LEFT$portal[two]$CONTENT$portal[three]$PORTAL_ROW_RIGHT$portal[four]
<font color="$style[colorbgfont]">
<center>
<br>

<table widht="70%" cellspacing="0" cellpadding="10" valign="top">
<tr>
   <td width="50%">

<link rel="stylesheet" type="text/css" href="http://blasc.planet-multiplayer.de/snipplet.css">
<form action="http://blasc.planet-multiplayer.de" method="post" style="margin:0;" target="_blank">
<table border="0" cellpadding="0" cellspacing="0" width="254" background="./gfx/papier.gif">
  <tr>
    <td width="37" height="34" background="./gfx/oben_links.jpg"></td>
    <td background="./gfx/oben_mitte.jpg" colspan="2">$style[smallfont]<font color="#000000"><b>Suche bei Blasc</b></font>$style[smallfontend]</td>
    <td width="37" height="34"background="./gfx/oben_rechts.jpg"></td>
  </tr>
  <tr>
    <td width="37" background="./gfx/mitte_links.jpg"></td>
    <td height="49" colspan="2"><a href="http://www.blasc.de" target="_blank"><img src="http://blasc.planet-multiplayer.de/images/snipplet-small-blasc-logo.gif" width="180" height="49" border="0"></a></td>
    <td width="37" background="./gfx/mitte_rechts.jpg"></td>
  </tr>
  <tr>
    <td width="37" background="./gfx/mitte_links.jpg"></td>
    <td height="30" width="146" align="center"><input type="text" name="f" value=" Suchbegriff eingeben" class="small-snipplet-input" onfocus="if(this.value==' Suchbegriff eingeben') this.value=''"></td>
    <td height="30" width="34"><input type="image" src="http://blasc.planet-multiplayer.de/images/snipplet-small-input-ok.gif"></td>;
    <td width="37" background="./gfx/mitte_rechts.jpg"></td>
  </tr>
  <tr>
    <td width="37" height="34" background="./gfx/unten_links.jpg"></td>
    <td background="./gfx/unten_mitte.jpg" colspan="2"></td>
    <td width="37" height="34"background="./gfx/unten_rechts.jpg"></td>
  </tr>
</table>
</form>

   </td>
   <td width="50%">

<form method="GET" action="http://www.thottbot.com/" target="_blank">
<br><table background="./gfx/papier.gif" width="254" align="center" cellspacing="0" cellpadding="0">
  <tr>
    <td width="37" height="34" background="./gfx/oben_links.jpg"></td>
    <td background="./gfx/oben_mitte.jpg">$style[smallfont]<font color="#000000"><b>Suche bei Thottbot</b></font>$style[smallfontend]</td>
    <td width="37" height="34"background="./gfx/oben_rechts.jpg"></td>
  </tr>
  <tr>
    <td width="37" background="./gfx/mitte_links.jpg"></td>
    <td height="79" align="center"><a href='http://www.thottbot.com/'><img src="./gfx/thottbotsmall.jpg" border="0"></a><br>
    <input type="text" name="s" value="Suchbegriff" style="width:140px" onfocus="this.select()">
    </td>
    <td width="37" background="./gfx/mitte_rechts.jpg"></td>
  </tr>
  <tr>
    <td width="37" height="34" background="./gfx/unten_links.jpg"></td>
    <td background="./gfx/unten_mitte.jpg"></td>
    <td width="37" height="34"background="./gfx/unten_rechts.jpg"></td>
  </tr>
</table>
</form> 

   </td>
</tr>
</table>

<br>

  <br><a href="http://www.worldofwarcraft.com"><img src="http://www.dieehrengarde.de/wow/gfx/logo-wow.gif" border="0" alt="Blizzard Entertainment - World of Warcraft"></a><br>
  <br><a href="http://www.blizzard.com"><img src="http://www.dieehrengarde.de/wow/gfx/blizzard-logo-small.gif" border="0" alt="Blizzard Entertainment"></a><br>
  <br>
  $style[stdfont]<b><a href="$config[site_url]" class="bglink">$config[site_name]</a></b>$style[stdfontend]<br>
  <br>
  $style[smallfont]<b>powered by <a href="http://www.thwboard.de/" class="bglink">ThWboard</a> 
  3 Beta $config[version]</b><br>
  <!--YOU MAY NOT REMOVE THIS COPYRIGHT NOTICE,
  IT MUST BE CLEARLY VISIBLE TO THE END USER!-->
  &copy; by Paul Baecher & Felix Gonschorek<br>
  $style[smallfontend] <br>
  <br>
</center>
</font>
<!-- Foot of every page -->
<a name="foot">&nbsp;</a>
$DEBUG
</body>
<SCRIPT LANGUAGE="JavaScript">
<!--
window.defaultStatus="Die Ehrengarde - Eine World of Warcraft Gilde auf dem RPG-Server : Die silberne Hand";
//-->
</SCRIPT>&gt;

</html>

Damjan_1 schrieb am 28.04.2006 um 10:03 Uhr

Hmm ... Problem halb gelöst.

Die rechten Portalboxen habsch wieder an die richtige Stelle bekommen und auch den Mittelteil macht er nun passend. Aber nur wenn ich in der Portal.php den Teil mit den News Archiv Seiten rausnehme.

if ($topics[0] > $portalconfig['newsperpage'])
    { 
        $count=0;
        $begin=0;
        while ($count < $topics[0])
        {
           $count=$count+$portalconfig['newsperpage'];
           $begin2=$begin+1;

           if ($topics[0]-$count<0)
           $end=$topics[0];
           else $end=$begin2+$portalconfig['newsperpage']-1;

           $portal_pages .= "<span class='smalltext'>[<a href=$phpself?begin=$begin>$begin2-$end</a>]</span>";
           $begin=$begin+$portalconfig['newsperpage'];
        }
    }

Is zwar net weiter schlimm, nur frage ich mich warum?

Seite 1 von 1