Zu Problem 1:
Öffne: viewforum.php
Finde:
Code: Alles auswählen
if( ( $replies + 1 ) > $board_config['posts_per_page'] )
{
$total_pages = ceil( ( $replies + 1 ) / $board_config['posts_per_page'] );
$goto_page = ' [ <img src="' . $images['icon_gotopost'] . '" alt="' . $lang['Goto_page'] . '" title="' . $lang['Goto_page'] . '" />' . $lang['Goto_page'] . ': ';
$times = 1;
for($j = 0; $j < $replies + 1; $j += $board_config['posts_per_page'])
{
$goto_page .= '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=" . $topic_id . "&start=$j") . '">' . $times . '</a>';
if( $times == 1 && $total_pages > 4 )
{
$goto_page .= ' ... ';
$times = $total_pages - 3;
$j += ( $total_pages - 4 ) * $board_config['posts_per_page'];
}
else if ( $times < $total_pages )
{
$goto_page .= ', ';
}
$times++;
}
$goto_page .= ' ] ';
}
else
{
$goto_page = '';
}
Ersetze mit:
Code: Alles auswählen
if( ( $replies + 1 ) > $board_config['posts_per_page'] )
{
$total_pages = ceil( ( $replies + 1 ) / $board_config['posts_per_page'] );
$goto_page = '' . $lang['Goto_page'] . ': ';
$times = 1;
for($j = 0; $j < $replies + 1; $j += $board_config['posts_per_page'])
{
$goto_page .= '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=" . $topic_id . "&start=$j") . '">' . $times . '</a>';
if( $times == 1 && $total_pages > 4 )
{
$goto_page .= ' ... ';
$times = $total_pages - 3;
$j += ( $total_pages - 4 ) * $board_config['posts_per_page'];
}
else if ( $times < $total_pages )
{
$goto_page .= ', ';
}
$times++;
}
$goto_page .= '';
}
else
{
$goto_page = '';
}
So ist schonmal der ungewünschte Part weg.
Jetzt die Ausrichtung:
Öffne: style.css
Finde:
Code: Alles auswählen
.gotopage {
float: middle;
font-size: 10px;
line-height: 1em;
margin: 3px 0 1px 0;
}
Ersetze mit:
Code: Alles auswählen
.gotopage {
float: right;
font-size: 10px;
line-height: 1em;
margin-top: -15px;
padding: 3px;
}
Öffne: viewforum_body.tpl
Finde:
Code: Alles auswählen
<br /><span class="random">von {topicrow.TOPIC_AUTHOR} am {topicrow.FIRST_POST_TIME}</span><span class="gotopage">{topicrow.GOTO_PAGE}</span></td>
Ersetze mit:
Code: Alles auswählen
<br /><div class="viewforumbox"><span class="random">von {topicrow.TOPIC_AUTHOR} am {topicrow.FIRST_POST_TIME}</span><span class="gotopage">{topicrow.GOTO_PAGE}</span></div></td>
Füge irgendwo in deiner style.css folgende Klasse ein:
Zu Problem 2:
Öffne: viewforum.php
Finde:
Code: Alles auswählen
if( $topic_type == POST_ANNOUNCE )
{
$topic_type = $lang['Topic_Announcement'] . ' ';
}
else if( $topic_type == POST_STICKY )
{
$topic_type = $lang['Topic_Sticky'] . ' ';
}
else
{
$topic_type = '';
}
Ersetze mit:
Code: Alles auswählen
if( $topic_type == POST_ANNOUNCE )
{
$topic_type = $lang['Topic_Announcement'] . '';
}
else if( $topic_type == POST_STICKY )
{
$topic_type = $lang['Topic_Sticky'] . '';
}
else
{
$topic_type = '';
}
Wie du siehst ist da ein Leerzeichen zwischen den beiden '' gewesen.
Das selbe findest du übrigens auch bei Umfragen
und verschobenen Topics
Ob das bei den globalen Ankündigungen jetzt auch weg ist kann ich nicht sagen. Das ist doch ein extra Mod im phpBB2 oder nicht?
Zu Problem 3:
So weit komme ich in deinem Forum nicht um mir das live anzusehen.
Ich empfehle dir für solche spielereien den Firefox mit der Firebug Erweiterung. Da kannste dann nen Rechtsklick auf die 4 Grafiken machen, gehst auf Inspect Element und kannst im Live Betrieb mit den paddings und margins rumexperimentieren ohne was zu verbasteln. Wenn du dann weisst was du wie ändern musst kannst du die enstsprechende Änderung im Stylesheet vornehmen.
Grüße
Roman