3.3.x Feed Icons

For support and discussion related to templates and themes in phpBB 3.3.
Post Reply
atonicens
Registered User
Posts: 110
Joined: Fri Feb 14, 2020 4:42 pm

3.3.x Feed Icons

Post by atonicens »

Sorry if this has been posted somewhere else and I've missed it, but I'm looking to find a way to show Feed Icons on my forum

I found this old topic: viewtopic.php?t=2380891

It tells me to:

Open styles/prosilver/template/forumlist_body.html

Find:

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 -->
Replace with:

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 -->
But I can't find this code. Another old post talked about something similar in the Overall Header but again I couldn't find the code referenced there.

Is there a new way in 3.3.x to enable a feed icon for each forum on the site?

Thanks in advance
User avatar
Mannix_
Registered User
Posts: 1020
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: 3.3.x Feed Icons

Post by Mannix_ »

the code is there just after <div class="list-inner"> in forumlist_body.html
-=-=-=-=-=-=-=-=-=-=-=-=-My Styles-=-=-=-=-=-=-=-=-=-=-=-=-
HexagonHexagonRebornCleanSilverProject Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Need help with styling or want me to port a style to 3.3.x etc. contact me here or here.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
atonicens
Registered User
Posts: 110
Joined: Fri Feb 14, 2020 4:42 pm

Re: 3.3.x Feed Icons

Post by atonicens »

Thanks, I'm just being an idiot. Found it now and enabled in the per forum but still can't find out to have an overall header icon for the whole site.

Tried following the instructions here for 'Add feed icon in forum header' but still can't see how these apply in 3.3

viewtopic.php?t=1939245
User avatar
Mannix_
Registered User
Posts: 1020
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: 3.3.x Feed Icons

Post by Mannix_ »

miket80 wrote:
Tue Feb 18, 2020 12:01 pm
Thanks, I'm just being an idiot. Found it now and enabled in the per forum but still can't find out to have an overall header icon for the whole site.

Tried following the instructions here for 'Add feed icon in forum header' but still can't see how these apply in 3.3

viewtopic.php?t=1939245
Those are instructions for 3.0 so they are outdated but I made this and I THINK it should work as intended

Code: Select all

		<li class="rightside">
			<a title="{L_FEED} - {SITENAME}" href="{U_FEED}">
				<i class="icon fa-rss-square fa-fw icon-orange" aria-hidden="true"></i><span class="sr-only">{L_FEED} - {SITENAME}</span>
			</a>
		</li>	
paste that in navbar_header.html file before <!-- EVENT overall_header_navigation_prepend --> for example this is gonna position it on the right side of the navbar if you remove the rightside class it will show it before faq link
-=-=-=-=-=-=-=-=-=-=-=-=-My Styles-=-=-=-=-=-=-=-=-=-=-=-=-
HexagonHexagonRebornCleanSilverProject Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Need help with styling or want me to port a style to 3.3.x etc. contact me here or here.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
P_I
Registered User
Posts: 1443
Joined: Tue Mar 01, 2011 8:35 pm
Location: Staying home - Western Canada
Contact:

Re: 3.3.x Feed Icons

Post by P_I »

A bit late to the discussion but Knowledge Base - FAQ: phpBB ATOM feeds hasn't kept up with changes made to the default prosilver style since phpBB 3.2 where the img src="{T_THEME_PATH}/images/feed.gif" no longer exists.

Here on phpBB.com, as shown on index.php is the Image icon is located at

Code: Select all

https://www.phpbb.com/assets/images/images/feed-icon-14x14.png
I fixed my boards by copying that icon and changed the img src coding to point to the new file.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
User avatar
ssl
Registered User
Posts: 470
Joined: Sat Feb 08, 2020 2:15 pm
Location: France
Name: Fred
Contact:

Re: 3.3.x Feed Icons

Post by ssl »

Hi
In the forumlist_body.html of Prosilver you have this :

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}">
									<i class="icon fa-rss-square fa-fw icon-orange" aria-hidden="true"></i><span class="sr-only">{L_FEED} - {forumrow.FORUM_NAME}</span>
								</a>
							-->
Delete <!-- and --> and clear the cache
Sorry for my English ... I do my best!
Post Reply

Return to “[3.3.x] Styles Support & Discussion”