|
Page 1 of 1
|
GMan2
Gary
Joined: August 2011
Posts: 4
Location: Somewhere between Lost & Totally Screwed
|
Wanting To Add The Atom Feed Icons To....
Overall_Header and Forumlist_Body files....
Hi, would anyone happen to know how to go about adding the feed icon to appear on the newest version of Black Pearl? I've read instructions on how to get them to appear on Subsilver2, but the coding is not the exact same within Black Pearl.
I'd GREATLY appreciate it....Thanks for reading.
|
#1 Wed 24 Aug, 2011 21:00 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Mighty Gorgon
Luca Libralato
Joined: August 2006
Posts: 7191
Location: Borgo San Michele
|
Re: Wanting To Add The Atom Feed Icons To....
Hi GMan2, and welcome here.
Can you please post here the instructions for subSilver 2 so we can try to help?
Thanks
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#2 Wed 24 Aug, 2011 22:15 |
|
GMan2
Gary
Joined: August 2011
Posts: 4
Location: Somewhere between Lost & Totally Screwed
|
Re: Wanting To Add The Atom Feed Icons To....
Sure thing... These are the posts that I found on the PHPBB Support Forum...Credit to wouterv for supplying that...And that one is strictly for the Overall_Header of SubSilver2...
wouterv wrote: Add feed icon in forum header for SubSilver2 style
Step 1:
Copy: styles/prosilver/theme/images/feed.gif
To: styles/subsilver2/theme/images/feed.gif
Step 2:
Edit: styles/subsilver2/template/overall_header.html (and keep a copy of the original file)
Find:
- <!-- IF S_USER_LOGGED_IN --> <a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> {L_PROFILE}</a><!-- ENDIF -->
- <!-- ENDIF -->
Step 3:
Add after:
- <!-- IF S_ENABLE_FEEDS --> <a type="application/rss+xml" href="{U_FEED}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {SITENAME}" title="{L_FEED} - {SITENAME}" /></a></li><!-- ENDIF -->
Step 4:
Purge the board cache.
And then the forumlist_body for Subsilver2 I was able to get from HERE...With credit going to Prosk8er .
open: styles/subsilver2/template/forumlist_body.html
find: (around line 40)
<tr>
<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
<td class="row1" width="100%">
after add:
<!-- 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 -->
open: styles/subsilver2/theme/stylesheet.css
find: (around line 668)
.username-coloured {
font-weight: bold;
}
after add:
/* Feed icon in forumlist_body.html */
a.feed-icon-forum {
float: right;
margin: 3px;
}
*Just make sure you catch Step 1 in Overall_Header with placing the feed.gif in the correct file and you are done.
|
#3 Wed 24 Aug, 2011 23:15 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Wanting To Add The Atom Feed Icons To....
For what Wouterv says have a look at menu_block.html instead of overall header Gman2
PS .. and don't expect the exact same code to be there (blackpearl does not use images there )
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#4 Thu 25 Aug, 2011 00:11 |
|
spydie
Joined: December 2008
Posts: 1796
Location: In the Boxes
|
Re: Wanting To Add The Atom Feed Icons To....
yep.
menu_block is where to look.
i remember that one , from editing frozen style for PhpBB3
____________ Out of Order
|
#5 Thu 25 Aug, 2011 00:26 |
|
GMan2
Gary
Joined: August 2011
Posts: 4
Location: Somewhere between Lost & Totally Screwed
|
Re: Wanting To Add The Atom Feed Icons To....
EXCELLENT!!! Thanks a lot for the help getting that thing onto my Index page.
Does anyone know how I can get them to display on forumlists_body?
|
#6 Thu 25 Aug, 2011 01:52 |
|
spydie
Joined: December 2008
Posts: 1796
Location: In the Boxes
|
Re: Wanting To Add The Atom Feed Icons To....
hm.
why don´t you just switch to Icy, and stop having these problems ??
____________ Out of Order
|
#7 Thu 25 Aug, 2011 08:18 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Wanting To Add The Atom Feed Icons To....
what exactly is the problem on forumlist?
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#8 Thu 25 Aug, 2011 13:47 |
|
spydie
Joined: December 2008
Posts: 1796
Location: In the Boxes
|
Re: Wanting To Add The Atom Feed Icons To....
I think, he want´s something like here on Icy. With the feedboton included
____________ Out of Order
|
#9 Thu 25 Aug, 2011 15:46 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Wanting To Add The Atom Feed Icons To....
is n't that exactly what Prosk8er's edits would do?
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#10 Thu 25 Aug, 2011 15:56 |
|
spydie
Joined: December 2008
Posts: 1796
Location: In the Boxes
|
Re: Wanting To Add The Atom Feed Icons To....
yep.
his problem is, that MG themes are slightly different to Original PhpBB themes.
so he got the edit from Prosk8er , but could´nt find the lines in topic list body
____________ Out of Order
|
#11 Thu 25 Aug, 2011 16:14 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Wanting To Add The Atom Feed Icons To....
I really can't imagine this being a problem, as far as I checked there's 2 x forumrow.FORUM_FOLDER_IMG in the forumlist file.. do the edit on the second "find" and it should work just fine
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
Edited by Joshua203, Thu 25 Aug, 2011 16:35: cleared it up a bit |
#12 Thu 25 Aug, 2011 16:34 |
|
GMan2
Gary
Joined: August 2011
Posts: 4
Location: Somewhere between Lost & Totally Screwed
|
Re: Wanting To Add The Atom Feed Icons To....
Joshua203 wrote: [View Post] I really can't imagine this being a problem, as far as I checked there's 2 x forumrow.FORUM_FOLDER_IMG in the forumlist file.. do the edit on the second "find" and it should work just fine
Hey Guys,
Sorry for keeping you wondering. I was having some kind of trouble logging into the forum using Firefox. So I was unable to reply.
Joshua, yep...that got it. I had it on the first "find"....Second one is working like a charm.
Spydie....I've JUST recently discovered "Icy"....so I'm not sure if I'm willing to convert my forum over to it just yet. I'd like to see a version where it fills my monitor screen. Right now I'm sitting with a 32" flat screen and the forum occupies just over half.....so it's this big screen with a small forum appearing. I know I...could change the global width setting once I were to set up the software...but I'd just rather see it already set that way.
I also have over 3000 members of an over 6000 Memberlist that are currently using the Black Pearl theme for PHPBB3....so at this time, it was quicker just to get the coding to make the feed icon appear.
But if everything I'm seeing on this forum is already built in...without needing me to install MODS, then I may very well jump over to Icy.....I'll just have to play around with it a bit first.
|
#13 Thu 25 Aug, 2011 19:24 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Wanting To Add The Atom Feed Icons To....
I've already marked this one solved but after I did I noticed your link home..
the outcome of what you have now in the menublock is this:
<a type="application/rss+xml" href="http://boots-n-heels.com/forum/feed.php">Feed<img src="./styles/black_pearl/theme/images/feed.gif" alt="Feed - Boots-N-Heels" title="Feed - Boots-N-Heels" /></a> <img src="./styles/black_pearl/theme/images/menu_sep.png" alt="" /> </li>
I think this would be better:
<a type="application/rss+xml" href="http://boots-n-heels.com/forum/feed.php">Feed <img src="./styles/black_pearl/theme/images/feed.gif" alt="Feed - Boots-N-Heels" title="Feed - Boots-N-Heels" /></a> <img src="./styles/black_pearl/theme/images/menu_sep.png" alt="" />
(removed the lost "li closing tag" and added a space after "Feed")
PS.. it might even look better if you loose the word "Feed" and move the rss image waaaay to the end or completely to the right
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#14 Sat 27 Aug, 2011 13:39 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
Similar Topics
Similar Topics
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|