Seite 1 von 1

Top Topics on Index ?

Verfasst: 03.05.2003 23:44
von mixmax
Top Topics on Index
Adds small table (3 columns) to the top of the forum index with the 5 latest posts, 5 most replied to topics and the 5 most viewed topics.
http://www.phpbbhacks.com/viewhack.php?id=1238

Hab ich mal zum Testen eingebaut (Testboard Hier )

Nur werden die Titel nicht Angezeigt ? ? ? Warum :roll:

Code: Alles auswählen

$lang['Forum'] = 'Forum';
$lang['Category'] = 'Kategorie';
$lang['Topic'] = 'Thema';
$lang['Topics'] = 'Themen';
$lang['TopicsRecent'] = "Neue Themen";
$lang['TopicsPopular'] = "Populäre Themen (durch Antwort)";
$lang['TopicsPopularView'] = "Populäre Themen (durch Ansicht)";
$lang['Replies'] = 'Antworten';
$lang['Views'] = 'Aufrufe';
$lang['Post'] = 'Beitrag';
$lang['Posts'] = 'Beiträge';
Ich hab die " mal durch ' ersetzt , aber ohne erfolg :-?

Verfasst: 04.05.2003 10:19
von saerdnaer
schau mal ob du die änderungen and er index.php wirklich alle gemacht hast... wenn ja poste die index.php mal als link...

ah

Verfasst: 04.05.2003 12:44
von mixmax

Verfasst: 04.05.2003 13:59
von saerdnaer
okay ist ein fehler in der anleitung.

index.php:

suchen:

Code: Alles auswählen

'L_MARK_FORUMS_READ' => $lang['Mark_all_forums'], 
danach einfügen:

Code: Alles auswählen

'L_TOPICSRECENT' => $lang['TopicsRecent'],
'L_TOPICSPOPULAR' => $lang['TopicsPopular'],
'L_TOPICSPOPULARVIEW' => $lang['TopicsPopularView'],
ah

Verfasst: 04.05.2003 19:24
von mixmax
Danke,jetzt Funzt es 8)

Verfasst: 20.05.2008 09:02
von birtaneyiz
möchte das gerne auch einbauen, ich will aber das bei mir nur die 5 letzten Topics angezeigt werden aber nur für user habe damit probiert geht aber nicht:

Code: Alles auswählen

<!-- BEGIN switch_user_logged_in -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr> 
	<th width="25%" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICSRECENT}&nbsp;</th>
	<th width="38%" colspan="2" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICSPOPULAR}&nbsp;</th>
	<th width="37%" colspan="2" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICSPOPULARVIEW}&nbsp;</th>
  </tr>
  <!-- BEGIN topicrecentpopular -->
  <tr> 
	<td width="29%" class="row2" align="left" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSRECENT}</span></td>
	<td width="31%" class="row2" align="left" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULAR}</span></td>
	<td width="6%" class="row2" align="center" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULARC}</span></td>
	<td width="29%" class="row2" align="left" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULARVIEW}</span></td>
	<td width="6%" class="row2" align="center" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULARVIEWC}</span></td>
  </tr>
  <!-- END topicrecentpopular -->
</table>
<!-- END switch_user_logged_in -->
danke im voraus.

mfg.

birtaneyiz