ezPortal -->RECENT_TOPICS
Verfasst: 18.03.2003 01:39
werden nicht angezeigt.
wer kann mir sagen woran es liegen könnte?
wer kann mir sagen woran es liegen könnte?
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
// Exceptional Forums for Recent Topics, eg. '5,40,41,51' (note: my Recent Topics script has its own permission checking, so you can leave this variable blank)
$CFG['exceptional_forums'] = '5,40,41,51';
und so hab ich den code auch in die portal_body.tpl gestellt. ist da was dran falsch? die zweite variante wäre die "Classic" version, also die die nicht von unten nach oben scrollt.#-----[ OPEN ]-------------------------------------------------------
#
templates/subSilver/portal_body.tpl
#
#-----[ FIND ]---------------------------------------------
#
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_STATISTICS}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS}<br />{NEWEST_USER}<br /><br/>{TOTAL_POSTS} {TOTAL_TOPICS}<br /> </span></td>
</tr>
</table>
<br />
#
# Scrolling Version
#-----[ AFTER ADD ]----------------------------------------
#
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_RECENT_TOPICS}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">
<marquee id="recent_topics" behavior="scroll" direction="up" height="200" scrolldelay="100" scrollamount="2">
<!-- BEGIN recent_topic_row -->
» <a href="{recent_topic_row.U_TITLE}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{recent_topic_row.L_TITLE}</a><br />
by <a href="{recent_topic_row.U_POSTER}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{recent_topic_row.S_POSTER}</a> on {recent_topic_row.S_POSTTIME}<br /><br />
<!-- END recent_topic_row -->
</marquee>
</span></td>
</tr>
</table>
<br />
Wenn Du keine IDs angibst, dann werden alle Foren je nach Berechtigung angezeigt (also für Dich als Admin werden alle angezeigt). Gibst Du dort einige ForenIDs an, dann werden diese auch für Dich als Admin nicht angezeigt (z.B. wenn Du nur ein oder zwei Foren auslesen willst).SÜDGIXXER hat geschrieben:zu 1) ist es also egal ob ich nun die forums id einstelle oder nicht?
Code: Alles auswählen
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_RECENT_TOPICS}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">
<marquee id="recent_topics" behavior="scroll" direction="up" height="200" scrolldelay="100" scrollamount="2"><!-- BEGIN recent_topic_row -->» <a href="{recent_topic_row.U_TITLE}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{recent_topic_row.L_TITLE}</a><br />by <a href="{recent_topic_row.U_POSTER}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{recent_topic_row.S_POSTER}</a> on {recent_topic_row.S_POSTTIME}<br /><br /><!-- END recent_topic_row --></marquee>
</span></td>
</tr>
</table>