Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
ICEman

Farblegend

Recommended Posts

Und nun frage ich meine Glaskugel, wie dein Code aussieht !? (oder wie stellst du dir das vor?) ;)

Also, Bitte mal den Code hier rein setzen, damit ich weiß, wie du es gemacht hast. Zu der ersten weißen Zeile, die du weg haben willst, da hast du wohl ein bzw zwei <br /> eingefügt, denn beim Standart Skin ist da kein Abstand ;)

=> Verschoben

Share this post


Link to post

Schau mal in deiner skin_boards.php nach, da ist einiges schief. ;)

Einmal in der folgenden Funktion:

function stats_header() {
global $ibforums;
return <<<EOF
<!-- Board Stats -->
<!--IBF.QUICK_LOG_IN-->
   <br />
<div align='center'>
 <a href='{$ibforums->base_url}act=Stats&amp;CODE=leaders'>{$ibforums->lang['sm_forum_leaders']}</a> |
 <a href='{$ibforums->base_url}act=Search&amp;CODE=getactive'>{$ibforums->lang['sm_todays_posts']}</a> |
 <a href='{$ibforums->base_url}act=Stats'>{$ibforums->lang['sm_today_posters']}</a> |
 <a href='{$ibforums->base_url}act=Members&amp;max_results=10&amp;sort_key=posts&amp;sort_order=desc'> {$ibforums->lang['sm_all_posters']}</a>
</div>
   <br />
<div class="tableborder">
 <div class="maintitle">{$ibforums->lang['board_stats']}</div>
 <table cellpadding='4' cellspacing='1' border='0' width='100%'>
EOF;
}

hast du im unteren Bereich ziemlich viele geschütze Leerzeichen und wegen der anderen Sache. Dort schau mal nach dem <td> bevor das Wort Farblegende kommt und ändere es in <td class="row2">.

Share this post


Link to post

Hi,

muss man ja erst mal wissen, das der Code gebraucht wird.....

also ich habe folgenden Code geändert:

VORHER:

<td width="5%" class='row2'><{F_ACTIVE}></td>

<td class='row4' width='95%'>

<b>{$active[GUESTS]}</b> {$ibforums->lang['guests']}, <b>$active[memberS]</b> {$ibforums->lang['public_members']} <b>$active[ANON]</b> {$ibforums->lang['anon_members']}

<div class='thin'>{$active[NAMES]}</div>

{$active['links']}

</td>

</tr>

NACHHER:

         <td width="5%" class='row2' rowspan='2'><{F_ACTIVE}></td>

         <td class='row4' width='95%'>

           <b>{$active[GUESTS]}</b> {$ibforums->lang['guests']}, <b>$active[memberS]</b> {$ibforums->lang['public_members']} <b>$active[ANON]</b> {$ibforums->lang['anon_members']}

           <div class='thin'>{$active[NAMES]}</div>

           {$active['links']}

         </td>

       </tr>

<tr>

<td><span style='color:black;font-weight:bold'>Farblegende</span>:<span style='color:red'> Administrator</span> | <span style='color:blue;font-weight:bold'>Team-Dominion</span> | Mitglieder</td>

</tr>

- Ein <br /> was zu viel sein soll, find ich nicht :blink:

- <td class="row2"> bzw. <td class='row2'> vor dem Wort Legende funzt nicht.

Wäre jemand so lieb und könnte mir das anpassen ?

THX

Share this post


Link to post

<div class="tableborder">

  <div class="maintitle">Board Statistik</div>

  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;<table cellpadding="4" cellspacing="1" border="0" width="100%">        <tbody><tr>

          <td class="pformstrip" colspan="2">2 aktive Benutzer in den letzten 10 Minuten</td>

    </tr>

    <tr>

<td width="5%" class="row2" rowspan="2"><img src="style_images/1/user.gif" border="0" alt="Active Users"></td>

<td class="row4" width="95%">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<b>1</b> Gäste, <b>1</b> Mitglieder <b>0</b> Anonyme Mitglieder

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<div class="thin"><a href="http://235.xxl.bwserver.net/ipb/index.php?showuser=1"><span style="color: blue; font-weight: bold;">ICEman</span></a></div>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Zeige detailiert nach: <a href="http://235.xxl.bwserver.net/ipb/index.php?act=Online&amp;CODE=listall&amp;sort_key=click">Letztem Klick</a>, <a href="http://235.xxl.bwserver.net/ipb/index.php?act=Online&amp;CODE=listall&amp;sort_key=name&amp;sort_order=asc&amp;show_mem=reg">Mitgliedername</a>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td>

</tr>

<tr>

<td><span style="color: black; font-weight: bold;">Farblegende</span>:<span style="color: red;"> Administrator</span> | <span style="color: blue; font-weight: bold;">Team-Dominion</span> | Mitglieder</td>

</tr>

also ... ober die leerzeichen bringen doch nichts ... ( die sind naturlich für die weise zeile verantwortlich)

und unten das gekennzeichnete <td> mit <td class="row2"> ersetzen...

dann müsste es passen

Edited by Fabio

Share this post


Link to post

Das muß so aussehen:

<td class='row4'><span style='color:black;font-weight:bold'>Farblegende</span>:<span style='color:red'> Administrator</span> | <span style='color:blue;font-weight:bold'>Team-Dominion</span> | Mitglieder</td>

Und bei der anderen Sache hab ich von einem geschützten Leerzeichen &nbsp; gesprochen, nicht von einem Zeilenumbruch <br />. ;)

Share this post


Link to post

Thx @Stefan, Fabio, Rigo

Hat geklappt.... super :rolleyes:

Ist halt noch alles Neuland für mich - aber wenigstens beschäftige ich mich damit und versuche mein bestes.

Share this post


Link to post

Schön das es nun geklappt hat. :)

Jeder hat mal angefangen und wenn hier jemand, so wie ich manchmal, wie wild mit Fachbegriffen um sich wirft, erst in Deckung gehen und dann nachfragen. :)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×