Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: inter on November 16, 2009, 09:43:32 AM

Title: Simple Icons & RSS
Post by: inter on November 16, 2009, 09:43:32 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2236)

Simple Icons RSS
Icons.png = ID Board (1.png ; 2.png ; 3.png ...)
Destination Icons by Folder: Themes/default/images/s-icons/
Site - http://smfrus.ru/index.php/topic,241.0.html
Author: Inter
Thanks: Adren
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs59.radikal.ru%2Fi165%2F0911%2Fcb%2F30ca6e800146.gif&hash=2ed47c422e34c46fe29ed47347a8210dda8b86b0)
Title: Re: Simple Icons & RSS
Post by: kingkingston on November 17, 2009, 06:43:55 PM
is this like the mod images on board ?
Title: Re: Simple Icons & RSS
Post by: edi67 on November 18, 2009, 03:58:21 AM
really good work, but one question png image are good but with that fuc... IE always there is background grey around, how is possible remove it leaving png format?

one implementation , is possible JUSTIFY the text in description of section for have it more clean ?
look example of my text description in boards:

http://crazyzone.biz/prova/index.php

As u can see the text is not justify and is not good view
Title: Re: Simple Icons & RSS
Post by: kingkingston on November 18, 2009, 04:41:38 AM
Quote from: edi67 on November 18, 2009, 03:58:21 AM
really good work, but one question png image are good but with that fuc... IE always there is background grey around, how is possible remove it leaving png format?

one implementation , is possible JUSTIFY the text in description of section for have it more clean ?
look example of my text description in boards:

http://crazyzone.biz/prova/index.php

As u can see the text is not justify and is not good view
png pictures are blank in background so they take in the colour of the page it is placed on
Title: Re: Simple Icons & RSS
Post by: edi67 on November 18, 2009, 05:07:42 AM
Quote from: kingkingston on November 18, 2009, 04:41:38 AM
png pictures are blank in background so they take in the colour of the page it is placed on

Sorry but may be you DONT use IE 5.5 or 6 because in these browser png pic have grey background and not transparent, control

read bro
PNG Files Do Not Show Transparency in Internet Explorer

Web developers who work with PNG files can use the AlphaImageLoader filter, ... for Microsoft Internet Explorer, visit the following Microsoft Web sites: ...
support.microsoft.com/kb/294714
Title: Re: Simple Icons & RSS
Post by: inter on November 21, 2009, 12:27:40 PM
Hello!
Excuse for my English language:)
If you do not accept pictures in a format.png can safely change them for a format .jpg or .gif
Personally to me all the same than my users use are their problem!
Theme Curve in general is badly displayed in ie6 - start up update the browsers
Title: Re: Simple Icons & RSS
Post by: edi67 on November 21, 2009, 07:04:51 PM
Quote from: Inter on November 21, 2009, 12:27:40 PM
Hello!
Excuse for my English language:)
If you do not accept pictures in a format.png can safely change them for a format .jpg or .gif
Personally to me all the same than my users use are their problem!
Theme Curve in general is badly displayed in ie6 - start up update the browsers

nichego vsem budit horosho
Cpacibo klassni mod ;)
Title: Re: Simple Icons & RSS
Post by: inter on November 26, 2009, 08:05:56 AM
This Code For Theme Prof RC2:

BoardInrex.template.php

Find:

<h4><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a>';

Replace:

<div style="float:left; margin-right: 6px; margin-left: 6px;"><div style="float: left; margin-right: 6px;">
            <img src="Themes/default/images/s-icons/', $board['id'], '.png" width="40" height="40" alt="*" title="', $board['name'], '" /></div></div><h4><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a>&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="Themes/default/images/s-icons/rss.png" alt="rss" /></a>';


MessageIndex.template.php

Find:

<h4><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a>';

Replace:

<div style="float:left; margin-right: 6px; margin-left: 6px;"><div style="float: left; margin-right: 6px;">
            <img src="Themes/default/images/s-icons/', $board['id'], '.png" width="40" height="40" alt="*" title="', $board['name'], '" /></div></div><h4><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a>&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="Themes/default/images/s-icons/rss.png" alt="rss" /></a>';
Title: Re: Simple Icons & RSS
Post by: scimmiotto on December 27, 2009, 10:43:14 AM
tnx, great mod :)
Title: Re: Simple Icons & RSS
Post by: dkharp on January 13, 2010, 06:13:08 PM
Hello,

This is a simple and cool little mod!  I currently have intsalled
QuoteMod Name     Version     
1.    SimplePortal    2.3.1    [ Uninstall ] [ List Files ] [ Delete ]
2.    Favourite (Favorite) Boards    1.1

Im running: Powered by SMF 2.0 RC2 | SMF © 2006–2009, Simple Machines LLC

I had to do a manual install due to a errors because of the favorite mod. But I am still not getting it installed right. can you look at this and tell me what I need to do to get both them to work?
Title: Re: Simple Icons & RSS
Post by: atfosan on March 09, 2010, 08:57:58 AM
Is this mod completely compatible with 2.0 RC3?
Title: Re: Simple Icons & RSS
Post by: atfosan on March 10, 2010, 06:14:05 AM
Quote from: Arantor on March 09, 2010, 10:00:50 AM
Given that RC3 is a little over 12 hours old, it's possible the author hasn't had time to check yet... a little patience perhaps?

I only asked... I have patience and I will wait for answer in needed time that author makes checks and changes.  ;)
Title: Re: Simple Icons & RSS
Post by: cro.senator on May 08, 2010, 01:10:31 AM
lol, how to use this mod? after successful installation i havent seen any changes so far... where am i supposed to insert icon iDs? i use RC3

tnx guys...
Title: Re: Simple Icons & RSS
Post by: teh_Krall on May 08, 2010, 01:22:16 PM
Quote from: cro.senator on May 08, 2010, 01:10:31 AM
lol, how to use this mod? after successful installation i havent seen any changes so far... where am i supposed to insert icon iDs? i use RC3

tnx guys...

When he said simple he wasn't lying :D

There's really nothing to set, install it and it'll show up on your default board which uses the Core theme on SMF 2 RC3. If you want it to work on your other themes you have to copy the .png files from the mod to: YourTheme/images/s-icons.

----

Thanks for the simple and great mod Inter! 
Title: Re: Simple Icons & RSS
Post by: AK_CCM on June 05, 2010, 07:30:57 AM
I love this mod and I use it with my forum at http://forum.pilze-bayern.de

Is it possible to add link-support to the icons?
It would be great, if the users could click on the icons to go into the boards.
Title: Re: Simple Icons & RSS
Post by: Divaksh on June 24, 2010, 04:44:07 AM
I wana fatch all images from default theme.

how to do that?

                if (file_exists($settings['theme_dir'] . '/images/s-icons/' . $board['id'] . '.png'))           
               {$s_icons=$settings['images_url']. '/s-icons/' . $board['id'] . '.png';}
            else
               {$s_icons=$settings['images_url']. '/s-icons/icon.png';}


wot changes shud i make?
Title: Re: Simple Icons & RSS
Post by: Eudemon on December 19, 2010, 05:26:43 PM
i changed the board icon size in boardindex.template
   <td class="window icon"><img src="' . $s_icons . '" width="90" height="50" alt="*" title="', $board['name'], '" /></td>

but the icon size for child boards are still 40X40
what should i do if i want to make the child boards 90X50 also
i can't find the size option for child boards

thx
Title: Re: Simple Icons & RSS
Post by: inter on February 17, 2011, 09:29:20 AM
Quote from: Eudemon369 on December 19, 2010, 05:26:43 PM
i changed the board icon size in boardindex.template
   <td class="window icon"><img src="' . $s_icons . '" width="90" height="50" alt="*" title="', $board['name'], '" /></td>

but the icon size for child boards are still 40X40
what should i do if i want to make the child boards 90X50 also
i can't find the size option for child boards

thx

MessageIndex.template.php
Title: Re: Simple Icons & RSS
Post by: kingkingston on April 26, 2011, 12:01:36 AM
Brilliant new addition  ;D
Title: Re: Simple Icons & RSS
Post by: Eudemon on April 26, 2011, 12:38:41 AM
is there an option to remove the new feature lol
Title: Re: Simple Icons & RSS
Post by: inter on April 26, 2011, 04:35:31 AM
this experiment  :D
Title: Re: Simple Icons & RSS
Post by: bretttina on May 05, 2011, 09:29:39 AM
Hi all,

Please could someone please tell me how to change the board icons in my new theme http://www.dzinerstudio.com/index.php?topic=35.0

I have installed this mod and some of the icons are showing but how do alter them to what ever i want it to display on each individual board, i can not find any answer in the Admin centre on my forum so do i have do do it in the cpanel of my host if so how do i do this please? sorry but i'm no techy so please be gentle with me lol.

Thanks

Brett.

OK I have managed to find some icons here http://www.iconfinder.com/ and i have renamed a couple of them and uploaded them in my cpanel in my hosting to my Theme/images/s-icons folder and i have checked and they are there but how the hell do i get them to be associated with the relevant boards???? to show them???

Brett.
 
Title: Re: Simple Icons & RSS
Post by: inter on May 06, 2011, 12:05:39 AM
{id_forum}.png

1.png, 2.png, 3.png ...
Title: Re: Simple Icons & RSS
Post by: bretttina on May 06, 2011, 06:53:47 AM
hi

i'm really sorry but i have no idea what you mean by this could you please show me in more detail as in from start to finish,

Brett.
Title: Re: Simple Icons & RSS
Post by: inter on May 06, 2011, 06:58:02 AM
http://sharesinvestmentinfo.info/index.php/board,25.0.html

25.png
Title: Re: Simple Icons & RSS
Post by: bretttina on May 06, 2011, 09:13:08 AM
Hi again

OK i now have it , all i had to do was change the permissions to 666 and that was it LOL
Title: Re: Simple Icons & RSS
Post by: MrMike on October 22, 2011, 03:01:39 AM
Very nice mod!

We were using the CBI mod (http://custom.simplemachines.org/mods/index.php?mod=511) and had coded a custom change to to do what yours does (the background color change for new posts) but your mod has the same feature built-in. It's great to see this incorporated into your mod.

We used your mod on the forum at DeltaBravo - Divorce & Custody Help (http://deltabravo.net/forum/) site and it works great. I think we'll be using it on future sites as well as adding it to some existing ones.

Thanks for the great mod package!
Title: Re: Simple Icons & RSS
Post by: cviz on June 06, 2012, 10:22:37 PM
Sorry, but I'm a complete neophyte when it comes SMF. How do I go about changing my board icons?