ich habs doch noch gefunden ... ich wusste doch dass es zu dem MOD noch ein "Codeschnipsel" gab

http://www.phpbb.com/community/viewtopi ... 8#p2329918
Markus
Code: Alles auswählen
open
index.php
find
'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
after, add
// rss feed mod begin
'L_RSS' => $lang['rss'],
// rss feed mod end
find
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
after, add
// rss feeds mod begin
$rss_url = "rss." .$phpEx . "?f=" . $this_forum_id;
$l_rss = $board_config['sitename'] . " " . $lang['rss_forum'];
// rss feeds mod end
find
'FORUM_DESC' => $forum_data[$j]['forum_desc'],
after, add
// rss feeds mod begin
'U_RSS' => $rss_url,
'L_RSS' => $l_rss,
'RSS_IMAGE' => $images['icon_rss_small'],
// rss feeds mod end
open
templates/subSilver/index_body.tpl
find
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
replace, with
<th class="thTop" nowrap="nowrap"> {L_LASTPOST} </th>
<th class="thCornerR" nowrap="nowrap"> {L_RSS} </th>
find
<td class="rowpic" colspan="3" align="right"> </td>
replace, with
<td class="rowpic" colspan="4" align="right"> </td>
find
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
after, add
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"><a href="{catrow.forumrow.U_RSS}" target="_blank"><img src="{catrow.forumrow.RSS_IMAGE}" alt="{catrow.forumrow.L_RSS}" border="0"></a></td>
open
forumview.php
find
'FOLDER_ANNOUNCE_NEW_IMG' => $images['folder_announce_new'],
after, add
// rss feeds mod begin
'L_RSS' => $lang['rss'],
// rss feeds mod end
find
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
after, add
// rss feeds mod begin
$rss_url = "rss." .$phpEx . "?t=" . $topic_id;
$l_rss = $board_config['sitename'] . " " . $lang['rss_topic'];
// rss feeds mod end
find
'NEWEST_POST_IMG' => $newest_post_img,
after, add
// rss feeds mod begin
'U_RSS' => $rss_url,
'L_RSS' => $l_rss,
'RSS_IMAGE' => $images['icon_rss_small'],
// rss feeds mod end
open
templates/subSilver/viewforum_body.tpl
find
<th align="center" class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
replace, with
<th align="center" class="thTop" nowrap="nowrap"> {L_LASTPOST} </th>
<th class="thCornerR" nowrap="nowrap"> {L_RSS} </th>
find
<td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
replace, with
<td class="row3" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
<td class="row2" align="center" valign="middle" nowrap="nowrap"><a href="{topicrow.U_RSS}" target="_blank"><img src="{topicrow.RSS_IMAGE}" alt="{topicrow.L_RSS}" border="0"></a></td>
find
<td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
replace, with
<td class="row1" colspan="7" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
find
<td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}: {S_SELECT_TOPIC_DAYS}
replace, with
<td class="catBottom" align="center" valign="middle" colspan="7" height="28"><span class="genmed">{L_DISPLAY_TOPICS}: {S_SELECT_TOPIC_DAYS}
open
subSilver.cfg
find
$images['icon_rss'] = "$current_template_images/rss2.png";
after, add
$images['icon_rss_small'] = "$current_template_images/rss.png";
open
lanugage/lang_english/lang_main.php
find
$lang['rss_latest'] = "latest topics RSS feed";
after, add
$lang['rss'] = "RSS";
Problem besteht weiterhinLeider wird der Verweiss {catrow.forumrow.U_RSS} nur auf rss.php?f= verlinkt!
Also immer noch ohne ID
Was mache ich falsch?