Page 2 of 2

Subsilver2 Display feed-icon

Posted: 22 Jul 2010, 13:10
by Steve
open styles/subsilver2/theme/stylesheet.css
find:

Code: Select all

.username-coloured {
	font-weight: bold;
}
after add:

Code: Select all

/* Feed icon in forumlist_body.html */
a.feed-icon-forum {
	float: right;
	margin: 3px;
}
open styles/subsilver2/template/forumlist_body.html
find:

Code: Select all

				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
add after:

Code: Select all

			<!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a><!-- ENDIF -->
subindex.PNG
open styles/subsilver2/template/viewforum_body.html
find:

Code: Select all

	<div id="pageheader">
after add:

Code: Select all

    <!-- IF S_ENABLE_FEEDS and S_ENABLE_FEEDS_FORUM and S_FORUM_ID -->
    <a class="feed-icon-forum" title="{L_FEED} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" title="{L_FEED} - {FORUM_NAME}" alt="{L_FEED}" /></a>
    <!-- ENDIF -->
subforum.PNG
open styles/subsilver2/template/viewtopic_body.html
find:

Code: Select all

					<!-- IF U_BUMP_TOPIC --><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a><!-- ENDIF -->
after add:

Code: Select all

 |
				<!-- IF S_ENABLE_FEEDS and S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><a title="{L_FEED} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}"><img src="{T_THEME_PATH}/images/feed.gif" title="{L_FEED} - {TOPIC_TITLE}" alt="{L_FEED}" /></a>
<!-- ENDIF -->
subtopic.PNG
Refresh template and browser cahe also upload this feed image to your style/theme/images folder
feed.gif

Re: Display feed-icon

Posted: 22 Jul 2010, 17:14
by Makoto
thankss

Re: Display feed-icon

Posted: 22 Jul 2010, 17:16
by Steve
no prob forgot to mention about the feed image added to my post above ;)

Re: Display feed-icon

Posted: 03 Aug 2010, 20:51
by Steve
Some nice rss feed icons i made with paintshop pro 12 using a glass globe effect and layers .
Demo:
feed.PNG
Download:
rssfeeds.zip
but remeber to change the code for the image source in either the index_body.html ,viewforum_body.html or viewtopic_body.html finds for example.

find:

Code: Select all

<img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" />
replace with:

Code: Select all

<img src="{T_THEME_PATH}/images/feedpink.png" alt="{L_FEED} - {forumrow.FORUM_NAME}" />
all ichanged was:

Code: Select all

feed.gif"
too:

Code: Select all

feedpink.png
all file formats are .png