Icy Phoenix

     
 

SOLVED Wanting To Add The Atom Feed Icons To....

SOLVED Wanting To Add The Atom Feed Icons To....

Article
Reply with quote    Download Post  
Post 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.  



 
GMan2 - View user's profile Send private message  
GMan2 [ Wed 24 Aug, 2011 21:00 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


SOLVED Wanting To Add The Atom Feed Icons To....

Comments
Reply with quote    Download Post  
Post 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



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Wed 24 Aug, 2011 22:15 ]
Reply with quote    Download Post  
Post 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:
Code: [Download] [Hide]
  1. <!-- 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 --> 
  2.     <!-- ENDIF --> 


Step 3:
Add after:
Code: [Download] [Hide]
  1. <!-- 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)

Code: [Download] [Hide] [Select]
          <tr>
             <td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
             <td class="row1" width="100%">


after add:
Code: [Download] [Hide] [Select]
                <!-- 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)
Code: [Download] [Hide] [Select]
    .username-coloured {
       font-weight: bold;
    }


after add:
Code: [Download] [Hide] [Select]
    /* 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.  



 
GMan2 - View user's profile Send private message  
GMan2 [ Wed 24 Aug, 2011 23:15 ]
Reply with quote    Download Post  
Post 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 )



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Thu 25 Aug, 2011 00:11 ]
Reply with quote    Download Post  
Post 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



 
spydie - View user's profile Send private message  
spydie [ Thu 25 Aug, 2011 00:26 ]
Reply with quote    Download Post  
Post 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?



 
GMan2 - View user's profile Send private message  
GMan2 [ Thu 25 Aug, 2011 01:52 ]
Reply with quote    Download Post  
Post Re: Wanting To Add The Atom Feed Icons To.... 
 
hm.

why don´t you just switch to Icy, and stop having these problems ??



 
spydie - View user's profile Send private message  
spydie [ Thu 25 Aug, 2011 08:18 ]
Reply with quote    Download Post  
Post Re: Wanting To Add The Atom Feed Icons To.... 
 
what exactly is the problem on forumlist?



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Thu 25 Aug, 2011 13:47 ]
Reply with quote    Download Post  
Post Re: Wanting To Add The Atom Feed Icons To.... 
 
I think, he want´s something like here on Icy. With the feedboton included



 
spydie - View user's profile Send private message  
spydie [ Thu 25 Aug, 2011 15:46 ]
Reply with quote    Download Post  
Post Re: Wanting To Add The Atom Feed Icons To.... 
 
is n't that exactly what Prosk8er's edits would do?



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Thu 25 Aug, 2011 15:56 ]
Reply with quote    Download Post  
Post 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



 
spydie - View user's profile Send private message  
spydie [ Thu 25 Aug, 2011 16:14 ]
Reply with quote    Download Post  
Post 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  



 
Edited by Joshua203, Thu 25 Aug, 2011 16:35: cleared it up a bit
Joshua203 - View user's profile Send private message  
Joshua203 [ Thu 25 Aug, 2011 16:34 ]
Reply with quote    Download Post  
Post 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.  



 
GMan2 - View user's profile Send private message  
GMan2 [ Thu 25 Aug, 2011 19:24 ]
Reply with quote    Download Post  
Post 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:
Code: [Download] [Hide] [Select]
            <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>&nbsp;&nbsp;<img src="./styles/black_pearl/theme/images/menu_sep.png" alt="" />&nbsp;</li>


I think this would be better:
Code: [Download] [Hide] [Select]
            <a type="application/rss+xml" href="http://boots-n-heels.com/forum/feed.php">Feed&nbsp;<img src="./styles/black_pearl/theme/images/feed.gif" alt="Feed - Boots-N-Heels" title="Feed - Boots-N-Heels" /></a>&nbsp;&nbsp;<img src="./styles/black_pearl/theme/images/menu_sep.png" alt="" />&nbsp;


(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



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Sat 27 Aug, 2011 13:39 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1
 
 




 


 

  cron