Seite 2 von 3

Verfasst: 04.07.2008 09:19
von Markus67
Hi ...

ich habs doch noch gefunden ... ich wusste doch dass es zu dem MOD noch ein "Codeschnipsel" gab :wink:
http://www.phpbb.com/community/viewtopi ... 8#p2329918

Markus

Verfasst: 05.07.2008 13:38
von christin-e
Danke Markus für den Hinweis :wink:
Leider wird der Verweiss {catrow.forumrow.U_RSS} nur auf rss.php?f= verlinkt!
Also immer noch ohne ID :cry:
Was mache ich falsch?
LG
Tine

Verfasst: 06.07.2008 19:41
von Markus67
Hi ...

ich habs gefunden ... dann versuche es mal hiermit :wink:

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">&nbsp;{L_LASTPOST}&nbsp;</th> 


replace, with 

   <th class="thTop" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th> 
   <th class="thCornerR" nowrap="nowrap">&nbsp;{L_RSS}&nbsp;</th> 


find 

   <td class="rowpic" colspan="3" align="right">&nbsp;</td> 


replace, with 

   <td class="rowpic" colspan="4" align="right">&nbsp;</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">&nbsp;{L_LASTPOST}&nbsp;</th> 


replace, with 

     <th align="center" class="thTop" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th> 
     <th class="thCornerR" nowrap="nowrap">&nbsp;{L_RSS}&nbsp;</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}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp; 


replace, with 

     <td class="catBottom" align="center" valign="middle" colspan="7" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp; 



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"; 
Markus

Verfasst: 06.07.2008 21:58
von christin-e
Danke für Deine Hilfe Markus,
habe den Schnipsel so eingebaut wie
http://www.phpbb.com/community/viewtopi ... 8#p2329918
beschrieben :wink:
Leider wird der Verweiss {catrow.forumrow.U_RSS} nur auf rss.php?f= verlinkt!
Also immer noch ohne ID
Was mache ich falsch?
Problem besteht weiterhin
:oops:

Verfasst: 07.07.2008 09:20
von Markus67
Hi ...

hast du den oben geposteten Code auch versucht? ... bei einem Kunden vor mir klappt das wunderbar.

Markus

Verfasst: 07.07.2008 09:39
von christin-e
Hallo Markus,
der Code ist wie beschrieben eingebaut, leider funktioniert er bei mir nicht :cry:

Verfasst: 07.07.2008 12:53
von Markus67
Hi ...

kannst du bitte mal deine index.php als txt-Datei zur Verfügung stellen
KB:datei

Markus

Verfasst: 07.07.2008 15:07
von christin-e
index.php
Danke :wink:

Verfasst: 08.07.2008 22:54
von christin-e
Keine Idee? :roll:

Verfasst: 18.07.2008 16:49
von christin-e
*verzweifel* :cookie: