Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add column for RSS
#1
This tutorial helps you to add a column for RSS after last post Smile
ACP-->Themes and Templates-->Templates-->Your Theme-->open "forumbit_depth1_cat", find:
PHP Code:
<td class="thead" colspan="5"
replace with:
PHP Code:
<td class="thead" colspan="6"
in the same template find:
PHP Code:
<td class="tcat" width="150" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td
under add:
PHP Code:
<td class="tcat" width="60" align="center" style="white-space: nowrap"><span class="smalltext"><strong>RSS</strong></span></td
Open "forumbit_depth2_forum" and find:
PHP Code:
<td class="{$bgcolor}valign="top" align="right" style="white-space: nowrap">{$lastpost}</td
Under add:
PHP Code:
<td class="{$bgcolor}valign="top" align="center" style="white-space: nowrap"><a href="{$mybb->settings['bburl']}/syndication.php?fid={$forum['fid']}&limit=15" ><img src="{$theme['imgdir']}/rss.png"  border="0" /> </a></td
open "forumdisplay_subforums", find:
PHP Code:
<td class="thead" colspan="5" 
replace with:
PHP Code:
<td class="thead" colspan="6" 
in the same template find:
PHP Code:
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td
and under add:
PHP Code:
<td class="tcat" width="10%" align="center"> <span class="smalltext"><strong>RSS</strong></span

PS: upload attachment in you image folder :becky:


Finished :wave:


Official Tutorial: MyBBItalia - Inserire colonna RSS


Attached Files Image(s)
   
Reply
#2
Excellent Tutorial Giangy94

But what is the way to add rss content in that column ?

and please also for what purpose RSS is used, sorry I didnot know much about RSS

Over all, it is looking excellent Smile
Reply
#3
You can read information about rss here: http://en.wikipedia.org/wiki/RSS and the way is this:
PHP Code:
<td class="{$bgcolor}valign="top" align="center" style="white-space: nowrap"><a href="{$mybb->settings['bburl']}/syndication.php?fid={$forum['fid']}&limit=15" ><img src="{$theme['imgdir']}/rss.png"  border="0" /> </a></td

yes, ketto93
this tutorial is mine, as you can see all modifications are not euqal, you know that i don't copy to others people because i respect the work of others and I can jurors tou you i lost time to do it so now i'm very angry but very very very AngryAngryAngryAngryAngryAngryAngryAngryAngry


Why did you delete your post?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)